Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Can you alias a datatype?

Can you alias a datatype?

From: Bumbaclart <dant_at_midsys.co.uk>
Date: Fri, 25 Jun 1999 14:34:33 GMT
Message-ID: <7l041o$5il$1@nnrp1.deja.com>


I would like to create my own datatypes as an alias of standard types, along the lines of:

short_name as an alias for varchar2(15)

And then use short_name as a datatype.

Is this possible in Oracle (as it is in Sybase), or does it require complex use of object types?

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Fri Jun 25 1999 - 09:34:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US