Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
See Query Being Passed To SQL
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01381127
Message ID:
01381293
Views:
34
>Kevin,
>
>
dbcc inputbuffer()
>
>will get the first 255 bytes of the last query run on a spid.
>
>>From within SQL is it possible to look at the command/query being sent from an application?

--I'm getting "An incorrect number of parameters was given to the DBCC statement."

Update - INPUTBUFFER () requires a SPID. How do I know the SPID?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform