insert iff !exist

Поиск
Список
Период
Сортировка
От Patrick Welche
Тема insert iff !exist
Дата
Msg-id E10Vzz5-0004IR-00@quartz.newn.cam.ac.uk
обсуждение исходный текст
Список pgsql-general
I'm pretty sure someone already answered this, but the mail archive isn't
very searchable at the moment. How can you

if(update row fails because doesn't exist, ie. returns 0)then(insert row)

in SQL? Or am I misremembering and it was in some other language?

Cheers,

Patrick

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

Предыдущее
От: AGRE Enterprises Limited
Дата:
Сообщение: Problem with 6.5 reload
Следующее
От: "Patrick Welche"
Дата:
Сообщение: insert iff !exist