Answer Posted / avi007
We can create a user defind datatype by using abtract
datatype.
create type address_type as object
( street varchar2(10),
pincode number(6);
);
This is used in
create table emp
(Empname varchar2(20),
Adress address_type);
// address_type is user defined datatype
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the maximum number of triggers, you can apply on a single table?
What is sql resultset?
Can we use view in stored procedure?
Which software is used for pl sql programming?
Can unique keys be null?
What is an emotional trigger?
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
How to raise user-defined exception with custom sqlerrm ?
What do you mean by dbms? What are its different types?
What are the parts of a sql statement?
Is truncate ddl or dml?
How to download oracle sql developer?
What is a boolean in sql?
Explain the methods used to protect source code of pl/sql.
Write a sql query to convert all character to uppercase after hypen.