sql复制表结构

来源:互联网 发布:sql 登录名 查询密码 编辑:程序博客网 时间:2024/05/21 11:13

select * into newtablename from oldtablename where 1=2

 

复制表结构

 

如果说想要数据的话:

 

select * into newtablename from oldtalbename