Hello!
The TZQuery/TZReadOnlyQuery provides a method that returns the SQL with the parameter values replaced?
Josimar
How to get the sql with parameters replaced?
Moderators: gto, EgonHugeist
Hello!
That's exactly what I want. However, the TZSQLMonitor returns SQL without parameter values substituted. It replaces the parameter name with the symbol "?". Example:
What I really want to see is the SQL with the parameters replaced by their values:
Thanks,
Josimar
That's exactly what I want. However, the TZSQLMonitor returns SQL without parameter values substituted. It replaces the parameter name with the symbol "?". Example:
Code: Select all
SELECT
CD_PERSON,
NM_PERSON
FROM
PERSON
WHERE
NM_PERSON LIKE ?
Code: Select all
SELECT
CD_PERSON,
NM_PERSON
FROM
PERSON
WHERE
NM_PERSON LIKE '%van basten%'
Josimar
Hello!
I'm using the TZSQLMonitor component for implement a SQL debugger to my application. I was wrong in thinking that the component does not replace the query parameters.
I take this opportunity to ask: has provision for release version 7 stable?
As for the topic, consider it solved!
Tanks!
Josimar
I'm using the TZSQLMonitor component for implement a SQL debugger to my application. I was wrong in thinking that the component does not replace the query parameters.
I take this opportunity to ask: has provision for release version 7 stable?
As for the topic, consider it solved!
Tanks!
Josimar