如何使用T-SQL爲增量值1至4編號有序集(按日期時間值排序)?我希望結果如下所示。提前致謝。TSQL對訂購集編號
1/1/2011 1
1/2/2011 2
1/3/2011 3
1/4/2011 4
1/5/2011 1
1/6/2011 2
1/7/2011 3
1/8/2011 4
1/9/2011 1
1/10/2011 2
1/11/2011 3
1/12/2011 4
1/13/2011 1
1/14/2011 2
1/15/2011 3
1/16/2011 4
1/17/2011 1
1/18/2011 2
1/19/2011 3
1/20/2011 4
Off this topic to this question but [your question here](http://dba.stackexchange.com/questions/6724/drop-duplicateredundant-unique-constraint-from-filestream-table/9723#9723)被遷移並回答。 [dba.se] –