我想在使用Oracle的SQLFiddle中創建一個表,我想指定該表所屬的架構。SQLFiddle - Oracle 11g - 無法創建架構
但是,我正在艱難地製作架構。由於給定的代碼如下:
CREATE USER myname
IDENTIFIED BY pwd4myname
DEFAULT TABLESPACE tbs_perm_01
TEMPORARY TABLESPACE tbs_temp_01
QUOTA 20M on tbs_perm_01;
GRANT create session TO myname;
GRANT create table TO myname;
GRANT create view TO myname;
GRANT create any trigger TO myname;
GRANT create any procedure TO myname;
GRANT create sequence TO myname;
GRANT create synonym TO myname;
CREATE TABLE myname_schema.person (
person_id NUMBER(5) PRIMARY KEY,
name VARCHAR2(15) NOT NULL,
phone NUMBER(9),
address VARCHAR2(10),
);
運行此我得到:
ORA-01031:權限不夠
這不是SQLFiddle的用途。沙箱不是那麼大。 – sstan