求一SQL的写法 select id=identity(int,1,1),* into #t from tablenameselect * from #t 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 按自然数自增长用: identify(1,1) 用视图(是虚表而已)吧 先建立再删除create view tempviewasselect id=identity(1,1),* into #tfrom tablenameselect * from tempviewdrop view tempview 求一数据库函数 求SQL SQL 循环增加插入表 department表select问题 SQL 2000 个人版能不能建发布和订阅服务器,能不能选择其他服务器1 如何更新表customer里字段handleman的值为'jack',条件是当handleman没有值的记录.... win7中AdoConnection断开后连接字符串里面就找不到password了 sql insert语句往数据库插入数据出错 VFP学习表单问题 SQL Server版转到Oracle,难不难???如何做??? 一个数据累加问题 SQL SERVER2000安装中的授权模式选择?
先建立再删除
create view tempview
as
select id=identity(1,1),*
into #t
from tablename
select * from tempviewdrop view tempview