Adds or modifies a server trigger on the HFSQL server. To perform these operations:
- The trigger must have been previously described in the analysis.
- The stored procedure released by the trigger must exist on the server. This procedure can be updated by HRefreshSet.
This function is used to update the HFSQL server without having to perform an automatic data update.
Reminder: The server triggers are stored procedures run by the server before or after a write operation performed on a database file. See
Server triggers for more details.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 22 and later
New in version 22
HCreateServerTrigger(ClientTrigger)
Syntax
<Result> = HCreateServerTrigger(<Trigger>)
<Result>: Boolean
- True if the operation was performed,
- False if a problem occurred. HErrorInfo is used to identify the error.
<Trigger>: Character string (with or without quotes)
Name of the server trigger to create. This trigger was described in the analysis. If this parameter corresponds to "*", all the triggers described in the analysis will be created.
Remarks
The server triggers described in the analysis can be updated via the automatic data modification.
Business / UI classification : Business Logic