insert iff !exist

Поиск
Список
Период
Сортировка
От Patrick Welche
Тема insert iff !exist
Дата
Msg-id E10W00h-0004Ih-00@quartz.newn.cam.ac.uk
обсуждение исходный текст
Ответы Re: [GENERAL] insert iff !exist  (Karl DeBisschop <kdebisschop@spaceheater.infoplease.com>)
Список 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 по дате отправления:

Предыдущее
От: "Patrick Welche"
Дата:
Сообщение: insert iff !exist
Следующее
От: Mike Frisch
Дата:
Сообщение: Getting total records in result set