- Categories:
System functions (System Information)
SYSTEM$CURRENT_ USER_ TASK_ NAME¶
Returns the name of the task currently executing when invoked from the statement or stored procedure defined by the task.
Syntax¶
Arguments¶
None.
Examples¶
Insert the name of the current task into a table along with the current time: