sql获取自增行号

 select row_number() over( order by @@identity) as row
posted @ 2011-12-25 17:03  顿金  阅读(304)  评论(0)    收藏  举报