Hello all,
I was wondering if there was a way to increase the DBCC INPUTBUFFER size, by default it's char(255).
Basically I am attempting to write a procedure that will alert me with the spid and executed SQL statement that was executed when a query runs for an extended length of time.
Currently if you where to attempt to view a running spid's SQL it only returns the first 255 chars of the statement, I need to see it all. I understand I can setup a trace but it can't be called.
Any thoughts?
Thanks,
TalenX
I was wondering if there was a way to increase the DBCC INPUTBUFFER size, by default it's char(255).
Basically I am attempting to write a procedure that will alert me with the spid and executed SQL statement that was executed when a query runs for an extended length of time.
Currently if you where to attempt to view a running spid's SQL it only returns the first 255 chars of the statement, I need to see it all. I understand I can setup a trace but it can't be called.
Any thoughts?
Thanks,
TalenX