Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> QUESTION: can you create a new datatype and setting/getting there values
Hi, in Oracle you can go
create table testtable(a number,b number);
insert into testtable values(1,0); insert into testtable values(33,1); insert into testtable values(1,16);
Question
Like
create table testtable(a number, b BNO); insert into testtable values (1,0);
Here BNO is a 'number', but I want my object to have a default 'constructor' or 'setter' that accepts a number, and if none exists then get an error. To select from the table, I want a default 'getter' ... etc
If you can do this type of thing can someone please post some keywords
to search on and I will try to find the information from there?
Thank you
Barry
Received on Thu Oct 09 2003 - 14:58:37 CDT