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
Explain the difference between triggers and constraints?
i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this
What are data types in pl sql?
What is not in sql?
What is a memo field?
What does the sign mean in sql?
How can check sql version from command line?
Is a secondary key the same as a foreign key?
How do sql databases work?
What are the benefits of stored procedures?
What is composite data type in pl sql?
What is database migration?
how do you control the max size of a heap table? : Sql dba
what is the difference between ereg_replace() and eregi_replace()? : Sql dba
How do I view output in sql developer?