sqlserver中用select * into newtable from oldtable where 1=0
oracle和mysql中用create table newtable as select * from oldtable where 1=0
db2:create table newtable like oldtable
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10678339/viewspace-538060/
,如需转载,请注明出处,否则将追究法律责任。