On Thu, Mar 22, 2012 at 08:00, <mkkrish(at)hotmail(dot)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