Indicators

Поиск
Список
Период
Сортировка
От Atif Jung
Тема Indicators
Дата
Msg-id u2kd1c6b9c51004270405n9358def3wa671566bb71048ec@mail.gmail.com
обсуждение исходный текст
Список pgsql-novice
Am I correct in understanding that when doing a select on a table I cannot retrieve a NULL value from the database directly into the variable I'm selecting into, but I must use an indicator. So for example
 
EXEC SQL SELECT b INTO :val FROM test1;
 
will fail if b is NULL, so I must use
 
EXEC SQL SELECT b INTO :val :val_ind FROM test1;
 
and then check the value of val_ind. If 0 then val is not NULL is -ve then it is NULL?
 
Thanks

Atif

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

Предыдущее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: install both i386 and x86_64 libs
Следующее
От: SIMON@hslc.org
Дата:
Сообщение: Program Syntax Help Needed