以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  sql语句转换  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=80540)

--  作者:jaegea
--  发布时间:2016/1/25 20:21:00
--  sql语句转换
怎样将这句以下SQL2005语句转成SQL2000能执行的语句,因为Row _Number函数只有2005才有,2000执行不了变得不通用
S e lect * From (Se le ct Row_Number() Over(Order by [_Identify] Desc) As 行號, * From Table1) As a 

--  作者:大红袍
--  发布时间:2016/1/25 23:42:00
--  

只能用存储过程。

 

http://www.cnblogs.com/freeliver54/archive/2006/12/31/608858.html