Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
See Query Being Passed To SQL
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01381127
Message ID:
01381293
Vues:
33
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform