掃二維碼與項(xiàng)目經(jīng)理溝通
我們?cè)谖⑿派?4小時(shí)期待你的聲音
解答本文疑問/技術(shù)咨詢/運(yùn)營(yíng)咨詢/技術(shù)建議/互聯(lián)網(wǎng)交流
Oracle創(chuàng)建表和索引的語句寫法是比較基礎(chǔ)的知識(shí),下面就為您詳細(xì)介紹Oracle創(chuàng)建表和索引的方法,希望對(duì)您學(xué)習(xí)Oracle創(chuàng)建表方面能有所幫助。

成都創(chuàng)新互聯(lián)公司-專業(yè)網(wǎng)站定制、快速模板網(wǎng)站建設(shè)、高性價(jià)比汶上網(wǎng)站開發(fā)、企業(yè)建站全套包干低至880元,成熟完善的模板庫(kù),直接使用。一站式汶上網(wǎng)站制作公司更省心,省錢,快速模板網(wǎng)站建設(shè)找我們,業(yè)務(wù)覆蓋汶上地區(qū)。費(fèi)用合理售后完善,十年實(shí)體公司更值得信賴。
Oracle創(chuàng)建表
- create table tablename
- (
- f1 NUMBER(10) not null,
- f2 NUMBER(10) null ,
- f3 NUMBER(3) defalut 0,
- pt number(3) not null ,
- constraint PK_tablename primary key (f1)
- using index
- tablespace ts_name
- storage
- (
- initial 1m
- next 1m
- pctincrease 0
- )
- )
- pctfree 10
- tablespace ts_name
- storage
- (
- initial 1m
- next 1m
- pctincrease 0
- )
- partition by range(pt)
- (partition part000 values less than (1) tablespace ts_name,
- partition part001 values less than (2) tablespace ts_name,
- )
- /
創(chuàng)建索引
- create index i_tablename1 on tablename(f2)
- tablespace ts_name
- storage
- (
- initial 500k
- next 500k
- pctincrease 0
- )
【編輯推薦】
教您如何實(shí)現(xiàn)Oracle重建索引
Oracle COMMIT語句的處理順序介紹
全面解析Oracle文件系統(tǒng)
當(dāng)前Oracle系統(tǒng)時(shí)間的查詢方法
ORACLE系統(tǒng)表和數(shù)據(jù)字典視圖

我們?cè)谖⑿派?4小時(shí)期待你的聲音
解答本文疑問/技術(shù)咨詢/運(yùn)營(yíng)咨詢/技術(shù)建議/互聯(lián)網(wǎng)交流