From: | Alessandro Pedrotti <AlessandroP(at)Anthesi(dot)it> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | R: adding not null constraints on columns |
Date: | 2003-02-12 07:49:11 |
Message-ID: | C1E0CA0FF6B6D311A2570060086D476A6B51EB@YAVIN |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
ALTER TABLE myTable ADD CONSTRAINT constraintName CHECK (myColumn IS NOT
NULL);
-----Messaggio originale-----
Da: Susan [mailto:brknrose(at)counterconspiracy(dot)org]
Inviato: mercoledì 12 febbraio 2003 00:45
A: pgsql-sql(at)postgresql(dot)org
Oggetto: [SQL] adding not null constraints on columns
Is there a way to add not null constraints on a column after the column has
been created? Any help would be appreciated. Thanks.
The most likely way for the world to be destroyed, most experts agree, is by
accident. That's where we come in; we're computer professionals. We cause
accidents.
Nathaniel Borenstein (1957 - )
brknrose(at)counterconspiracy(dot)org <mailto:brknrose(at)counterconspiracy(dot)org>
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Jaenecke | 2003-02-12 08:46:15 | timestamp |
Previous Message | Prashanth - Kamath | 2003-02-12 06:23:13 | How to incorporate exec sql describe select list ( available in sql server in postgres) |