难道只能top 60000,再删了60000,再top60000么?
解决方案 »
- 送分请教一个比较简单的语句
- MSSQL的text字段可以插入多大字节的内容?
- 大家帮帮我!(急,在线等)
- 仅有的80提出问题,导入数据
- 高分求救一个SQL语句
- 求救!怎样解决“实时错误 -2147467259(80004005):[microsoft][odbc sqlserver driver][name:pipes]"
- 如何备份SQLSERVE某个数据库中特定的表?有分
- help!!!(online)
- 怎麼樣才能做到多個字段關聯一個字
- 兄弟们,看看,有没有办法。触发器跨库操作数据。)
- 怎样才能做到SQL server和自己的程序一起发布?(怎样才能做到SQL Server集成到VB安装程序)在别的电脑上不用独立在安装SQL server.谢谢
- 在企业管理器创建一存储过程,查询分析器执行慢。。。
刚学sql,一点头绪都没
alter table tablename
add id int identity(1,1)
select top 60000 * into .....
select * into .... from tablename where id between 60001 and 12000
select * into .... from tablename where id>12000
select top 60000 * from tablename where 主鍵 not in (select top 6000 主鍵 from tablename)
我好像也不要精确的导出60000,这样可以了
死在top这个牛角尖了。。不好意思