- 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: