If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Unanswered: how to detect the function name which is being run

Hi All,

I have a case where I need to detect the function name from the function I'm running now.
I was working on MS SQL database before, and I can use @@procid to get the procedure name I'm running, inside it's own procedure.