SQL循环语句
2015-05-29 19:49
375 查看
SQL循环语句
declare @i int
set @i=1
while @i<30
begin
select * from QPAccountsDB..AccountsInfo
--insert into test (userid) values(@i)
set @i=@i+1
end
declare @i int
set @i=1
while @i<30
begin
select * from QPAccountsDB..AccountsInfo
--insert into test (userid) values(@i)
set @i=@i+1
end
相关文章推荐
- 从零基础学习数据库之DML语言(二)
- 从零基础学习数据库之DML语言(一)
- 设置mysql root的密码
- 使用heroku开发应用时连接数据库遇到的问题及解决方案
- MySQL数据库命名及设计规范
- MySQL数据库命名及设计规范
- oracle 执行计划顺序是怎么看的
- 数据库事务隔离级别
- 使用MySQL图形化工具Navicat创建表
- navicat连接mysql
- Redis 管理命令
- Linux Memcache 查看列出所有key方法
- 利用SQL server 的复制功能分散用户访问服务器的负载
- Mysql 自动备份与恢复
- SQL必知必会vol.2
- 也谈Oracle异常: ORA-06502: PL/SQL: 数字或值错误 : 字符串缓冲区太小
- Redis 配置文件参数说明
- 查看数据库对象(功能模块)的定义
- service redis does not support chkconfig的解决办法
- service redis does not support chkconfig的解决办法