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
Why stored procedure is faster than query?
What is a clob in sql?
Explain normalization and what are the advantages of it?
What are the advantages of pl sql over sql?
What is index example?
what is an index? : Sql dba
Which nosql database is best?
Write a query to display the current date in sql?
what are the join types in tsql? : Transact sql
What is sql procedures and functions?
what are rollup and cube in t-sql? : Transact sql
How to avoid duplicate records in a query?
How does rowid help in running a query faster?
What is t sql in sql server?
Which command is used to call a stored procedure?