四时宝库

程序员的知识宝库

复制数据表 create table和 insert into table

复制数据表create tableselect from 和 insert into table select from区别

两者都是用来复制表,两者的主要区别为:

create table select from 要求目标表不存在,因为在插入时会自动创建。

insert into table select from 要求目标表存在,相当于复制插入。

发表评论:

控制面板
您好,欢迎到访网站!
  查看权限
网站分类
最新留言
    友情链接