lqxue

          常用鏈接

          統(tǒng)計(jì)

          book

          tools

          最新評(píng)論

          根據(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

          評(píng)論

          # re: 根據(jù)已有的表創(chuàng)建新表 2008-06-03 17:26 懶人

          你like完舊表以后,新表的字段和它的相關(guān)屬性是不是直接搬過(guò)來(lái)了?  回復(fù)  更多評(píng)論   

          # re: 根據(jù)已有的表創(chuàng)建新表 2008-06-03 19:50 me

          對(duì)  回復(fù)  更多評(píng)論   

          主站蜘蛛池模板: 宝山区| 曲沃县| 高阳县| 孙吴县| 阿图什市| 上犹县| 化德县| 原阳县| 台江县| 林甸县| 安图县| 瓦房店市| 四子王旗| 黑水县| 井冈山市| 陆川县| 惠安县| 临朐县| 龙井市| 寻甸| 西宁市| 易门县| 望奎县| 广安市| 章丘市| 广灵县| 百色市| 东乌| 永春县| 澄迈县| 玛曲县| 饶河县| 隆回县| 大关县| 伊吾县| 车险| 依兰县| 望江县| 平和县| 乌兰浩特市| 上高县|