課程
/數(shù)據(jù)庫
/Oracle
/Oracle存儲過程和自定義函數(shù)
視頻中提出的emp表 中有哪些字段? 有沒有創(chuàng)建表時的sql 語句?
2019-05-29
源自:Oracle存儲過程和自定義函數(shù) 2-2
正在回答
解鎖scott用戶后自帶表。
? CREATE TABLE "SCOTT"."EMP"?
? ?( "EMPNO" NUMBER(4,0),?
"ENAME" VARCHAR2(10 BYTE),?
"JOB" VARCHAR2(9 BYTE),?
"MGR" NUMBER(4,0),?
"HIREDATE" DATE,?
"SAL" NUMBER(7,2),?
"COMM" NUMBER(7,2),?
"DEPTNO" NUMBER(2,0),?
CONSTRAINT "PK_EMP" PRIMARY KEY ("EMPNO")
? USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS?
? STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
? PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
? TABLESPACE "USERS"? ENABLE,?
CONSTRAINT "FK_DEPTNO" FOREIGN KEY ("DEPTNO")
? REFERENCES "SCOTT"."DEPT" ("DEPTNO") ENABLE
? ?) SEGMENT CREATION IMMEDIATE?
? PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
? TABLESPACE "USERS" ;
scott 用戶下自帶表
舉報
Java開發(fā)重要課程,Oracle數(shù)據(jù)庫開發(fā)工程師的加薪利器
2 回答emp表的comm是按月還是按年?
1 回答創(chuàng)建存儲函數(shù)出錯
2 回答那位大佬幫我看下哪里錯了創(chuàng)建完就報錯
1 回答如何在oracle使用sql執(zhí)行含包的存儲過程
2 回答創(chuàng)建的存儲過程顯示紅叉
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學習伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2019-07-10
解鎖scott用戶后自帶表。
? CREATE TABLE "SCOTT"."EMP"?
? ?( "EMPNO" NUMBER(4,0),?
"ENAME" VARCHAR2(10 BYTE),?
"JOB" VARCHAR2(9 BYTE),?
"MGR" NUMBER(4,0),?
"HIREDATE" DATE,?
"SAL" NUMBER(7,2),?
"COMM" NUMBER(7,2),?
"DEPTNO" NUMBER(2,0),?
CONSTRAINT "PK_EMP" PRIMARY KEY ("EMPNO")
? USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS?
? STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
? PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
? TABLESPACE "USERS"? ENABLE,?
CONSTRAINT "FK_DEPTNO" FOREIGN KEY ("DEPTNO")
? REFERENCES "SCOTT"."DEPT" ("DEPTNO") ENABLE
? ?) SEGMENT CREATION IMMEDIATE?
? PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
? STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
? PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
? TABLESPACE "USERS" ;
2019-06-05
scott 用戶下自帶表