江东区教育局,飞七,一路向西迅雷下载
insert into targettablename select columns from sourcetablename;
select columns into newtablename from sourcetablename where whereexpression ;
注意:
该语句只能复制表的结构。该语句不会创建和复制源相同的主键、索引、约束和触发器。
insert into targettablename select columns from sourcetablename;
create table newtablename as select columns from sourcetablename where whereexpression;
注意:
该语句只能复制表的结构。该语句不会创建和复制源相同的主键、索引、约束和触发器。
insert into targettablename select columns from sourcetablename;
create table targettable like sourcetable; create table newtablename as (select columns from sourcetablename where whereexpression);
注意:
该语句只能复制表的结构。该语句不会创建和复制源相同的主键、索引、约束和触发器。
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
数据库SQL---数据库、基本表、视图、索引的定义、修改、删除
在 Azure CentOS VM 中配置 SQL Server 2019 AG - (上)
在 Azure CentOS VM 中配置 SQL Server 2019 AG - (下)
网友评论