Ceate a type with a method inside [message #353111] |
Sat, 11 October 2008 10:23 |
AMIR64
Messages: 6 Registered: October 2008
|
Junior Member |
|
|
Is the syntax below right?
CREATE or replace TYPE RiverType
UNDER WaterType(
length INT,
meets REF WaterType SCOPE
IS Rivers,
runs_through REF StateType
MULTISET SCOPE IS States
)
INSTANCE METHOD leads_to_ocean()
RETURNS OceanType;
|
|
|
Re: Ceate a type with a method inside [message #353115 is a reply to message #353111] |
Sat, 11 October 2008 11:14 |
|
Michel Cadot
Messages: 68732 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
What do you get when you try?
Do you think we are SQL syntax analyzer?
If you want us to help you, generally speaking, you must:
* Follow OraFAQ Forum Guide
* Format your post
* Post a full test case we can reproduce
* Use SQL*Plus and copy and paste your session.
Regards
Michel
|
|
|