根據(jù)已有的表創(chuàng)建新表
創(chuàng)建新表:create table tabname(col1 type1 [not null] [primary key],col2 type2 [not null],..)
根據(jù)已有的表創(chuàng)建新表:
A:create table tab_new like tab_old
B:create table tab_new as select col1,col2… from tab_old definition only
posted on 2008-06-03 16:57 lqx 閱讀(1054) 評(píng)論(2) 編輯 收藏 所屬分類: database