Hello,
I need to execute more than one statement.
TSqlQuery it seems to accept multiple statements but then it gives a strange
error (posgtresql error "no parameter $2", the parameter it refers to is
defined and used in the second statement).
Multiple statements are not supported in TSQLQuery.
if it works for some statements, it purely is by accident.
So I tried a TSQlScript but then I could find no way to pass parameters.
I'm used to the zeos components and its TZSQLProcessor (rough equivalent of
TSqlScript) has parameters just like a query.
This feature is missing in TSQLScript, because I never needed it, but it
should be easy enough to add.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal