Re: You have an error in your SQL syntax near '' at line 1

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: You have an error in your SQL syntax near '' at line 1
Дата
Msg-id web-85497@davinci.ethosmedia.com
обсуждение исходный текст
Ответ на You have an error in your SQL syntax near '' at line 1  ("Ari Nepon" <anepon@verveinternet.com>)
Список 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
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] No subselects in constraint (bug?)
Следующее
От: "Joe Conway"
Дата:
Сообщение: Re: How can we match a condition among 2 diff. tables?