The problem of connect and resource role

Hi,
As we know, that while crating a new user, we can assign connect and resource so that the user can access the system tablespace.
The problem that i got is instead of assigning the connect and resource role, i have assigned each and every privilege individually from this role. But, surprisingly, my user has not got the privilege o accessing the system tablespace.
I was working in oracle 9i database. Can anyone help me in this regard and tell me what is the reason behind this?
Thanks in advance.

what huntrex said is quite valid i would like to add some more..
SQL> create user myuser identified  by myuser
  2  /
User created.
SQL> select grantee,privilege
  2    from dba_sys_privs
  3   where grantee='MYUSER'
  4  /
no rows selected
SQL> grant resource to myuser
  2  /
Grant succeeded.
SQL> select grantee,privilege
  2    from dba_sys_privs
  3   where grantee='MYUSER'
  4  /
GRANTEE                        PRIVILEGE
MYUSER                         UNLIMITED TABLESPACEWhen you create a new user, the user is not able to save data until given a tablespace quota.As well when you create user and dont define its default tablespace then it is assigned tablespace what you defined at the time of database creation.If you dont define the tablespace at the time of creating database then it goes to system tablespace.
When you grant resource role then user get unlimited tablespace over specified tablespace while creating users or
default when not mentioning tablespace.
conn myuser/muyuser
SQL> select * from session_privs;
PRIVILEGE
CREATE SESSION
ALTER SESSION[b]
UNLIMITED TABLESPACE
CREATE TABLE
CREATE CLUSTER
CREATE SYNONYM
CREATE VIEW
CREATE SEQUENCE
CREATE DATABASE LINK
CREATE PROCEDURE
CREATE TRIGGER
CREATE TYPE
CREATE OPERATOR
CREATE INDEXTYPEAs you created the user and i assume you didnt specify the default tablespace ,this user goes for system tablespace
but you didnt assign resource role then you will have to have assign quota for that user to create any object within
this created user.
SQL> conn sys/sys as sysdba
Connected.
SQL> drop user myuser
  2  /
User dropped.
SQL> create user myuser identified by myuser
  2  /
User created.
SQL> grant connect to myuser
  2  /
Grant succeeded.
SQL> conn myuser/myuser
Connected.
SQL> select * from session_privs;
PRIVILEGE
CREATE SESSION
ALTER SESSION
CREATE TABLE
CREATE CLUSTER
CREATE SYNONYM
CREATE VIEW
CREATE SEQUENCE
CREATE DATABASE LINK
8 rows selected.
SQL> create table mytable (a number)
  2  /
create table mytable (a number)
ERROR at line 1:
ORA-01950: no privileges on tablespace 'USERS'
SQL> conn sys/sys as sysdba
Connected.
SQL> grant unlimited tablespace to myuser
  2  /
Grant succeeded.
SQL> conn scott/tiger
Connected.
SQL> conn myuser/myuser
Connected.
SQL> create table mytable (a number)
  2  /
Table created.
SQL> Khurram

