请教怎么在在查询的结果前加一序列?? select id=identity(int,1,1),* into #t from 表select * from #tdrop table #t 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select id=identity(int,1,1),* into #tfrom tablename select * from #tdrop table #t select id=identity(int,1,1),* into #t from 表select * from #tdrop table #t select identity(int,1,1) as id,* into #tfrom tablename select * from #tdrop table #t select identity(int,1,1) as ID,* from table 怎么阻止别人连接我的sql server?急!!! 打开数据库的表的时候,返回所有行 出现 “灾难性故障”是什么回事? 请教一个SQL语句,如何删掉字段内包含的值? 关于数据库设计问题? 关于差异备份的问题 求取表中某记录中一个数值型数据的排名 郁闷,邹老大说得重装系统,散分~~ 急--关于删除数据库表中记录 很痛苦的问题~~~~大家来帮忙啊~~~~~~~~~ 关于单据流转在数据库端一般是如何实现的? 在winxp_sp2中不能装sql server 2000 dev??? 遞歸的使用
from tablename select * from #tdrop table #t
select * from #t
drop table #t
from tablename select * from #tdrop table #t