阅读背景:

SQL Server 2000(创建给定日期范围的所有日期)

来源:互联网 

I was wondering if there is a way in SQL Server 2000 to create all dates given a start and end date as a result. I know I can achieve this with T-SQL looping. I am looking for a non looping solution. Also in 2005 you can use the recursive with clause. The solution can also be using a T table that has numbers in it to join with the table. Again I am looking at a SQL Server 2000 non looping/using T tables solution. Is there any?I was wondering if there is a way in SQL Server




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: