dbcc traceon(3604)
go
dbcc sqltext(50)
go
sp_showplan 50,null,null,null
go
result:
DBCC execution completed. If DBCC printed error messages, contact a user with System Administrator (SA) role.
SQL Text: rollback transaction
DBCC execution completed. If DBCC printed error messages, contact a user with System Administrator (SA) role.
The process with the specified spid value '50' has not been assigned an sqltext structure. Query plan retrieval cannot continue.
(1 row affected)
(return status = 1)