SQL语句创建相同结构的表

来源:互联网 发布:软件测试技术教程 编辑:程序博客网 时间:2024/05/17 21:40

SQL语句创建相同结构的表

--Oracle的语句
create table sa_salaryRecord as select * from sa_salary where 1=2;

--MSSQL的语句
select * into sa_salaryRecord from sa_salary where 1=2;

0 0
原创粉丝点击