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 sql clause?
What is the location of pre_defined_functions.
Define implicit and explicit cursors.
How can we find duplicate records in a table?
What is trigger point?
What is difference between sql and mysql?
List out the acid properties and explain?
What are the uses of merge?
Which one is better subquery or joins?
what are the differences between binary and varbinary? : Sql dba
What are the datatypes available in pl/sql ?
What is Difference Between Unique and Primary Key Constraints?
what is table? : Sql dba
Can we write ddl statements in functions?
Can we use ddl statements in stored procedure?