SQL( "if ...exists...),how to do it in the PostgreSQL?

Поиск
Список
Период
Сортировка
От Eric
Тема SQL( "if ...exists...),how to do it in the PostgreSQL?
Дата
Msg-id 3B15D9D1.21199@mta3
обсуждение исходный текст
Ответы Re: SQL( "if ...exists...),how to do it in the PostgreSQL?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
��    I can realize this function in the SYBase,but How can i do it in the PostgreSQL? 
/****SQL***/
if not exists(select id from test) insert into test(id) values (280);
/*********/ 

_____________________________________________
������Ʒ�����У��� http://shopping.263.net/category21.htm
��ƷС�ҵ�ӭ������ http://shopping.263.net/category23.htm


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

Предыдущее
От: Tod McQuillin
Дата:
Сообщение: Re: [GENERAL] Re: extra syntax on INSERT
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Can the backend return more than one error message per PQexec?