Answer Posted / madhavi
SQL> set serverout on
SQL>
SQL> create or replace
2 type new_person as object (
3 last_name varchar2(100),
4 phone varchar2(100),
5 member function get_last_name return varchar2,
6 member function get_phone_number return varchar2 )
7 not final
8 /
Type created.
Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
what does the t-sql command ident_incr does? : Transact sql
Enlist the data types that can be used in pl/sql?
how many groups of data types? : Sql dba
What do you understand by pl/sql packages?
What are types of exception?
Is sqlexception checked or unchecked?
How do you update f as m and m as f from the below table testtable?
What are data types in pl sql?
What is pragma in sql?
How do I save the results of sql query in a file?
what is the difference between ereg_replace() and eregi_replace()? : Sql dba
What is graph sql?
When is the explicit cursor used ?
How to run sql statements through the web interface?
What is the difference between left join and right join?