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 |
what are tables and fields? : Sql dba
How to add, remove, modify users using sql?
What is sql and how does it work?
I want to create synonym for table emp but in my pc it is giving insufficient previliges.I am using user scott.Please suggest me.
What is lookup table in sql?
how to get the third quarter of employee details from emp?
How can I get the number of records affected by a stored procedure?
How can you know that statistics should be updated?
What are different types of tables in sql?
What is a boolean in sql?
Is left join faster than join?
what is user defined functions? : Sql dba