You are on page 1of 1

**************************************************************

***** The following statements can be executed in the SQL *PLUS tool,
***** via an Oracle ADMIN login.
***** Alternatively, log into SQL *PLUS as a normal user (eg SCOTT)
***** and then at the SQL prompt login as 'sys' by using the follow command:
***** CONNECT sys/<pwd>@<Conn_Str> AS sysdba
**************************************************************
***********CREATING TABLESPACE CAR_RENTAL******************
CREATE TABLESPACE INV_SYS
DATAFILE 'INV_SYS.dat' SIZE 50M
DEFAULT STORAGE(
INITIAL 10K Next 50K
MINEXTENTS 1 MAXEXTENTS 999
PCTINCREASE 10
)
ONLINE;
************CREATING USER DBA_SCT*****************
CREATE USER "DBA_SCT"
PROFILE "DEFAULT"
IDENTIFIED BY "sct2306"
DEFAULT TABLESPACE "INV_SYS"
TEMPORARY TABLESPACE "TEMP"
ACCOUNT UNLOCK;
************GRANTING PERMISSIONS TO DBA_SCT**************
GRANT "DBA" TO "DBA_SCT" WITH ADMIN OPTION;

You might also like