Re: NULLs in ecpg

Поиск
Список
Период
Сортировка
От Edmund Bacon
Тема Re: NULLs in ecpg
Дата
Msg-id 40F7FE1A.8010001@onesystem.com
обсуждение исходный текст
Ответ на NULLs in ecpg  (<wespvp@syntegra.com>)
Ответы Re: NULLs in ecpg  (<wespvp@syntegra.com>)
Список pgsql-interfaces
wespvp@syntegra.com wrote:
> I couldn't find this in the archives...  In an ecpg program, given the
> statement (taken from the manual):
> 
> EXEC SQL INSERT INTO sometable VALUES (:v1, 'foo', :v2);

Indicators works as expected.  e.g.:

EXEC SQL INSERT INTO sometable         VALUES (:v1 :v1_ind, 'foo', :v2 :v2_ind);

> 
> Is there a way to create the record where ':v1' is NULL - as with indicators
> in a FETCH?  Or, do I have to generate different SQL statements in the C
> program?
> 
> Wes
> 

-- 
Edmund Bacon <ebacon@onesystem.com>


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

Предыдущее
От:
Дата:
Сообщение: NULLs in ecpg
Следующее
От:
Дата:
Сообщение: Re: NULLs in ecpg