Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Objects 1

Status
Not open for further replies.

jbm417

Technical User
Dec 11, 2007
15
US
I am trying to learn about objects, but progess is stopped.

I attempted to create an object with the following:

CREATE type my_obj
AS object (
val1 VARCHAR2(10),
val2 VARCHAR2(10),
val3 date
)

I think the creation was successful, but have been unable to verify.

Is there a way I can prove that my_obj exists; e.g.
select * from sys_objects (psuecocode)

TIA, Joe
 
You can check that the object exists and is valid using:

Code:
select * from user_objects where OBJECT_name = 'MY_OBJ'

To look at the definition, you could use:

Code:
SELECT text FROM user_source where name = 'MY_OBJ' 
order by line
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top