Hello,
How to get an SQL statement with expanded macros / where / orderby and params ?
FinalSQL doesn't expand Parameters.
Thank you
How to get an SQL statement with expanded macros / where / orderby and params ?
-
- Posts: 451
- Joined: Wed 19 Jan 2005 09:59
Re: How to get an SQL statement with expanded macros / where / orderby and params ?
Hello,
If you want to retrieve the query text with parameter values being already pasted, you need to parse the query text in the OnSQL event and paste parameter values instead of their names, that can be retrieved with a loop through all parameters.
If you want to retrieve the query text with parameter values being already pasted, you need to parse the query text in the OnSQL event and paste parameter values instead of their names, that can be retrieved with a loop through all parameters.
-
- Posts: 451
- Joined: Wed 19 Jan 2005 09:59
Re: How to get an SQL statement with expanded macros / where / orderby and params ?
Hello Alex,
Is there any reasons why FinalSQL doesn't expands parameters ?
BR
Is there any reasons why FinalSQL doesn't expands parameters ?
BR
Re: How to get an SQL statement with expanded macros / where / orderby and params ?
This is because of the fact that in majority of servers parameters are not set in the query, but binded.