no parameterized query but query actually passed



I use a parameterized query. Something like

$query = "SELECT * FROM Customer WHERE CustNo = :Number";
ParamByName('Number').AsInteger := 4;

I would like to see the SQL statement actually being passed, so with
the parameters replaced by the actual values

That would be

"SELECT * FROM Customer WHERE CustNo = 4"

Is this possible? I know it is possible with a third party tool, but is
it possible from the Delphi code?

Thanks,
B.

.


Quantcast