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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Create type object AS / IS

Re: Create type object AS / IS

From: Stuhlpfarrer Markus <stuhli_at_tm1.at>
Date: Mon, 30 Jul 2001 19:33:42 GMT
Message-ID: <3B65B6A2.613B89E9@tm1.at>

i think this has historical reasons like the varchar varchar2 thing

Ian Ledzion wrote:

> I've been trying without success to find the difference (if any) between the
> statements AS and IS when creating an object type.
>
> For example
> CREATE TYPE typ_person AS /*Here*/ OBJECT (
> id NUMBER (9),
> name VARCHAR2 (30));
> ;
>
> and
>
> CREATE TYPE typ_person IS /*Here*/ OBJECT (
> id NUMBER (9),
> name VARCHAR2 (30));
> ;
>
> Can anyone explain the reason for the two versions?
>
> Thanks,
> Ian.
  Received on Mon Jul 30 2001 - 14:33:42 CDT

Original text of this message

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