unable to assign value to variable in plpgsql

Поиск
Список
Период
Сортировка
От Chirag Mittal
Тема unable to assign value to variable in plpgsql
Дата
Msg-id 1392553348538-5792281.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: unable to assign value to variable in plpgsql  (Vik Fearing <vik.fearing@dalibo.com>)
Re: unable to assign value to variable in plpgsql  (Martin Steer <martinsteer@maxi.net.au>)
Re: unable to assign value to variable in plpgsql  (David Johnston <polobo@yahoo.com>)
Список pgsql-novice
Hi, I am trying to assign number of row as integer Tried 1 maz int :=(SELECT count(col1) FROM table WHERE col1 = quote_literal(in val1)); Tried 2 EXECUTE 'SELECT count(col1) FROM table WHERE col1 = quote_literal(val1) INTO maz'; getting error INTO Regards Chirag

View this message in context: unable to assign value to variable in plpgsql
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: [SQL]
Следующее
От: Vik Fearing
Дата:
Сообщение: Re: unable to assign value to variable in plpgsql