From: | "Josh Berkus" <josh(at)agliodbs(dot)com> |
---|---|
To: | <anepon(at)verveinternet(dot)com>, "Pgsql-Sql" <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: You have an error in your SQL syntax near '' at line 1 |
Date: | 2001-07-13 19:01:16 |
Message-ID: | web-85497@davinci.ethosmedia.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Ari,
> I keep getting this error "You have an error in your SQL syntax near
> '' at
> line 1" when I try to run the below query. Does anyone know what I'm
> missing? Maybe some of the variables need to be in single or double
> qoutes?
> I tried a bunch of things, but no change.
The first thing you should do is modify your program so that it outputs
the query text it's actually passing to the database to a text file or
stdout instead. Once you see the actual query and not a bunch of
string variables, the error may jump out at you.
-Josh
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
From | Date | Subject | |
---|---|---|---|
Next Message | dev | 2001-07-14 15:29:57 | Re: Date Validation? |
Previous Message | Tom Lane | 2001-07-13 19:00:27 | Re: No subselects in constraint (bug?) |