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 you change a value in sql?
What is the difference between a database and a relational database?
What port does sql server use?
how to create a new table in mysql? : Sql dba
What is the maximum size of sqlite database?
what is the difference between blob and text? : Sql dba
explain commit and rollback in mysql : sql dba
What are stored procedures in mysql?
What is the difference between execution of triggers and stored procedures?
Is big data nosql?
What is join view in sql?
What is sql in java?
What is varray in pl sql?
What are the different types of a subquery?
Explain lock escalation? : Transact sql