oracle备忘

创建数据库:

CREATE TABLESPACE TEST datafile
'test.dbf' size 100M AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED default storage (initial 128K next 2M  pctincrease 0);

创建用户:

CREATE USER "RAV2" IDENTIFIED BY "RAV2" DEFAULT TABLESPACE "RAV2";

赋予权限
GRANT "CONNECT" TO "RAV2";
GRANT "RESOURCE" TO "RAV2";


连接
CONNECT RAV2/RAV2;

plsql常设的字符集:
set nls_lang=simplified chinese_china.zhs16cgb231280
set nls_lang=simplified chinese_china.ZHS16GBK
set nls_lang=simplified chinese_china.Utf8  

你可能感兴趣的:(oracle,数据库,职场,备忘,休闲)