1,
create temporary tablespace create temporary tablespace LUCKCART_TEMP
tempfile 'E:\oracle\app\oradata\orcl\LUCKCART_TEMP.dbf'
size 32m
autoextend on
next 32m maxsize 2048m
extent management local;
2,
create tablespace create tablespace LUCKCART
logging
datafile ' E:\oracle\app\oradata\orcl\LUCKCART_001.dbf'
size 100m
autoextend on
next 32m maxsize 2048m
extent management local;
3, create a user and specify a tablespace
create user luckcart identified by luckcart default tablespace LUCKCART temporary tablespace LUCKCART_TEMP;
4,//Grant all permissions of the DBA role to the message user
GRANT DBA TO luckcart;
5, grant permissions to the user
grant connect,resource to luckcart; (db2: specify all permissions)