sql语句查询添加自增列

SELECT Row_Number() over
( order by getdate() )
as '序号', * FROM  T_Cod_XQ

原文地址:https://www.cnblogs.com/javawebsoa/p/3194055.html