Home | Previous Page | Next Page   Function Descriptions >

mi_trigger_name( )

The mi_trigger_name( ) function returns the name of the currently executing trigger.

Syntax

mi_string *mi_trigger_name(void)
Valid in Client LIBMI Application? Valid in User-Defined Routine?
No Yes

Usage

The mi_trigger_name( ) function queries the database server for the table on which the trigger is being is executed and returns the values of the owner name and the trigger name.

Return Values

ownername.triggername
is the name of the currently executing trigger.
NULL
indicates that the UDR is currently not executing as a part of trigger action.

Related Topics

See also descriptions of mi_trigger_event( ), mi_trigger_get_new_row( ), mi_trigger_get_old_row( ), mi_trigger_level( ), and mi_trigger_tabname( ).

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]