pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feednewbie questions
2+ messages / 2 participants
[nested] [flat]
* newbie questions
@ 2002-10-15 13:13 Xue-Feng Yang <just4look@yahoo.com>
2002-10-15 13:22 ` Re: newbie questions Mauricio <mbarrios@develop.com.br>
0 siblings, 1 reply; 2+ messages in thread
From: Xue-Feng Yang @ 2002-10-15 13:13 UTC (permalink / raw)
To: pgsql-admin
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: newbie questions
2002-10-15 13:13 newbie questions Xue-Feng Yang <just4look@yahoo.com>
@ 2002-10-15 13:22 ` Mauricio <mbarrios@develop.com.br>
0 siblings, 0 replies; 2+ messages in thread
From: Mauricio @ 2002-10-15 13:22 UTC (permalink / raw)
To: Xue-Feng Yang <just4look@yahoo.com>; 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@yahoo.com>
To: "Postgres Admin List" <pgsql-admin@postgresql.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@postgresql.org
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-10-15 13:22 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-10-15 13:13 newbie questions Xue-Feng Yang <just4look@yahoo.com>
2002-10-15 13:22 ` Mauricio <mbarrios@develop.com.br>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox