Re: SET NULL / SET NOT NULL - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: SET NULL / SET NOT NULL
Date
Msg-id GNELIHDDFBOCMGBFGEFOKEIACBAA.chriskl@familyhealth.com.au
Whole thread Raw
In response to Re: SET NULL / SET NOT NULL  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> The SQL spec will not help us here, since it doesn't define such a
> capability AFAICT.  We might do worse than to look at Or*cle's
> implementation, which appears to involve a MODIFY keyword.
>
> I find this in the Or*cle 8i documentation examples:
>
>     The following statement alters the EMP table and defines and
>     enables a NOT NULL constraint on the SAL column:
>
>     ALTER TABLE emp
>        MODIFY (sal  NUMBER  CONSTRAINT nn_sal NOT NULL);
>
> The docs are opaque enough that I can't actually figure out a BNF
> definition for ALTER TABLE MODIFY, and I don't have a working
> installation to experiment against.  Can any Or*cle users here
> enlighten us?

I've already posted the Oracle and MSSQL spec to the list here - just check
one of my earlier posts with this subject...

A good place to ask questions is comp.databases.oracle.misc

Chris



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: SET NULL / SET NOT NULL
Next
From: Tatsuo Ishii
Date:
Subject: Re: UTF-8 data migration problem in Postgresql 7.2