Collect SQL String using script

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jason Lepack

    #1

    Collect SQL String using script

    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
  • Bob Barrows [MVP]

    #2
    Re: Collect SQL String using script

    Jason Lepack wrote:
    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?

    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Comment

    • Brynn

      #3
      Re: Collect SQL String using script

      On Mar 3, 1:51 pm, Jason Lepack <jlep...@gmail. comwrote:
      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.

      Comment

      Working...