หน้าแรก > Oracle > Create User

Create User


SQL> create user newuser identified by newuser default tablespace users temporary tablespace temp;

User created.

SQL> grant connect to newuser;
SQL>
Grant succeeded.

SQL> create table t(x int);
create table t(x int)
*
ERROR at line 1:
ORA-01950: no privileges on tablespace ‘USERS’

SQL> connect /
Connected.
SQL> alter user newuser quota unlimited on users;

User altered.

SQL> connect newuser/newuser
Connected.
SQL> create table t(x int);

Table created.

Oracle

หมวดหมู่:Oracle
  1. ยังไม่มีความเห็น
  1. No trackbacks yet.

ใส่ความเห็น

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Google+ photo

You are commenting using your Google+ account. Log Out / เปลี่ยนแปลง )

Connecting to %s

%d bloggers like this: