Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Inserting into types on Oracle8
Mike,
Use the constructor for type x:
insert into y values (x(3,'three'), 'dee');
Then check my posted question about CREATE TYPE BODY syntax and let me know if you can help. Thanks!
Mike wrote:
> Hi, a quick RTFM request having created a type:
> create type x (a number, b varchar2(10));
> create a table containing the type:
> create table y (c x, d varchar2(10));
> How do you insert values into column c in the table y?
+----------------------------------------------------- | Dan Townsend, Supervising Database Architect| EBMUD Enterprise Object Designer
+-----------------------------------------------------Received on Fri Jul 25 1997 - 00:00:00 CDT