关于SQL语句问题 select top 0 * into tab_new from tab_old 或select * into tab_new from tab_old where 1=2 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * into newtb from oldtb 带数据.select * into newtb from oldtb where 1 = 2 不带数据. 复制表结构和数据:select * into 目的表 from 源表只复制表结构:select top 0 * into 目的表 from 源表 我的意思是为什么create table tab_new like tab_old 不行,原因? create table tab_new like tab_old ------------------------只能说语法四不像!!! select * into newtb from oldtb 带数据.select * into newtb from oldtb where 1 = 2 不带数据.好象复制不了主键 默认值什么的 select * into tab_new from tab_old 没分了,请教一个简单的SQL语句 问数据库镜象问题 各位能给本鲨讲解下SQL查询分析器的统计的结果 高手们,请帮帮忙!!!我想要得到这样的视图可不可以实现??? 这个存储过程怎么写 求一条SQL语句 当我们把字段设为自动填值时,它的最大值是多少?当达到最大值时sqlserver又怎么处理? 请问如何获得表中id递增数据的最大编号(id) 数据库类型问题? 怎么样(用Delphi,不用也可以)才能将SQL SERVER2000中的表中字段描述取出? 急,加急 怎样统计时间??请高手帮忙。
select * into newtb from oldtb where 1 = 2 不带数据.
复制表结构和数据:
select * into 目的表 from 源表只复制表结构:
select top 0 * into 目的表 from 源表
create table tab_new like tab_old
不行,原因?
------------------------
只能说语法四不像!!!
select * into newtb from oldtb where 1 = 2 不带数据.
好象复制不了主键 默认值什么的