From: | "Mauricio" <mbarrios(at)develop(dot)com(dot)br> |
---|---|
To: | "Xue-Feng Yang" <just4look(at)yahoo(dot)com>, "Postgres Admin List" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: newbie questions |
Date: | 2002-10-15 13:22:47 |
Message-ID: | 005f01c2744d$f44e6f40$3501a8c0@Azenha |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
RTFM.
www.postgresql.org -> your favorite mirror -> interactive
documentation (http://www.postgresql.org/idocs/) -> SQL
Commands (http://www.postgresql.org/idocs/index.php?sql-commands.html)
-> ALTER TABLE (http://www.postgresql.org/idocs/index.php?sql-altertable.html)
It wasn't that hard. :-)
http://www.postgresql.org/idocs/index.php?sql-altertable.html
hugs & kisses,
Mauricio
----- Original Message -----
From: "Xue-Feng Yang" <just4look(at)yahoo(dot)com>
To: "Postgres Admin List" <pgsql-admin(at)postgresql(dot)org>
Sent: Tuesday, October 15, 2002 10:13 AM
Subject: [ADMIN] newbie questions
> Are there the following SQL commands in psotgreSQL?
>
> ALTER TABLE CATALOGITEM_LNK ADD
> CONSTRAINT PK_CATALOGITEM_LNK PRIMARY KEY(catalogid,
> itemid);
>
> ALTER TABLE CATALOGITEM_LNK ADD
> CONSTRAINT FK_CATALOGITEM_LNK_CATALOG FOREIGN KEY
> (catalogid) REFERENCES CATALOG(id);
>
>
> ______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-10-15 14:28:09 | Re: Trouble dumping "backing up" in 7.1.3 |
Previous Message | Xue-Feng Yang | 2002-10-15 13:13:17 | newbie questions |