how can i create a user defined datatype
Answers were Sorted based on User's Feedback
Answer / mv
we can create a user defined data type by using subtype.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / vetrikumaran
WE CAN CREATE A USER DEFINED DATATYPE BY USING RECORD DATATYPE..
RECORD,INDEX BY TABLE ARE NOT BUT USER DEFINED DATATYPES
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
Is keyword pl sql?
What are the usages of sql?
What is the maximum number of triggers,can apply to a single table?
what is sql in mysql? : Sql dba
Which join condition can be specified using on clause?
How to use distinct and count in sql query? Explain
How many indexes can be created on a table in sql?
What is the difference between left outer join and left join?
What is a data manipulation language?
What is compute?
What are the types of join and explain each?
Can one improve the performance of sql*loader? : aql loader