Blogger Information
Blog 19
fans 0
comment 1
visits 43844
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
mysql中复制表
好想睡懒觉的博客
Original
961 people have browsed it

注: like 创建出来的新表包含源表的完整表结构和索引信息

as创建出来的t2表(新表)缺少t1表(源表)的索引信息,只有表结构相同,没有索引

like -----   create table db_note(新表)  like  note('源表');

as ------    create table t2 as select * from t1 where 1=2;

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post