create table dest-tablename as select * from source-tablename where 1=2;
SELECT * into dest-tablename from source-tablename
where 0=1
where 0=1
select top 0 * into dest_table from source_table
本文介绍了一种使用SQL语句创建空表的方法,通过特定条件确保表中不会包含任何数据,适用于多种数据库系统。
7773
5357
1万+
1071
8647
2984

被折叠的 条评论
为什么被折叠?
