IF EXISTS?

From: "Henrik W(dot) Hansen" <spam(at)gyvelvej(dot)dk>
To: pgsql-general(at)postgresql(dot)org
Subject: IF EXISTS?
Date: 2003-11-02 10:52:02
Message-ID: 3FA4E1D2.6070102@gyvelvej.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all
Can I make something linke:
IF EXISTS(company_id_seq)
DROP SEQUENCE company_id_seq;

in a DDL where i creates all my tables?

/Henrik

Browse pgsql-general by date

  From Date Subject
Next Message Simon Stiefel 2003-11-02 16:43:50 Re: Where are the database files located?
Previous Message Lynn.Tilby 2003-11-01 23:23:49 Re: 7.3.5 release (was: Re: SELECT with row>32k hangs over