Links
Home
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
-none-

-none-

2004-09-30       - By -not available-

Reply:     <<     201     202     203     204     205     206     207     208     209     210     >>  

Can you verify what would be the proper procedure of
adding an attribute to an object type?

SQL > create type mytype as object (name varchar2(50));
2 /
Type created.

SQL > create table mytab (x number, y mytype);

Table created.

SQL > create or replace type mytype as object (name
varchar2(50), address varchar2(50));
2 /
create or replace type mytype as object (name
varchar2(50), address varchar2(50));
*
ERROR at line 1:
ORA-02303 (See ORA-02303.ora-code.com): cannot drop or replace a type with type or
table dependents

SQL > alter type mytype add attribute (address
varchar2(50)) cascade;

Type altered.

SQL > desc mytype
Name Null? Type
-- ---- ---- ------ -- ----- -- ------
NAME VARCHAR2(50)
ADDRESS VARCHAR2(50)

Also, what would be the query to list all the
dependent objects? I was not able to find it in
user_object_tables.

SQL > select * from user_object_tables;

no rows selected

TIA

Steve


__ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
http://www.freelists.org/webpage/oracle-l