Changes between Initial Version and Version 1 of Ticket #12, comment 1
- Timestamp:
- 10/11/2012 02:16:08 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12, comment 1
initial v1 2 2 - 使用SQL语句,只针对mysql (1=2表示只要结构不要数据) 3 3 {{{ 4 create table if not exist 表名 select * from 被复制的表 where 1=24 create table if not exists 表名 select * from 被复制的表 where 1=2 5 5 }}} 6 6 - 发现上面的做法没有索引等信息,修改为 7 7 {{{ 8 create table if not exist 表名 like 被复制的表8 create table if not exists 表名 like 被复制的表 9 9 }}}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)