数据库

本类阅读TOP10

·SQL语句导入导出大全
·Power Designer杂记
·SQL Server日期计算
·常用的oracle函数使用说明(一)
·sqlserver2000数据库置疑的解决方法
·MS SQLServer OLEDB分布式事务无法启动的一般解决方案
·SQL to Excel 的应用
·SQL语句导入导出大全
·Error:ORA-01033:ORACLE initialization or shutdown in progress错误解决
·Oracle中password file的作用及说明

分类导航
VC语言Delphi
VB语言ASP
PerlJava
Script数据库
其他语言游戏开发
文件格式网站制作
软件工程.NET开发
产生10000条连续记录

作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站

产生 10000 条连续记录
PRINT CONVERT(VARCHAR(50), GETDATE(), 21)
select id = a.id + b.id + c.id + d.id + 1
from(
 select id = 0 
 union all select 1 
 union all select 2 
 union all select 3 
 union all select 4 
 union all select 5 
 union all select 6 
 union all select 7 
 union all select 8 
 union all select 9 
 ) a
,(
 select id = 0 
 union all select 10
 union all select 20 
 union all select 30
 union all select 40 
 union all select 50
 union all select 60 
 union all select 70
 union all select 80 
 union all select 90
 ) b
,(
 select id = 0 
 union all select 100
 union all select 200 
 union all select 300
 union all select 400 
 union all select 500
 union all select 600 
 union all select 700
 union all select 800 
 union all select 900
 ) c
,(
 select id = 0 
 union all select 1000
 union all select 2000 
 union all select 3000
 union all select 4000 
 union all select 5000
 union all select 6000 
 union all select 7000
 union all select 8000 
 union all select 9000
 ) d
order by id
PRINT CONVERT(VARCHAR(50), GETDATE(), 21)



相关文章

相关软件




月光软件程序下载编程文档电脑教程网站设计网址导航网络文学游戏天地幽默笑话生活休闲写作范文安妮宝贝
电脑技术编程开发网络专区谈天说地情感世界游戏元素分类游戏热门游戏体育运动手机专区业余爱好影视沙龙
音乐天地数码广场教育园地科学大观古今纵横谈股论金人文艺术医学保健动漫图酷二手专区地方风情各行各业

月光软件站·版权所有