sql获取自增行号

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