怎样在存储过程中为检索到的数据行编上序号 select identity(int,1,1) as NO,* into #t from table where .....order by ...select * from #t 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 回复人: j9988(j9988) ( ) 信誉:323 2003-01-11 10:06:00 得分:0 select identity(int,1,1) as NO,* into #t from table where .....order by ...select * from #t 哈哈!楼上连j9988都拷贝下来了!select IDENTITY(int, 1,1) AS ID_Num,* into #temp from 表select * from #temp where ID_Num>10 and ID_Num<=20 关于存储过程中的IF 、Else的嵌套问题 假如某个字段有多项内容,如何处理? 哪位能提供一个SQL server的安装啊 sqlserver 中取当前日期的函数 关于sql 统计每月产品的访量问题 事件探查器 profiler 看看这条SQL语句 更新日期字段出错,急死了在线等 有关select和SUM的查询 又是问题,郁闷,大家帮忙,我的程序就差这点了 客户和服务器联接问题? 我老问题.
select identity(int,1,1) as NO,* into #t from table where .....order by ...select * from #t
select * from #temp where ID_Num>10 and ID_Num<=20