Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5C777476386 for ; Tue, 15 Oct 2002 09:13:15 -0400 (EDT) Received: from web20513.mail.yahoo.com (web20513.mail.yahoo.com [216.136.174.44]) by postgresql.org (Postfix) with SMTP id DF77C476385 for ; Tue, 15 Oct 2002 09:13:13 -0400 (EDT) Message-ID: <20021015131317.97890.qmail@web20513.mail.yahoo.com> Received: from [24.141.64.40] by web20513.mail.yahoo.com via HTTP; Tue, 15 Oct 2002 09:13:17 EDT Date: Tue, 15 Oct 2002 09:13:17 -0400 (EDT) From: Xue-Feng Yang Subject: newbie questions To: Postgres Admin List In-Reply-To: <3D9C66C7.4070102@joeconway.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/94 X-Sequence-Number: 5952 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