-
SQL Server – Get Proc Name From Within Proc
Use this system function and variable to get the name of a stored procedure from within the procedure itself. The Object Id can also be returned.
-
Enable xp_cmdshell in SQL Server 2008
Enable xp_cmdshell with a few lines of T-SQL. Fast and Easy!