Collect SQL String using script

J

Jason Lepack

A co-worker of mine used to have a script that he would run after the
script on the page was executed, it would spit out the SQL of the
query that was dynamically created through all of the gibberish code
in the ASP page.

Does anyone know what exactly he was running?

Any help is greatly appreciated.

Cheers,
Jason
 
B

Bob Barrows [MVP]

Jason said:
A co-worker of mine used to have a script that he would run after the
script on the page was executed, it would spit out the SQL of the
query that was dynamically created through all of the gibberish code
in the ASP page.

Does anyone know what exactly he was running?
Response.Write?
 
B

Brynn

A co-worker of mine used to have a script that he would run after the
script on the page was executed, it would spit out the SQL of the
query that was dynamically created through all of the gibberish code
in the ASP page.

Does anyone know what exactly he was running?

Any help is greatly appreciated.

Cheers,
Jason

He was probably building the sql code through the site ... that is ...
sql = sql & "some more sql maybe some form requests too".

Then just ...

Response.Write sql

at the end of all that as Bob said.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top