Home » SQL & PL/SQL » SQL & PL/SQL » ORA ERROR:01950 NO PRIVILEGES ON TABLESPACE 'USERS' (ORACLE 10G SQL PLUS)
ORA ERROR:01950 NO PRIVILEGES ON TABLESPACE 'USERS' [message #591209] Thu, 25 July 2013 08:53 Go to next message
jgjeetu
Messages: 373
Registered: July 2013
Location: www.Orafaq.com/Forum
Senior Member

> conn sys as sysdba;
enter password:TIGER
>create user ram identified by ram;
>grant create session to ram;
>conn scott/tiger
>create table ram.emp2
as select * from emp;
>ora-error:- 01520 NO PRIVILEGES ON TABLESPACE 'USERS'

this is the query and i want to create emp2 table for user ram while i am connected to scott,
ealier i was able to do this but now oracle shows error 01950,
then i connected to sys again and ran this command >alter user scott quota unlimited on scott;
but it also not worked ,kindly help

[Updated on: Thu, 25 July 2013 08:54]

Report message to a moderator

Re: ORA ERROR:01950 NO PRIVILEGES ON TABLESPACE 'USERS' [message #591210 is a reply to message #591209] Thu, 25 July 2013 08:55 Go to previous messageGo to next message
cookiemonster
Messages: 13967
Registered: September 2008
Location: Rainy Manchester
Senior Member
scott != users
Re: ORA ERROR:01950 NO PRIVILEGES ON TABLESPACE 'USERS' [message #591211 is a reply to message #591210] Thu, 25 July 2013 09:00 Go to previous message
Michel Cadot
Messages: 68765
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
And ram != scott

Quote:
then i connected to sys again


- Never ever use SYS (or SYSDBA) but for maintenance purpose (startup, shutdown, backup, recover)
- SYS/SYSDBA is special
- SYS/SYSDBA is Oracle proprietary (try to open a SR/TAR starting with "i did that with SYS/SYSDBA" and you'll see the immediate answer)
- SYS/SYSDBA does not act like any other user
- When you use SYS/SYSDBA Oracle deactivates some code path and activates others
- Whatever you do with SYS/SYSDBA will neither validate nor invalidate the same thing with any other user.

NEVER EVER use SYS/SYSDBA for anything that can be done by another user.
Use SYS/SYSDBA ONLY for something that can't be done by someone else.


Regards
Michel
Previous Topic: dbms_xslprocessor.read2clob read issue
Next Topic: how to do attachment email in oracle
Goto Forum:
  


Current Time: Wed Aug 13 03:38:38 CDT 2025