unable to assign value to variable in plpgsql - Mailing list pgsql-novice

From Chirag Mittal
Subject unable to assign value to variable in plpgsql
Date
Msg-id 1392553348538-5792281.post@n5.nabble.com
Whole thread Raw
Responses Re: unable to assign value to variable in plpgsql
Re: unable to assign value to variable in plpgsql
Re: unable to assign value to variable in plpgsql
List 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 by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: [SQL]
Next
From: Vik Fearing
Date:
Subject: Re: unable to assign value to variable in plpgsql