On Thu, Mar 22, 2012 at 08:00,  <mkkr...@hotmail.com> wrote:
> LINE 1: select * from variety_dir where crop_cd= and variety_cd=1

You're missing a value for the crop_cd= clause. This error is supposed to occur.

> Query works from SQL Screen. When uses through php it fails.

You probably executed a different query from there.

Regards,
Marti

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to