From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1000699 ] Problem creating TableAdapter with WHERE parameter
Date: Fri, 4 Aug 2006 23:51:31 +0000 (UTC)
Message-ID: <20060804235131.0325E86C625@pgfoundry.org> (raw)
Bugs item #1000699, was opened at 2006-08-04 20:51
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000699&group_id=1000125
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Adriano Bonat (adrianob)
Assigned to: Nobody (None)
Summary: Problem creating TableAdapter with WHERE parameter
Initial Comment:
I'm having problem when creating a TableAdapter (via TableAdapter Wizard), I build a query using Query Builder like this:
SELECT id, name
FROM "public".cc_projects
WHERE (id = ?)
executing the query runs fine, asking me the value of '?' and returning the selected data. I continue the process leaving 'Fill' and 'return DataTable' marked, when the wizard start to generate the code, it throws this error:
The wizard detected the following problems when configuring the TableAdapter: "Fill":
Details:
Generated SELECT statement.
ERROR [42601] ERROR: syntax error at or near ")";
Error while executing the query
If I put a fixed value in the query, like 'id=1' it works fine.
Follow attached a zipped file with 2 log files that could help you, any other information that you need, just ask me.
Thanks.
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000699&group_id=1000125
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: noreply@pgfoundry.org
Subject: Re: [ psqlodbc-Bugs-1000699 ] Problem creating TableAdapter with WHERE parameter
In-Reply-To: <20060804235131.0325E86C625@pgfoundry.org>
References: <20060804235131.0325E86C625@pgfoundry.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox