Home
All Oracle Error Codes
Oracle DBA Forum

Frequent Oracle Errors

TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated

RE: Why does this "create view" statement fail?

Daiminger, Helmut

2004-04-27

Replies:
Hi Peter,

thanks, it is working. But the user L2930 has DBA privileges (which includes
select any table).

I thought that direct grants (i.e. not through roles) would only be
necessary with PL/SQL blocks...

Thanks,
Helmut


-----Original Message-----
From: Hitchman, Peter [mailto:Peter.Hitchman@(protected)]
Sent: Tuesday, April 27, 2004 2:56 PM
To: 'oracle-l@(protected)'
Subject: RE: Why does this "create view" statement fail?


Hi,
The schema dwhdata needs to grant the select privilege directly to the
schema L2930, for L2930 to be able to create the view.

Regards

Pete

-----Original Message-----
From: oracle-l-bounce@(protected)
Behalf Of Daiminger, Helmut
Sent: 27 April 2004 13:46
To: 'LazyDBA.com Discussion'; 'oracle-l@(protected)'
Subject: Why does this "create view" statement fail?


Hi!

I am experiencing something weird here... I am the user L2930 (with DBA
role).

When I issue a select statement to select data from another user's table, it
works fine:

SQL> select count(beadat) from dwhdata.b3000t;
COUNT(BEADAT)
-------------
       3

Now I want to put that exact select statement in a view:

SQL> create view testview as select beadat from dwhdata.b3000t with read
only;
create view test as select beadat from dwhdata.b3000t with read only
                              *
ERROR at line 1:
ORA-01031: insufficient privileges

That doesn't make much sense to me... Any ideas?

This is 9.2 on HP-UX 11i.

Thanks,
Helmut
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request@(protected)
'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System. For
more information please visit http://www.messagelabs.com/email
______________________________________________________________________
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request@(protected)
'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------