Privileges on tablespace

Hi all,
A real beginner's question:
I created a tablespace ts_name, and when I try and create my table using the tablespace, I get:
ORA-01950: no privileges on tablespace 'TS_NAME'
Which privileges do I need to setup?
Thanks
Philippe

Please do NOT hijack a thread to ask your own, unrelated questions.
PLEASE, PLEASE, PLEASE, PLEASE learn to check the documentation. The full set of official Oracle documents, including SQL Reference manuals, can be found at tahiti.oracle.com.

Similar Messages

  • Import error IMP-00017 and ORA-01950 no privileges on tablespace

    Hi,
    I am trying to do a full import into a 10.2.0.4 database from a 9.2.0.6 export dumpfile. The tablespaces have already been pre-created. I got this error on one tablespace, and I can't figure out why because I was using SYS to do import, how come SYS doesn`t have this privilege. All objects in other tablespaces were created without this problem.
    - IMP-00017: following statement failed with ORACLE error 1950:
         "CREATE TABLE "FYAERLG" ...
    - ORA-01950: no privileges on tablespace 'INFOTABLES'
    Please help.
    Thanks
    -lixidon

    Who is the owner of "FYAERLG" ?
    Try granting the owner of the table, quota on INFOTABLES tablespace.
    **Added**
    Note [95554.1|https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=95554.1] explains a scenario,which could be the reason for this failure.
    Edited by: Bobcatalog on Jan 8, 2009 12:49 PM

  • ORA-01950: no privileges on tablespace

    I am trying to move 'test' users table as system to a new tablespace 'tbs2'.
    I am getting the above error, however both system and test users have either resource role or unlimited tablespace privilege ?

    Hey,
    ORA-01950: no privileges on tablespace 'string'
    Cause: User does not have privileges to allocate an extent in the specified tablespace.
    Action: Grant the user the appropriate system privileges or grant the user space resource on the tablespace.
    I believe you can find helpful help in URLs below -
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1063989617206
    ( this one regarding : ORA-01950: NO PRVILIGES ON TABLESPACE...)
    and
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:47812348053
    ( this one regarding : move tables from one
    tablespace to another tablespace)
    Best regards,
    Marcello

  • ORA-01950: no privileges on tablespace 'USERS'  - bug?

    (1)you(SYSTEM) create a XE(APEX)-User with DBA privilege and "create table..."
    (2) later SYSTEM revoke the dba (only uncheck the dba)
    he should have even connect, resource, "create table..." ?
    (3) but he can connect, but not create a table:
    ORA-01950: no privileges on tablespace 'USERS'
    => bug?

    granting of `unlimited tablespace' systemprivilege
    when granting DBA or RESOURCE (and may be someother
    roles too?). could you please point me any?Did you know that it has UNLIMITED TABLESPACE system
    privilege, making it able to create any table
    anywhere in the database – including the SYSTEM
    tablespace? "it" - who is "it"? DBA (or RESOURCE) role? but UNLIMITED TABLESPACE can't be granted to a role.
    Obviously, this is not what you want. You
    would want to restrict the tablespaces to specific
    users only...?i want to find where this issue (or feature) is documented.
    PS ouch. in my previous post i ment implicit granting of that system privilege.

  • No privileges on tablespace

    i exported a table from database test to other database through logical backup.
    while importing i am getting error ora-01950-no privileges on table space 'mchtbs'
    the user from which i exported the table default table space is mchtbs.
    i am getting my table imported to the user who has default table space mchtbs
    why this is happening.can any one suggest me
    thanks in advance

    So?
    Isn't this just a quota issue?
    Did you look up the error message?
    Your initial post is so vague, one would need an interpreter to understand it.
    If you would have set up the target user with the correct default tablespace, quota on the default tablespace, and no quota on the original tablespace, it would have worked.
    And obviously, the resolution to ora-1950 has been posted all over the Internet.
    But why would one use a search engine, when you can post the question again?
    Sybrand Bakker
    Senior Oracle DBA

  • ORA 01950 no privileges to tablespace 'system'

    Please help,
    I need to create a table as XX user.
    First, I log in as system/manager
    Second, I grant create table privilege to XX
    Third, I log in as UPS and create a table... (X)
    At this point I get an error 'ORA-01950' no privileges to table space 'SYSTEM'. What should I do next? Should I grant assess to tablespace 'System' for UPS?
    Thanks in advance,
    Sonya

    Change the default and temporary tablespaces of the user to something other than SYSTEM, and grant them an unlimited quota on those tablespaces.

  • Exchange Partition and ORA-01950  no privileges on tablespace

    I am getting an ORA-01950 error on exchanging a partition. The user that is being used has been granted 'Unlimited Tablespace' privilege. I can create tables with the user in question in the tablespace in question but the exchange fails with the 1950 error.
    Anyone have any thoughts?

    No it is not. However the user has select, insert,update and delete on all tables in the schema. Not even SYSTEM can perform this without the same error

  • Help Request: ORA-01950: no privileges on tablespace

    I am a fairly new Oracle DBA. I have a developer who has his own tablespace, and he is getting the error message above when he tries to execute the following script to create a table:
    CREATE TABLE SOA_FWK_VALUE_TRANSLATION
    CONTEXT_ID VARCHAR2(10) NOT NULL,
    TRANSLATION_ID VARCHAR2(10) NOT NULL,
    FROM_QUALIFIER VARCHAR2(30) NOT NULL,
    FROM_VALUE VARCHAR2(250) NOT NULL,
    TO_VALUE VARCHAR2(250)
    , CONSTRAINT SOA_FWK_VALUE_TRANSLATION_PK PRIMARY KEY
    CONTEXT_ID,
    TRANSLATION_ID,
    FROM_QUALIFIER,
    FROM_VALUE
    He has CONNECT as well as CREATE TABLE and CREATE SEQUENCE privledges. What other privledges do I need to grant to him so that he can create his tables and indexes?
    Thank you!

    ORA-01950

  • No privileges on system tablespace?

    I am a new dba & have succesfully created tables and added constraints.
    Today I tried to add a constraint to an existing table, and received the message
    ORA-01950: no privileges on tablespace 'SYSTEM'
    I tried to add the constraint as the owner of the table, as a user with granted privs on the table, and finally as SYS, and get the same error.
    The system tablespace is only about 60% full, and I have not changed any user privs since I last sucessfully added constraints.
    If someone would give me a clue as to what's going on, I would really appreciate it.
    Thanks, Helen

    I granted unlimited tablespace to the user that owns the table, and the constraint was added successfully.
    I don't know if a user should have unlimited tablespace on SYSTEM...any advice on what a good limit would be? My system tablespace is 325 M and about 60% full. Would it make sense to grant sys unlimited tablespace on SYSTEM?
    Thanks very much for your help. You gave me the incentive to keep trying things until something worked.

  • Error no privilege on system tablespace

    Hi all,
    I am trying to do follwing but getting an error
    SQL> connect system/manager@kiran
    Connected.
    SQL> create user my_user
    2 identified by my_user;
    User created.
    SQL> grant create session,create table
    2 to my_user;
    Grant succeeded.
    SQL> connect my_user/my_user@kiran
    Connected.
    SQL> create table my_tab(a number);
    create table my_tab(a number)
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'SYSTEM'
    Can anybody tell me why I am getting this error ???

    SQL> create user test identified by test;
    User created.
    SQL> grant create session,create table to test;
    Grant succeeded.
    SQL> conn test/test
    Connected.
    SQL> create table test_tab(a number);
    create table test_tab(a number)
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'SYSTEM'
    SQL> conn / as sysdba
    Connected.
    SQL> alter user test quota 10M on system;
    User altered.
    SQL> conn test/test
    Connected.
    SQL> create table test_tab(a number);
    Table created.
    SQL>As I said before, this is not the best way, you should define a default tablespace when you create users, e.g.
    SQL> create user test identified by test
      2  default tablespace t_data
      3  temporary tablespace temp;Message was edited by:
    Paul M.
    Message was edited by:
    Paul M.

  • How to grant create table privilege for a user on a specific table

    Hi:
    I created a user, for a test scenario. I granted this user create any table, and I made the default tablespace as example.
    When I connect as the user and try to create a table, I get this:
    SQL> create table T1 (NAME varchar2 (500), AGE number(2));
    create table T1 (NAME varchar2 (500), AGE number(2))
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'EXAMPLE'
    How can I grant the necessary privilege to have user create/delete tables on tablespace example?
    Thanks.
    DA

    create user ADAM identified by radge default tablespace EXAMPLE
    quota 10M on EXAMPLE;
    for example 10Mbytes given to Example tablespace.... or you can write:
    .....quota unlimited on EXAMPLE
    and
    grant connect to ADAM
    grant create table to ADAM .....
    or
    grant connect , resource to ADAM .... although grant resource is not recommended...
    ....and something else....
    you should define temporary tablespace in create user command... otherwise the system would be used...
    Greetings...
    Sim
    Message was edited by:
    sgalaxy

  • Transporting Tablespaces

    All Experts
    I am running oracle 10.2.0.1 on 64bit Microsoft server 2003. I want change database server and trying to transport tableces from one database server to another.
    I have to first create users on new database or not
    what about users's privileges on tablespaces automatically adjusted or i have to manually change it.
    Thanks

    Hi Naeem Sheeraz!
    In an Oracle database the useraccount are stored within the data dictionary. So if you transport a tablespace from one database to another no useraccounts will be automatically created. You have to create them manually before you import the new tablespace. As a workaround you may use REMAP_SCHEMA to import the tablespace into a new schema. To you second question, the granted object privileges will be export with the tablespace and are reimported into the new database.
    I hope that this is what you wanna know.
    yours sincerely
    Florian W.

  • Grant previleges on tablespace to user.

    Hai,
    I have created one tablespace calles detail. I created one user student and set default tablespace of detail.
    But while creating table in student user, it says 'no privileges on tablespace 'detail'.
    How to grant that privilege to user student. Reply ASAP.
    Thanks & Regards,
    Kannan.

    I have created one tablespace calles detail. I created one user student and set default tablespace of detail.
    But while creating table in student user, it says 'no privileges on tablespace 'detail'.
    How to grant that privilege to user student. Reply ASAP.
    Grant user student access to use all space in the detail tablespace:
    ALTER USER student QUOTA UNLIMITED ON detail;
    Prevent user student from using space in the system tablespace:
    ALTER USER student QUOTA 0 ON system;

  • Create new table on new tablespace

    new (downloaded - non-licensed) 8i install.
    create new database
    connect to new database (as both sys,system, and new user with just connect priv - as both normal and sysdba)
    create new tablespace
    create new table - schema is the new user,
    tablespace is the new tablespace,
    error - ORA-01950: no privileges on tablespace 'TS2' (new tablespace)
    How do I set privileges to allow this?

    Hi
    Use this command
    alter user username
    quota 50M on tablespace_name;
    Hope this will work.
    Thanks and regards
    Sarju Patel
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jim Connors ([email protected]):
    new (downloaded - non-licensed) 8i install.
    create new database
    connect to new database (as both sys,system, and new user with just connect priv - as both normal and sysdba)
    create new tablespace
    create new table - schema is the new user,
    tablespace is the new tablespace,
    error - ORA-01950: no privileges on tablespace 'TS2' (new tablespace)
    How do I set privileges to allow this?<HR></BLOCKQUOTE>
    null

  • Viewing privileges for a Role

    Hi ,
    I have a role R.
    I want to see what privileges have been granted to this Role R.
    Where should i query?
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    "CORE    11.2.0.3.0    Production"
    TNS for Solaris: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production

    Hi, whilst this response does not directly answer your question, it will give you a greater ability to answer questions such as these for yourself without having to wait for someone else to post the solution for you.
    SELECT *
    FROM dict
    WHERE table_name LIKE '%ROLE%';
    DICT is a view that allows you to see the names (and minor details) of all the data dictionary tables (the sort of place you will find the tables pertaining to roles, privileges, tables, tablespaces etc etc etc)
    Give it a try, and pass different values into the search string too.

Maybe you are looking for

  • Can't synch blackberry & ibook

    I have been synching my blackberry 7250 to a pc running outlook and now want to switch to my ibook with ical and apple mail. I have installed pocket mac, and run synch clean, and am connecting via usb. Isync appears to synch the devices but it runs v

  • Java + creating a locally savable form

    I have been searching quite a bit for this answer but have been unable to find it. I need to be able to create a PDF form with java and be able to enable the user to save a completed copy of the form. I have looked at other SDK and they all seem to l

  • Group membership from AD

    Does anybody have any advice on how to properly set up a LiveCycle domain to allow group membership to work correctly? Our domain appears to be properly configured to retrieve our users and groups from Active Directory through LDAP. However, groups a

  • How do I keep Photoshop from opening the Help Window???

    I have been using Photoshop and the Help window keeps opening in a browser window. This happens for me when I double click the layer styles in the layer editor, and it happens at work once a week or every other week. Hoped there was a fix for this...

  • Export With Same Pixel Size Not Possible?

    I'm exporting two photos from Aperture to another program for the purpose of creating one panoramic picture. However, the other program (PFactory) only allows the stitching of photos with the exact same pixels and no matter how I try to export both p