Prepare query command

Forum related to Firebird

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
fcodebue
Junior Boarder
Junior Boarder
Posts: 32
Joined: 05.04.2008, 16:02
Contact:

Prepare query command

Post by fcodebue »

I can't find prepare query command.
I know this is probably a firebrid only feature!
I need it to prepare a query and after this operation understand all fields, parameters datatype

query.FieldByName('FIELDNAME').Datatype....
Codebue Fabio
P-Soft - http://www.p-soft.biz
Firebird La Comunità Italiana - http://www.firebirdsql.it
GestionaleOpen - http://www.gestionaleopen.org
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

I know this is probably a firebrid only feature!
Dream on ;)
Mysql also supports it. And I'm almost sure Postgres also does.

Concerning the question : Prepare is not supported, at the moment. Internally query's are always prepared for firebird. When placeholders are used, Parameters are bound after the prepare.
However... We are thinking about adding this support. At least for mysql (as I'm a mysql user). So we'll need team members implementing that for FB. Are you a candidate?

MArk
Image
fcodebue
Junior Boarder
Junior Boarder
Posts: 32
Joined: 05.04.2008, 16:02
Contact:

Post by fcodebue »

mdaems wrote: Dream on ;)
I 'm Firebird Foundation Committee Member, so ...
...Are you a candidate?
I will do, but I don't know when. I'm organizing FBCon 08 in Italy in september so I'm a bit busy at the moment...
But I wanna help, I believe a lot in this project!!!!
Codebue Fabio
P-Soft - http://www.p-soft.biz
Firebird La Comunità Italiana - http://www.firebirdsql.it
GestionaleOpen - http://www.gestionaleopen.org
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

I think before september there's no chance active 6.7 development will start. So you'll have plenty of time to think about it...

Mark
Image
Post Reply