|
|
|
|
|
|
|
|
Re: View Created with Compilation Errors [message #422063 is a reply to message #422061] |
Mon, 14 September 2009 03:17   |
pablolee
Messages: 2882 Registered: May 2007 Location: Scotland
|
Senior Member |
|
|
aiyaz_ma wrote on Mon, 14 September 2009 09:12Hi anand,
Thanks for the quick response. The number of columns are perfect. Even if i removed the column names after create view. It gives the same error.I have found out that the tables which i am using is not acessable to this schema. So, may be that was the error. Could you please let me know how to grant permision a table access to different Schema.
Thanks
Aiyaz
Please have the common courtesy to answer the questions asked of you first.
|
|
|
|
Re: View Created with Compilation Errors [message #422072 is a reply to message #422061] |
Mon, 14 September 2009 03:53   |
ayush_anand
Messages: 417 Registered: November 2008
|
Senior Member |
|
|
Quote:I have found out that the tables which i am using is not acessable to this schema
that cant be the case else the ORA-00942: table or view does not exist error shoots up instantly
Quote:Could you please let me know how to grant permision a table access to different Schema.
by GRANT offcourse
grant select on [table name ] to [User];
can you please copy paste your whole sql session in which you are getting the error with error as well or as suggested by Jrowbottom
[Updated on: Mon, 14 September 2009 03:54] Report message to a moderator
|
|
|
Re: View Created with Compilation Errors [message #422073 is a reply to message #422065] |
Mon, 14 September 2009 03:54   |
aiyaz_ma
Messages: 56 Registered: May 2009 Location: Hyderabad
|
Member |
 
|
|
Thanks for the information for know the errors.
It shows SQL> SELECT * FROM ALL_ERRORS WHERE NAME = 'RHC_ORDERS_BY_ITEM_VL';
OWNER NAME TYPE SEQUENCE LINE
------------------------------ ------------------------------ ------------ --------- ---------
POSITION
---------
TEXT
----------------------------------------------------------------------------------------------------
REGAL RHC_ORDERS_BY_ITEM_VL VIEW 1 0
0
ORA-00942: table or view does not exist
I need to give acess permission to other schema
i have used this
grant select on REGAL.REGAL_OM_EDI850_WORKTAB_TEMP to RHC_EUL
but its giving insufficient privellege.
Which schema should i loggin ?
I tried with system/manager
[EDITED by LF: applied [code] tags]
[Updated on: Mon, 14 September 2009 04:44] by Moderator Report message to a moderator
|
|
|
Re: View Created with Compilation Errors [message #422076 is a reply to message #422073] |
Mon, 14 September 2009 03:59   |
aiyaz_ma
Messages: 56 Registered: May 2009 Location: Hyderabad
|
Member |
 
|
|
SQL> SELECT * FROM ALL_ERRORS WHERE NAME = 'RHC_ORDERS_BY_ITEM_VL';
OWNER NAME TYPE SEQUENCE LINE
------------------------------ ------------------------------ ------------ --------- ---------
POSITION
---------
TEXT
----------------------------------------------------------------------------------------------------
REGAL RHC_ORDERS_BY_ITEM_VL VIEW 1 0
0
ORA-00942: table or view does not exist
SQL> ed
Wrote file afiedt.buf
1* SELECT * FROM ALL_ERRORS WHERE NAME = 'REGAL.RHC_ORDERS_BY_ITEM_VL'
SQL> /
no rows selected
SQL> conn system/[email]manager@regapps[/email]
Connected.
SQL> grant connect,resource REGAL.REGAL_OM_EDI850_WORKTAB_TEMP to RHC_EUL;
grant connect,resource REGAL.REGAL_OM_EDI850_WORKTAB_TEMP to RHC_EUL
*
ERROR at line 1:
ORA-00990: missing or invalid privilege
SQL> ed
Wrote file afiedt.buf
1* grant connect,resource on REGAL.REGAL_OM_EDI850_WORKTAB_TEMP to RHC_EUL
SQL> /
grant connect,resource on REGAL.REGAL_OM_EDI850_WORKTAB_TEMP to RHC_EUL
*
ERROR at line 1:
ORA-00990: missing or invalid privilege
SQL> grant select,insert,update,delete on REGAL.REGAL_OM_EDI850_WORKTAB_TEMP to RHC_EUL;
grant select,insert,update,delete on REGAL.REGAL_OM_EDI850_WORKTAB_TEMP to RHC_EUL
*
ERROR at line 1:
ORA-01031: insufficient privileges [EDITED by LF: applied [code] tags]
[Updated on: Mon, 14 September 2009 04:41] by Moderator Report message to a moderator
|
|
|
|
|
|