标签:创建 表结构 HERE creat sel his nbsp create tor
--创建无数据但表结构相同的表
create table ASRS_TASKDETAIL_LV_HISTORY as select * from ASRS_TASKDETAIL_LV where 1=0
--如果要复制相应的数据就改where条件,这个语句复制了源表的字段数量、顺序、类型、是否可为空。
create table ASRS_TASKDETAIL_LV_HISTORY as select * from ASRS_TASKDETAIL_LV
标签:创建 表结构 HERE creat sel his nbsp create tor
原文地址:https://www.cnblogs.com/youyou6666/p/14933951.html