Re: Ayuda sobre Indices

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: Ayuda sobre Indices
Дата
Msg-id c2d9e70e0701261551g43b486efo749dde05a286db55@mail.gmail.com
обсуждение исходный текст
Ответ на Ayuda sobre Indices  (julio.caicedo@genome-it.com)
Список pgsql-general
Si quieres escribir en español, por favor, escribe a
pgsql-es-ayuda@postgresql.org
esta es una lista en ingles. Tu respuesta abajo...

On 1/25/07, julio.caicedo@genome-it.com <julio.caicedo@genome-it.com> wrote:
> Buen Dia.
>
> Por favor si saben como, me gustaria saber como puedo eliminar un indice
> PERO SOLO si este existe. Como valido si existe o no el indice para luego
> eliminarlo ??
>
> Gracias.
>

from 8.2 you can do:

DROP INDEX IF EXISTS name ;

--
regards,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
                                       Richard Cook

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

Предыдущее
От: George Weaver
Дата:
Сообщение: Re: Loop plpgsql recordset
Следующее
От: Douglas McNaught
Дата:
Сообщение: Re: Speaking of upgrades...