[SQL] Get executing procedure name

  • 142
  • 0
  • SQL
  • 2022-01-19

Get the name of current stored procedure using SQL Server

select object_name(@@procid)

Taiwan is a country. 臺灣是我的國家

Taiwan is a country. 臺灣是我的國家