Subject | Re: [firebird-support] Re: named parameter always replaced by '?' |
---|---|
Author | Martijn Tonies |
Post date | 2004-11-26T16:28:59Z |
Hello Roberto,
That's why I asked where you actually get the sample above.
Please, in your first post, you said that you had "ParamCheck" to "False"
of your TSQLQuery component.
I asked you to do the same with our driver. Next, you come up with some
parameter thing in "series_no" - which is no-where to be found in either
your first question, or your example you gave with this post.
So, WHAT are you trying to do? And HOW are you currently trying
to do it? And with what driver, of course.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> It is a create stored procedure statement not a select statement. TheThis:
> code is as follows:
> -----Has nothing to do with:
> CREATE PROCEDURE TEST (
> FIELD1 INTEGER)
> RETURNS (
> FIELD2 INTEGER)
> AS
> Begin
> FOR SELECT FIELD2 FROM TABLE1
> WHERE FIELD1 = :FIELD1
> INTO "FIELD2"
> DO
> BEGIN
> SUSPEND;
> END
> End
> ------
> > > I tried using upscene latest dbexpress trial driver, I got theDoes it?
> > > following changes:
> > >
> > > ------
> > >
> > > WHERE SERIES_NO = ? /* PRM_0 */ AND PARTY_NO_START = ? /* PRM_1 */
> > >
> > > ------
> > > Any clue to remove the '?' replacement?
That's why I asked where you actually get the sample above.
Please, in your first post, you said that you had "ParamCheck" to "False"
of your TSQLQuery component.
I asked you to do the same with our driver. Next, you come up with some
parameter thing in "series_no" - which is no-where to be found in either
your first question, or your example you gave with this post.
So, WHAT are you trying to do? And HOW are you currently trying
to do it? And with what driver, of course.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com