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 is sqlerrm?
Why do we need a foreign key?
How exception is different from error?
how many sql ddl commands are supported by 'mysql'? : Sql dba
How would you reference column values before and after you have inserted and deleted triggers?
Why is sql important?
What is sql mysql pl sql oracle?
How do I add a primary key to a table?
Explain the components of sql?
Why do we use procedures?
What has stored procedures in sql?
What is left join in sql?
What is the difference between the conventional and direct path loader? : aql loader
What are the different dml commands in sql?
What are the benefits of pl sql?