Drop temporary table only if it exists

From: Mintoo Lall <tlqmail(at)yahoo(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Drop temporary table only if it exists
Date: 2003-02-14 15:34:13
Message-ID: 20030214153413.24680.qmail@web14802.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


Hi Everybody,

How do I drop a temporary table ( or for that matter a sequence) only if it exists or create them if they donot exist ? I want to do this to avoid any errors

Any help is appreciated .

Thanks,

Tarun

---------------------------------
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Joe Conway 2003-02-14 15:35:50 Re: Table Pivot
Previous Message Achilleus Mantzios 2003-02-14 13:17:31 Re: Passing arrays