SQL问题大家来看
来源:百度知道 编辑:UC知道 时间:2024/05/17 19:46:49
IN 子句可用于向另一个数据库中拷贝表语法
select into aaa in 'aa.mdf' from bbb
这个问题
select into aaa in 'aa.mdf' from bbb
这个问题
into子句吧!
select * into 表A from 表B
这样是将表B的所有数据拷贝到表A
---------------------------------
只想拷贝表结构,不拷贝数据的话
select * into 表A from 表B where 1<>1
select * from aa.dbo.bbb
into aaa(...)
即可