Sybase has a system command called sp_showplan that will show the execution plan for a running spid. Is there a way to do this in SQL Server? I know that you can run a DBCC INPUTBUFFER(spid) command to see what command was last sent to the server.
Thanks.