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
How do I remove sql plus from windows 10?
what is acid property in database? : Sql dba
What pl/sql package consists of?
Can you have more than one trigger on a table?
What is a field in a database?
How does postgresql compare to "nosql"?
can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible? : Sql dba
What are the 3 types of behavioral triggers?
how many values can the set function of mysql take? : Sql dba
how to write date and time literals? : Sql dba
Explain polymorphism in pl/sql.
What is a delimiter in sas?
How do I pipe the output of one isql to another?
What is sql deadlock?
What is range partitioning?