Quote:
Originally posted by Bullschmidt
Instead of acting on the SQL statements you could have your Web page simply print the statements. Then you could separately test them one by one by copying and pasting them into something like the query builder area of Access changing any % to be * instead.
|
Thanks.... but I'm not sure I understand you're suggestion.
The point is that I'm already certain of the basic structure of the SQL... that's no problem. My issue is with the data that a user might enter.
I don't want to wait until I actually submit the query to know if it will work ok. I'm looking for a way to test the query... just as if it were submitted... but not actually have it processed.
The issue is that these multiple queries rely on diverse and unpredictable data entry.... with untrusted users. In addition, if submitted, the queries willl take a LONG time to run, and will modifiy existing data..... which means reversing them will be a big of a nightmare.
What I'm now doing is simply checking for illegal characters before submitting the query.
Tim