How can I see the complete running SQL Statement in SQL Server 2000?

  • I'm trying to assist in debugging a sql issue on a SQL Server 2000 box. Using Enterprise Manager, if I look at Current Activity> Process Info and click on the running process, I only see a small portion of the expected sql statement. Is there a way to see the whole statment? I'm not that familiar with the sql server env, so I don't know where to find this. This is a vendor application, so I can't see the source code that's generating the statement. I need to see it, as it's running, similarly to Oracles OEM.

    Thanks

    Bob
    Not a downstroke, fistpicker

  • Check this out:

    http://vyaskn.tripod.com/fn_get_sql.htm

    MJ

  • use DBCC INPUTBUFFER(SPID)

    Rajesh Kasturi

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply