Insufficient privileges/can not grant to create tables

I have just created database..
Connected as SYS I tried to Create user/schema as following:
CREATE USER "xsales" PROFILE "DEFAULT" IDENTIFIED BY "*******" ACCOUNT UNLOCK
GRANT "CONNECT" TO "ABDO"
Trying to create tables I recieved:
Failed to commit: ORA-01950: no privileges on tablespace 'USERS'
Then I tried to grant CREATE ANY TABLES to the user xsales to enable it to
run the script of create tables,but I recieved
ORA-01917: user or role 'abdo' does not exist
although I connected with xsales succefully
Can anyone help?

the user name is correct .....
I ran the following script succefully:
CREATE USER xsales PROFILE "DEFAULT" IDENTIFIED BY "********" ACCOUNT UNLOCK;
GRANT "CONNECT" TO xsales;
GRANT ALTER ANY CLUSTER TO XSALES;
GRANT ALTER ANY DIMENSION TO XSALES;
GRANT ALTER ANY INDEX TO XSALES;
GRANT ALTER ANY INDEXTYPE TO XSALES;
GRANT ALTER ANY MATERIALIZED VIEW TO XSALES;
GRANT ALTER ANY PROCEDURE TO XSALES;
GRANT ALTER ANY TABLE TO XSALES;
GRANT ALTER TABLESPACE TO XSALES;
GRANT ALTER USER TO XSALES;
GRANT ANALYZE ANY DICTIONARY TO XSALES;
GRANT CREATE ANY CLUSTER TO XSALES;
GRANT CREATE ANY DIMENSION TO XSALES;
GRANT CREATE ANY INDEX TO XSALES;
GRANT CREATE ANY INDEXTYPE TO XSALES;
GRANT CREATE ANY MATERIALIZED VIEW TO XSALES;
GRANT CREATE ANY PROCEDURE TO XSALES;
GRANT CREATE ANY TABLE TO XSALES;
GRANT CREATE ANY VIEW TO XSALES;
GRANT CREATE CLUSTER TO XSALES;
GRANT CREATE DATABASE LINK TO XSALES;
GRANT CREATE DIMENSION TO XSALES;
GRANT CREATE INDEXTYPE TO XSALES;
GRANT CREATE MATERIALIZED VIEW TO XSALES;
GRANT CREATE PROCEDURE TO XSALES;
GRANT CREATE PUBLIC DATABASE LINK TO XSALES;
GRANT CREATE TABLE TO XSALES;
GRANT CREATE TABLESPACE TO XSALES;
GRANT CREATE USER TO XSALES;
GRANT CREATE VIEW TO XSALES;
GRANT DELETE ANY TABLE TO XSALES;
GRANT DROP ANY CLUSTER TO XSALES;
GRANT DROP ANY DIMENSION TO XSALES;
GRANT DROP ANY INDEX TO XSALES;
GRANT DROP ANY INDEXTYPE TO XSALES;
GRANT DROP ANY MATERIALIZED VIEW TO XSALES;
GRANT DROP ANY PROCEDURE TO XSALES;
GRANT DROP ANY TABLE TO XSALES;
GRANT DROP ANY VIEW TO XSALES;
GRANT DROP PUBLIC DATABASE LINK TO XSALES;
GRANT DROP TABLESPACE TO XSALES;
GRANT DROP USER TO XSALES;
GRANT EXECUTE ANY INDEXTYPE TO XSALES;
GRANT EXECUTE ANY PROCEDURE TO XSALES;
GRANT EXPORT FULL DATABASE TO XSALES;
GRANT GLOBAL QUERY REWRITE TO XSALES;
GRANT GRANT ANY OBJECT PRIVILEGE TO XSALES;
GRANT GRANT ANY PRIVILEGE TO XSALES;
GRANT IMPORT FULL DATABASE TO XSALES;
GRANT INSERT ANY TABLE TO XSALES;
GRANT LOCK ANY TABLE TO XSALES;
GRANT MANAGE SCHEDULER TO XSALES;
GRANT MANAGE TABLESPACE TO XSALES;
GRANT QUERY REWRITE TO XSALES;
GRANT SELECT ANY DICTIONARY TO XSALES;
GRANT SELECT ANY TABLE TO XSALES;
GRANT SELECT ANY TRANSACTION TO XSALES;
GRANT SYSDBA TO XSALES;
GRANT CREATE SESSION TO XSALES;
GRANT UPDATE ANY TABLE TO XSALES;
Then I logged as XSALES to try to CREATE TABLES, still I got:
SQL> CONN XSALES/**********@ORACLE
Connected.
SQL> CREATE TABLE PROD(ID number(6));
CREATE TABLE PROD(ID number(6))
ERROR at line 1:
ORA-01950: no privileges on tablespace 'USERS'
How I can solve that?

Similar Messages

  • Insufficient privilege: Can't export objects in schema..user has no privilege on the underlying objects

    I'm using SYSTEM user but
    HDBSTUDIO continues on triggering this error when I try to export the catalog:
    SAP DBTech JDBC: [258]: insufficient privilege: Can't export objects in schema DARTEL_TRANSPORTES. Can't export procedure DARTEL_TRANSPORTES.PAL_TRIPLE_SMOOTH_WRAPPER. user has no privilege on the underlying objects
    When trying to grant the SYSTEM user to that particular object  I get a new error : Could not modify user 'SYSTEM'. Several issues occurred
    Have anyone have struggled with this error before, any help will be highly appreciated
    Kind Regards

    rev 69 too
    tomorrow I will have the webex and let you know
    Something happenned after my customer change the suse's server IP, I had to perform a re-installation of SAP Business One only
    We were supposed to install using the hostname but no one of the installers let me use the hostname
    so it Kind of forced me to use the IP.
    After asking Support about that one of the specialists told me that he prefers to use IP instead of the hostname. So I used IP.
    Maybe this changed something I cannot detect yet. but tomorrow we'll see.
    KR

  • Why in SE16 we can not  see New Data Table for standard DSO

    Hi,
    We says that there is three tables (New Data Table, Active Data Table and Change Log Table) of Standard DSO, Then Why in SE16 we can not  see New Data Table of Standard DSO.
    Regards,
    Sushant

    Hi Sushant,
    It is possible to see the 3 DSO tables data in through SE16. May be you do not have authorization to see data through SE16.
    Sankar Kumar

  • I can not open files created in iWork 6 or iWork 8 with pages 5.2. I removed the older versions and emptied my trash.  what to do?

    i can not open files created in iWork 6 or iWork 8 with pages 5.2. I removed the older versions and emptied my trash.  what to do?

    Reinstall iWork '08 which can export to Word .doc/x files.
    Peter

  • Can not edit or create new power points since installing Yosemite.

    I can not edit or create new power points since installing Yosemite.  I can open and run the power points I have previously created but every time I try and edit or create a new power point it simple comes up with this
    Also when I open the font drop down menu all the font names are in Chinese

    Have you run all the office updates? We have to assume this is a proper copy of Office 11 of course and not one 'from Hxxx-Kxxx'. I  would also consider re-installing Yosemite-something is screwy on your installation of something if its picking up China..unless of course it is true that the Chinese have been hacking into iTunes and are secretly trying to make you into an agent of the state..you will speak Mandarin..you will speak Mandarin  

  • Can use JDBC to create table in the database?

    other than select, insert, update, delete the record set
    I want to know can I use the JDBE to create table.

    As far as i know you can use 'CREATE TABLE' to create tables.
    Use it in an cn.execute() or cn.executeUpdate().
    I'm not sure about the complete syntax for CREATE TABLE, since you also need to define you fields etc. Try looking on the net for an SQL manual.
    Greetz..

  • Using an NT user with DBA privileges does not permit to create schema : why ?

    Hi,
    I use an Oracle 8 on an Windows NT server.
    I have two NT users with DBA privileges.
    But, when I use the migration workbench to create the oracle schema, my users are not granted.
    Why ?
    Regards.
    Pascal

    Please clarify your problem.
    The workbench creates users (which are visible in the oracle model within the tool) with the password oracle .
    I am not sure if you are asking about accessing the database using your OS user identity, or have you found that the users exist but do not have dba privileges.
    Turloch
    Oracle Migration Workbench Team
    null

  • Can not update data in table view

    When i open a table from a connection in the connection navigator i can not alter the data in it... I can only add new rows. Is there a setting so i can alter the data?
    My user has update rights because when i write my own update statement and execute it, it works fine.

    I found the issue... You can do it in 10g but you have to define a PK on the table, otherwhise he does not know what row to update. When i added a PK i could edit the data in Jdev in data view.

  • Why I can not insert into a table?

    Hi, all,
    I have a table "personstudy" with records already. Its primary key is "subjectid". and I have added a new column named "personstatus" varchar2(20) to it. After that, I want to insert into the field with "enrolled" for all records there. My script is like this:
    insert into personstudy (personstatus) values ('enrolled');
    the system reports:
    ERROR at line 1:
    ORA-01400: cannot insert NULL into ("FLOWLIMS"."PERSONSTUDY"."SUBJECTID")
    I just can not understand it. Is there any wrong with my script?
    Thank you!
    Qian

    maybe want you need is not insert a new rows but to update the existing records to have the 'enrolled' value put into the column personstatus.
      update personstudy
         set personstatus = 'enrolled';

  • Can not print PDF created on Mac with Acrobat (Win and OS X)

    I created a PDF-File from "Pages", using the integrated "Print to PDF function" (OS X10.4.8)
    This file can be opened and viewed with Adobe Acrobat on the same Mac and also on another Win-XP-Machine.
    BUT: on both Machines (Mac and Win) it's not possible to print it. Only the message (translated in english) "The file can not be printed".
    I also tried Print to PDF-X and other Win-Machines, but this does not helped.
    Any Idea?

    Hi there,
    It sounds like there has been security added to this document. In Acrobat you can view the Security setting for the document by going to File > Properties (or Cmd D) and see if printing is allowed.
    If it is allowed, then it might be worth checking the cups error log to see if it explains why the document cannot be printed. You will find the log in Applications > Console. Click on the Logs icon and expand the entry /var/log. Then expand cups and click on error_log. This will show the job you have attempted to print and any error as to why it cannot.
    Paul

  • Can not select from gv$ table in trigger...please help.

    I have the following SQL in my trigger which I am using in mt cursor.
    cursor sessioninfo is
        SELECT s.LOGON_TIME,
               i.INSTANCE_NAME,
               s.SERIAL#,
               s.MACHINE,
               s.PROGRAM,
               s.MODULE
          FROM gv$SESSION s, gv$instance i
         where i.INST_ID = s.INST_ID
           and s.SID = (select sys_context('USERENV', 'SID') from dual)
           and s.USERNAME =
               (select sys_context('USERENV', 'SESSION_USER') from dual);I get the following error:
    Compilation errors for TRIGGER DBAGUNNER.TRG_SERVICENAMELOGON
    Error: PL/SQL: ORA-00942: table or view does not exist
    Line: 22
    Text: FROM gv$SESSION s, gv$instance i
    Now, I have the DBA role and when I run this query by itself it works fine. But when I try and compile the trigger I get the error. I am creating the trigger as me as well.
    Version of DB is 11gR1
    Any idea's why I am getting this or a way around this?
    Edited by: Gunners on Feb 4, 2010 1:05 PM

    Privileges granted through roles are not valid in pl/sql.
    GRANT SELECT ON gv$SESSION to YOURUSERMax
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/01/31/le-direttive-di-compilazione-pragma/]

  • Can not execute my created procedure

    Hello
    I have created a package with some procedures and functions, from Duncans site:
    http://djmein.blogspot.com/2007/07/custom-authentication-authorisation.html
    When I look in my SQL Workshop > Object-Browser > Packages
    I see my APP_SECURITY_PKG in the left column, if i cklick on it,
    then I see on right side my Specification and body of my package
    in this case:
    create or replace PACKAGE app_security_pkg
    AS
    PROCEDURE add_user (p_lastname IN VARCHAR2, p_firstname IN VARCHAR2,
    p_email IN VARCHAR2, p_password IN VARCHAR);
    END app_security_pkg;
    ok so far so good
    now I am in my SQL Workshop
    and tried:
    EXECUTE APP_SECURITY_PKG.add_user ('taubek', 'markus', '[email protected]', 'geheim')
    but its not working
    'I am tried also:
    SELECT APP_SECURITY_PKG.add_user ('taubek', 'markus', '[email protected]', 'geheim') from dual;
    but also its not working, it doesnt found my procedure
    ORA-00904: "APP_SECURITY_PKG"."ADD_USER": ungültiger Bezeichner ("ungültiger Bezeichner" means illegal name)
    Can anybody help me?

    Hello Markus,
    You're probably stuck in the synonyms and grants pit.
    Check the owners of the procedures you use in the other procedures. When they're used in different schemes/owners grant execute rights directly (not using a role).
    Also when you use the SQL Workshop tot test your code, be aware that this runs using the APEX_PUBLIC_USER (try : select user from dual).
    So this user needs to be granted to execute the procedures you've created. (And probably you have to define some synonyms).
    Hoffentlich hilft das etwas...
    Regards,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/

  • Can not insert or update [TABLE] from internal table in method

    I've faced a problem with OO abap. I've tried to insert into [ TABLE ] from internal table, but i've got error msg after i compiled.
    "An explicit work area is necessary in the OO context. Use "INSERT wa INTO [TABLE] itab""
    After  i changed to loop in work area and INSERT INTO  [TABLE] VALUES gw_data., everything is fine, can compile and run.
    This is error code.
      METHOD set_data_to_table.
        REFRESH gi_data.
        CLEAR gi_data.
        IF gi_file[] IS NOT INITIAL.
    * Set data for modify table
          LOOP AT gi_file INTO gw_file.
            MOVE-CORRESPONDING gw_file TO gw_data.
            me->conversion_input( EXPORTING im_vendor = gw_data-vendor
                                  CHANGING  ch_vendor = gw_data-vendor ).
            APPEND gw_data TO gi_data.
          ENDLOOP.
          INSERT [TABLE] FROM TABLE gi_data.
    *      LOOP AT gi_data INTO gw_data.
    *        INSERT INTO  [TABLE] VALUES gw_data.
    *        IF sy-subrc = 0.
    *          COMMIT WORK.
    *        ELSE.
    *          ROLLBACK WORK.
    *        ENDIF.
    *      ENDLOOP.
        ELSE.
          MESSAGE 'No data found' TYPE 'I'.
        ENDIF.
      ENDMETHOD.                    "set_data_to_table

    Hi Matthew,
    I think there is no difference in database insert between OO and non-OO.
    The correct syntax according to ECC600 online documentation is
    [Inserting Several Lines|http://help.sap.com/saphelp_erp2005vp/helpdata/en/fc/eb3a6d358411d1829f0000e829fbfe/content.htm]
    To insert several lines into a database table, use the following:
    INSERT target FROM TABLE itab \[ACCEPTING DUPLICATE KEYS].
    This writes all lines of the internal table itabto the database table in one single operation. If one or more lines cannot be inserted because the database already contains a line with the same primary key, a runtime error occurs. You can prevent the runtime error occurring by using the addition ACCEPTING DUPLICATE KEYS.
    Whenever you want to insert more than one line into a database table, it is more efficient to work with an internal table than to insert the lines one by one.
    I think the syntax
    INSERT my_dbtable FROM TABLE gi_data.
    should work, your suggestion may lead to syntax error.
    Regards,
    Clemens

  • Can not delete data from table which is queried in my stored procedure

    Hi,
    Anyone knows how to fix it:
    I have a table. In a stored procedure, I have a simple query running on this table.
    When I want to delete one record from that table, I got error message:
    ORA-04091: table *** is mutating, trigger/function may not see it.
    Thanks first.

    Rick, the only time you should get a mutating table error is when a trigger is involved. FK problems have separate error codes (and would be a different problem than the one that started this thread). Using a DBA id check all the tables subject to DML by your function and by whatever calls your function for triggers. Only the owner or a DBA can see the existence of triggers on a non-owned table. This has caused some of the developers I work with to think tables that had triggers do not have them since they do not work under the owning or a DBA ID.
    By your description of what you are trying to do in the function we do that all the time without problem.
    How large is the function? How/When is it called?
    Mark D Powell

  • TF400463 :Can not able to create team project in tfs 2013

    HI
    When am trying to create new project in TFS Collection I cant able to create a project. Since am getting the below error "TF400463 Project Creation failed with error: Object reference not set to an instance of an object"

    Hi
    since the problem not yet solved ... can you share some more details so that I can try it .. find the below error message which am getting ...
    Error Code : TF400463
    <v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe"
    stroked="f"><v:stroke joinstyle="miter"><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"><v:f eqn="sum @0 1 0"><v:f eqn="sum 0 0 @1"><v:f eqn="prod @2 1 2"><v:f
    eqn="prod @3 21600 pixelWidth"><v:f eqn="prod @3 21600 pixelHeight">
      <v:f eqn="sum @0 0 1">
      <v:f eqn="prod @6 1 2">
      <v:f eqn="prod @7 21600 pixelWidth">
      <v:f eqn="sum @8 21600 0">
      <v:f eqn="prod @7 21600 pixelHeight">
      <v:f eqn="sum @10 21600 0">
     </v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:formulas>
     <v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
     <o:lock aspectratio="t" v:ext="edit">
    </o:lock></v:path></v:stroke></v:shapetype><v:shape alt="cid:[email protected]" id="_x0000_i1025" style="width:723pt;height:275.25pt;" type="#_x0000_t75">
    <v:imagedata o:href="cid:[email protected]" src="file:///C:\Users\arockia_kumar.ITLINFOSYS\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg">
    </v:imagedata></v:shape>

Maybe you are looking for

  • TNT On Demand Unable to Sign In - Please somebody help me

    This is my third plea for help.  The only reason I went with FIOS was to get Showtime On Demand and TNT On Demand.  I don't have a TV.  I watch exclusively on line.   Showtime works great.  But I am unable to log into TNT On Demand.  It did work two

  • Printing notes similarly to comments in Word

    Hello, I have a PDF document which I commented extensively. When I print it, my comments that are on the printed page cover too much space - the orginal text is not easily readable (lowering opacity is not helping). Therefore, I would like to print m

  • Propagation error

    how to clean up propagation error? 1- Oracle version 9.2.0.1.0 2-I have three instance bd1, bd2, bd3 in different machines 3-The 3 instance can communicate between them via network. 4-I have setup succefully streams environnement bidirectionally betw

  • Caused By: java.sql.SQLException: Missing IN or OUT parameter at index:: 1

    Hi, i have a variable email when error, which queries the E$ tables. If it finds any entry in the table it updates its count: select count(1) from ODI_WORK.E$_<%=odiRef.getSession("SESS_NO")%>CI_TXN_DETAIL. Here am attaching the session number to the

  • ODBC goes dead after migrating to intel mac

    On my G4 powerbook, I had a full complement of ODBC DSNs connecting to various databases. I used the migration assistant to move my applications and files to a new MacBook Pro. I tested each application before wiping the old computer and getting rid