Conditional Statement

Поиск
Список
Период
Сортировка
От Samik Raychauhduri
Тема Conditional Statement
Дата
Msg-id 3C82CA4C.6030205@cae.wisc.edu
обсуждение исходный текст
Список pgsql-general
Hello,
I am trying to write a piece of SQL code, which will first check if a
table exist, drop it and then recreate it. I didn't see any 'IF' syntax
in pgsql. Is there any other alternative? I tried to use 'case'
structure, but didn't succeed.
Thanks and regards.
-Samik


В списке pgsql-general по дате отправления:

Предыдущее
От: "Andrew Bartley"
Дата:
Сообщение: April 1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: April 1