G
Guest
Hi,
I'm currently creating an application with a lot of select statements in it.
For security reasons I always use parameters.
The problem with parameters is that when you want to review your select
statement with selectCommand.CommandText, you see the name of the parameters
in case of there values.
Is there a way to get the selectstring with the values of the parameters ?
I know that I can select the parameters manually but it would be handy if
there was a function who did this automatically. This way it is easier to
test the query in Query Analyzer.
Thanks in advance,
Geert Verhoeven
I'm currently creating an application with a lot of select statements in it.
For security reasons I always use parameters.
The problem with parameters is that when you want to review your select
statement with selectCommand.CommandText, you see the name of the parameters
in case of there values.
Is there a way to get the selectstring with the values of the parameters ?
I know that I can select the parameters manually but it would be handy if
there was a function who did this automatically. This way it is easier to
test the query in Query Analyzer.
Thanks in advance,
Geert Verhoeven