Similar Messages

  • Connect and resource role

    I have created a user and granted connect,resource to that user.
    Then how the unlimited tablespace quota is applied automatically over that user?
    whereas when I am applying all the privileges under the connect,resource separately the user is not getting any quota on any tablespace. What is actually happening in case of connect,resource role in oracle9i?

    hi in 9i RESOURCE role is having unlimited tablespace privilege internally
    even you cannot see this from role_sys_privs view.
    so it is dangerous to grant resource role to a user in 9i unless required.

  • How to solve the problem of connecting my iPad to Itunes while my iPad not working and show to connect to iTunes?

    Question to all iPad users please help in this issue
    How to solve the problem of connecting my iPad to Itunes while my iPad not working and show to connect to iTunes?
    Thank you for help out.

    Hi Jamalzoal,
    Dose your computer have the most recent iTunes on it? When you connect the iPad 2 to your computer what happens? dose iTunes tell you the iPad need to be restored?
    p.s. you post this question in the Apple Remote Desktop community. You would probable have gotten more an fast responses if you posted this in the iPad community.

  • TS3694 My iPad2 has repeatedly refused to update to iOS7, whether connected to a PC or not.  The error message indicates an unknown error has occurred, with error code 6.  Does anyone have any idea what the problem might be and how to solve it?  Many than

    My iPad2 has repeatedly refused to update to iOS7, whether connected to a PC or not.  The error message indicates an unknown error has occurred, with error code 6.  Does anyone have any idea what the problem might be and how to solve it?  Many thanks.

    Hi
    I followed this guy's instructions and it worked:
    http://evsiphone.blogspot.com/2009/05/iphone-iphone-could-not-be-restored.html
    I did disable the security (AVG and Zone Alarm) when I tried on my own PC. My wife's laptop which eventually got it working also uses AVG and Zone Alarm but on an XP O/S whereas my PC is Vista - maybe this is why.
    Cheers for you help.
    Andy
    Message was edited by: bigbadandy

  • Macbook pro 15" mid 2010 i spilled water on keyboard now it wont power on if the battery is connected and the keys on keyboard doesnt work it works fine with no battery and external keyboard if i order a battery and new keyboard will every else work again

    macbook pro 15" mid 2010 i spilled water on keyboard now it wont power on if the battery is connected and the keys on keyboard doesnt work it works fine with no battery and external keyboard if i order a battery and new keyboard will every else work again lik it did before

    If you have records that show that you've taken your MacBook Pro in for a year to fix the machine, I would escalate the problem to Apple Customer Relations - unfortunately I don't have a number for Spain.
    It would only seem logical to me that if you've been trying to have the machine repaired during the time that the 'recall' was in effect that you should be eligible for a new logic board. But only customer relations will be able to make that call.
    Good luck - take the issue as high up the food chain as you can and see what happens.
    Clinton

  • Problem with connecting and syncing   (quicktime.qts)

    Hi,
    I have a problem with connecting and syncing my Iphone to itunes.
    iphone alone on PC -> uploading files (fotos) is possible
    itunes starts normaly, if iphone is not conected.
    if i connect iphone after starting itunes, or if i start itunes after connecting iphone i get an itunes-error with message:
    AppName: itunes.exe AppVer: 9.0.2.25 ModName: quicktime.qts
    ModVer: 7.65.17.80 Offset: 00909a47
    i test different things...
    - used another USB-port
    - used another PC
    - used macbook of my wife instead PC
    - deinstalled and new installed of itunes (older and newer versions) folow tutorials of apple
    - use another USB-Cable...
    I'm resigned, Please help me..
    Tom

    AppName: itunes.exe AppVer: 9.0.2.25 ModName: quicktime.qts
    In this context, that can sometimes indicate trouble with a content file on the phone (or Touch).
    Do you have any podcasts stored on the iPhone at the moment? If so, if you delete them from the phone, can you connect to iTunes without the error?

  • Problems when connecting and disconnecting MBP and TBD

    Hello,
    I have problems with connecting and disconnecting my macbook pro retina 13" to my thunderbolt display. Everytime I disconnect my MBP form my TBD with the lid closed it takes approximately 10 seconds until my MBP has recognized that the TBD is no longer connected and the MBP screens turns on.
    On the other hand I also have a problem when I reconnect my MBP to my TBD. Approximately every second time my MBP does not recognize that the TBD is connected again and neither the MBP nor the TBD turns on. The small light on the power cabel of my TBD does not light up. It is as the TBD would'nt have any power. Pushing buttons on my Apple Bluethooth doesnt help. I have to disconnect and reconnect the thunderbolt and the power connector a coupl of times until the MBP finally recognizes the TBD and turns on. In some cases a different background picture is shown on the TBD than the one I usually have on my MBP.
    The problem is very annoying especially because I connect and disconnect both devices and it really costs time.
    I really hope there's someone who can help with the problem. Do you think this may be hardware problem of my MBP or TBD?
    Thanks in advance for your help.

    HI there,
    The first thing I would recommend is checking for any new software updates while using the display, this will check for any available firmware updates for the display. If you continue to experience issues, then you may want to take a look at the article below for some further troubleshooting steps.
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/ht1573
    -Griff W.

  • I have a problem with my iphone 4,the problem is hanging and turning off automatically, it was started when I updated it to ios7.0.2, what should I do?

    I have a problem with my iphone 4,the problem is hanging and turning off automatically, it was started when I updated it to ios7.0.2, what should I do?

    mahtab2 wrote:
    I have a problem with my iphone 4,the problem is hanging and turning off automatically, it was started when I updated it to ios7.0.2, what should I do?
    Connect to iTunes on the computer you usually Sync with and Restore
    http://support.apple.com/kb/HT1414
    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download

  • I have a issue with my mac book pro. For some reason it won't stay powered on. I can't get past the apple loading logo. The battery is fully charged so it is not the problem. Can anyone tell me what the problem may be and how can i get it resolved?

    I have a issue with my mac book pro. For some reason it won't stay powered on. I can't get past the apple loading logo. The battery is fully charged so it is not the problem. Can anyone tell me what the problem may be and how can i get it resolved?

    The battery is fully charged so it is not the problem.
    What happens when you use the MagSafe?

  • The sound quality of my speaker suddenly got really poor when playing music or videos.  Sounds like an old AM radio or Sputnik.  Pretty sure it's hardware related but maybe not.  Thoughts on what the problem might be and if it can be repaired?

    The sound quality of my speaker suddenly got really poor when playing music or videos.  Sounds like an old AM radio or Sputnik.  Pretty sure it's hardware related but maybe not.  Thoughts on what the problem might be and if it can be repaired?

    The batterys the ipods come with are very sensetive somtimes they dont react right to the first couple of charges. Try fully charging it and then leaving it on until its completely drained a few times. If that doesnt work it might be a lemon.

  • Hello apple I have the problem with my iPhone and my friends have this problem too. My iPhone have the problem about calling and answer the call. When I use my iPhone to call I can't hear anything from my iPhone but the person that I call can answer it bu

    Hello apple
    I have the problem with my iPhone and my friends have this problem too.
    My iPhone have the problem about calling and answer the call. When I use my iPhone to call I can't hear anything from my iPhone but the person that I call can answer it but when answer both of us can't hear anything and when I put my iPhone to my face the screen is still on and when I quit the phone application and open it again it will automatic call my recent call. And when my friends call me my iPhone didn't show anything even the missed call I'm only know that I missed the call from messages from carrier. Please check these problem I restored my iPhone for 4 time now in this week. I lived in Hatyai, Songkhla,Thailand and many people in my city have this problem.
    Who have this problem??

    Apple isnt here. this is a user based forum for technical questions. The solution is to restart, reset, and restore as new which is in the manual after that get it replaced for hard ware failure. if your within your one year warranty its replaced if it is out of the warranty then it is 199$

  • Error when opening itunes : iTunes has stopped working ''A problem caused the program to stop working correctly''. When I repaired damaged files the problem still exists and also after uninstalling and redownloading and installing itunes. I have windows 8

    Error when opening iTunes : iTunes has stopped working '' A problem caused the program to stop working correctly''.
    When I repaired damaged files the problem still exists and also after uninstalling, redownloading and reinstalling iTunes.
    My pc is working with windos 8.
    Is there a solution?

    Hey there Rodney274,
    It sounds like you are getting an error from iTunes when you launch it. I would try the troubleshooting in this article named:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717
    Start with troubleshooting for 3rd party plug ins section, then the rest of the article if needed:
    Start iTunes in Safe Mode
    Open iTunes in Safe Mode to isolate any interference from plug-ins or scripts not manufactured by Apple.
    Hold down Shift–Control while opening iTunes. You should see a dialog that says "iTunes is running in safe mode" before iTunes finishes starting up.
    Click Continue.
    See if the issue you're experiencing persists in Safe Mode.
    If you have the same issue while iTunes is in Safe Mode, proceed to the "Create a new user account" section. If you don't experience the same issue, follow these steps to remove third-party plug-ins.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • Trying to launch photoshop cs3 on a mac running OS10.6.8 i keep getting the error message: Licensing for this product has stopped working  you cannot use this product at this time. You must repair the problem by uninstalling and then reinstalling this pro

    trying to launch photoshop cs3 on a mac running OS10.6.8 i keep getting the error message: Licensing for this product has stopped working  you cannot use this product at this time. You must repair the problem by uninstalling and then reinstalling this product or contacting your IT adminstrator or Adobe customer support for help
    I already Uninstalled and reinstalled the product and it still does not work.

    Hi,
    Try to uninstall the software again and you have to manually
    Delete the following folders:
    [Startup Disk]/Library/Application Support/Adobe/Adobe PCD
    [Startup Disk]/Library/Application Support/Adobe/caps
    [Startup Disk]/Library/Application Support/Adobe/backup
    [Startup Disk]/Library/Preferences/FLEXnet Publisher/
    [Startup Disk]/Library/Application Support/FLEXnet Publisher/
    Go to Applications-->Utilities-->Disk Utility, Open it and Select the MAC HD and then click on Repair permissions.
    After that try to run the cleaner tool as mentioned by kglad.
    Restart machine and then try to install again.
    *** Make sure , you only delete these folders if there is no other adobe applications installed on the machine. As if you have any other Adobe application of the suite ( not free applications ) then it will be a problem.

  • My Adobe Acrobat 9 Standard stopped working after I performed an msconfig. I get the following message: "You cannot use this product at this time. You must repair the problem by uninstalling and reinstalling this product..." I installed this on Jan. 7, 20

    My Adobe Acrobat 9 Standard stopped working after I performed an msconfig. I get the following message: "You cannot use this product at this time. You must repair the problem by uninstalling and reinstalling this product..." I installed this on Jan. 7, 2010 and I have since misplaced the disk.
    How do I fix the problem?

    Hi Ali,
    You can download Acrobat 9 Std. from: https://files.acrobat.com/a/preview/8d640488-4a92-4f7d-b50b-d8eb7f96bff8
    and reinstall the software.
    Regards,
    Rave

  • When I try to play a movie on itunes on my tv that is connected to a windows 8 pc the tv loses connection and then randomly regains connection. Is this a windows error (guessing it is) or something with iTunes?

    When I try to play a movie on itunes on my tv that is connected to a windows 8 pc the tv loses connection and then randomly regains connection. Is this a windows error (guessing it is) or something with iTunes?

    Delete and redownload them if doing so is free in your country.
    (106637)

Maybe you are looking for

  • How can I take data from multiple pages documents and put them into a numbers table?

    I produce invoices in pages, with dates, invoice numbers, references and amounts due. I want to take all this data from multiple documents and transfeer it to a single numbers table. Is this possible and if so, how do I do it. I know I can do it the

  • Problem in Profit centre

    hi friends i make cash payment in FBCJ in that  i assign profit centre like '4000'.but when i post it and then after check in FBL3N G/L account documents it will display '1000' profit centre what change i will do in configuration to get profit centre

  • No Time Code!

    I was trying to import video from hi8 using log and capture, while doing so, I wasn't getting a time code. Subsequently I wasn't able to import into Final Cut. It imported just fine into IMovie though. Any idea what i'm doing wrong? Also, After impor

  • IPhoto App Disapeared

    My iPhoto app disappeared. (? on icon in dock and no longer showing up Applications folder). My iPhoto library seems to be intact. I have a recent copy of everything on my iMac on an external drive using Super Duper. What's my best option for restori

  • Create a drill down in function

    HI all, I could need some help, but I don't know if it is even possible. Currently we use in a BI-IP workbook two levels on input. We use a filter setting in workbook function to give other chars filter values. Example of the problem: We've a layout