MySQL Forums
Forum List  »  Stored Procedures

Get name of stored proc
Posted by: adam schwartz
Date: August 12, 2012 11:58PM

How can i obtain the name of the stored procedure that is currently executing?

For debugging purposes, i'd like to print out the name of the stored procedure or function that i am in. I guess it would be some kind of information function, like DATABASE() or CONNECTION_ID() or USER().

I have not found such a function.
Anyone have a workaround??

thanks,
adam

Options: ReplyQuote


Subject
Views
Written By
Posted
Get name of stored proc
1763
August 12, 2012 11:58PM
969
August 13, 2012 05:48AM
1161
August 21, 2012 11:01AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.