Grant Create Table Help!!!

Posted on 2006-04-26
Last Modified: 2007-12-19
I create a tablespace and a user with limited priveliges, but when I connect as that user, it says that I do not have priveliges on that tablespace in order to create a table.  Help me!  Here's the code:

SQL> create tablespace part3
  2  datafile 'part3.dbf' size 2M;

Tablespace created.

SQL> create user johnny1
  2  identified by buttface
  3  default tablespace part3;

SQL> grant create session to johnny1;

Grant succeeded.

SQL> grant create table to johnny1;

Grant succeeded.

SQL> grant create sequence to johnny1;

Grant succeeded.

SQL> conn johnny1@orcl/buttface;

SQL> create table sale1 (snum INTEGER NOT NULL, did integer, itemid integer, sqty integer);
create table sale1 (snum INTEGER NOT NULL, did integer, itemid integer, sqty integer)
ERROR at line 1:
ORA-01950: no privileges on tablespace 'PART3'

Please help me out!
Question by:campbe07
    1 Comment
    LVL 2

    Accepted Solution

    alter user johnny1
    quota unlimited on part3;


    grant resource to johnny1;


    if u don't want to give unlimited, then u can assign according to this user (1k to whatever u want)

    hope this helps!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
    I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
    This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
    This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now