lqxue

          常用鏈接

          統計

          book

          tools

          最新評論

          根據已有的表創建新表

          創建新表:  
          create table tabname(col1 type1 [not null] [primary key],col2 type2 [not null],..)  
          根據已有的表創建新表:  
          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 閱讀(1046) 評論(2)  編輯  收藏 所屬分類: database

          評論

          # re: 根據已有的表創建新表 2008-06-03 17:26 懶人

          你like完舊表以后,新表的字段和它的相關屬性是不是直接搬過來了?  回復  更多評論   

          # re: 根據已有的表創建新表 2008-06-03 19:50 me

          對  回復  更多評論   

          主站蜘蛛池模板: 怀仁县| 措勤县| 峨眉山市| 石景山区| 辛集市| 山阴县| 南投县| 陵川县| 夏河县| 乐业县| 汝南县| 来安县| 吐鲁番市| 哈巴河县| 浏阳市| 侯马市| 金川县| 江津市| 历史| 汕尾市| 华安县| 筠连县| 怀来县| 夏津县| 宜宾县| 陵川县| 临泉县| 登封市| 县级市| 天祝| 沁水县| 闵行区| 阳朔县| 织金县| 云阳县| 新津县| 长汀县| 达拉特旗| 体育| 永平县| 潢川县|