Hello All,
I wonder if anybody has found a command or tool to gather the last (truly the last) executed command in SQL 2000. I have used DBCC INPUTBUFFER and it works pretty well, as long as you are not executing a stored procedure. In this case, it only displays SP_PREPEXEC which is the pre-compilation of the stored procedure but hides the actual commands being executed.
Any help would be appreciated.
Thanks,
Antonio Lozada
www.lozadaproductions.com