dba role [message #523034] |
Thu, 15 September 2011 05:31 |
|
hanner
Messages: 90 Registered: August 2011 Location: at HOME
|
Member |
|
|
i have being given a dba role
when i desc *****table i couldn't do it. It says table or view not exist. BUT when i
desc schema.******thatTable, i can now? Why is that so.
2nd case:
When I
select privilege from dba_tab_privs
where table_name='SCHEMA.xxxxxSOME_TABLE and grantee='apple';
I have no rows!
I am very sure i have SUCESSFULLY granted a SELECT to apple.
Not too sure is it related to theh first problem i am having.
|
|
|
|
|
Re: dba role [message #523042 is a reply to message #523034] |
Thu, 15 September 2011 06:38 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Second question:
After LF's change, remember that names are case sensitive. Schema 'apple' is not the same schema as 'APPLE'. Because some tools may do implicit case conversion in some (but not all) circumstances, this can be very confusing.
|
|
|
|
|
|
|
|
|
|
Re: dba role [message #523097 is a reply to message #523094] |
Thu, 15 September 2011 09:40 |
cookiemonster
Messages: 13959 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
hanner wrote on Thu, 15 September 2011 15:34black swan,
[U is not a member of this forum.]
erm, i don't get you? Am i posting my question in the wrong category?
You're using IM speak. Which the fourm guide says you shouldn't. Use proper words.
|
|
|
|
|
|
Re: dba role [message #523103 is a reply to message #523102] |
Thu, 15 September 2011 10:15 |
cookiemonster
Messages: 13959 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
You told oracle to look for a value that doesn't exist. What error would you expect to get?
|
|
|
|
|
|
|
Re: dba role [message #523121 is a reply to message #523092] |
Thu, 15 September 2011 13:17 |
joy_division
Messages: 4963 Registered: February 2005 Location: East Coast USA
|
Senior Member |
|
|
hanner wrote on Thu, 15 September 2011 10:32
select privileges from dba_tab_privs where table_name='TBL_SomeFakeTable and owner='ownerTBL_SomeFakeTable and grantee='apple';
This is still syntactically incorrect due to unbalanced quotes and/or missing spaces. Or is it contextually incorrect?
|
|
|
|
|
|
Re: dba role [message #523212 is a reply to message #523178] |
Fri, 16 September 2011 04:18 |
cookiemonster
Messages: 13959 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
@hanner - if you ask us to check syntax, post the proper query, because we will check everything. We always do with syntax questions because plenty of people will try to run code like the above and then wonder why it doesn't work.
|
|
|
|