ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV, WEBDEV and WINDEV Mobile 2025 feature!
Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Lists the executions of a scheduled operation on an HFSQL server. This operation can be a scheduled task (stored procedure), backup, optimization or a materialized view refresh.
Example
IF NOT HListSchedulingHistory(MyDatabaseConnection, MyScheduledTask) THEN
	Trace(HErrorInfo())
END
Syntax

Listing the execution history of a scheduled backup Hide the details

<Result> = HListSchedulingHistory(<Connection> [, <Scheduled backup> [, <Number of elements>]])
<Result>: Array of hSchedulingHistory variables
Array of hSchedulingHistory variables, corresponding to the different executions of the scheduled backup.
<Connection>: Character string or Connection variable
Connection to use. This connection corresponds to:
<Scheduled backup>: Optional hBackupDescription variable
Name of the hBackupDescription variable for which history is to be listed. If this parameter is not specified, the result will be the execution history of all scheduled backups defined for the connection.
<Number of elements>: Optional integer
Maximum number of history entries to list.
Note: By default, the history contains up to 100,000 entries. You can change this value using the HSetServer function, or in the HFCONF.INI file.

Listing the execution history of a scheduled optimization Hide the details

<Result> = HListSchedulingHistory(<Connection> , <Scheduled optimization> [, <Number of elements>])
<Result>: Array of hSchedulingHistory variables
Array of hSchedulingHistory variables, corresponding to the different executions of the scheduled optimization.
<Connection>: Character string or Connection variable
Connection to use. This connection corresponds to:
<Scheduled optimization>: hScheduledOptimization variable
Name of the hScheduledOptimization variable for which history is to be listed. If this parameter is not specified, the result will be the execution history of all scheduled backups defined for the connection.
<Number of elements>: Optional integer
Maximum number of history entries to list.
Note: By default, the history contains up to 100,000 entries. You can change this value using the HSetServer function, or in the HFCONF.INI file.

Listing the execution history of a scheduled task Hide the details

<Result> = HListSchedulingHistory(<Connection> , <Scheduled task> [, <Number of elements>])
<Result>: Array of hSchedulingHistory variables
Array of hSchedulingHistory variables, corresponding to the different executions of the scheduled task.
<Connection>: Character string or Connection variable
Connection to use. This connection corresponds to:
<Scheduled task>: hScheduledTask variable
Name of the hScheduledTask variable for which history is to be listed. If this parameter is not specified, the result will be the execution history of all scheduled backups defined for the connection.
<Number of elements>: Optional integer
Maximum number of history entries to list.
Note: By default, the history contains up to 100,000 entries. You can change this value using the HSetServer function, or in the HFCONF.INI file.

Listing the execution history of a scheduled refresh of a materialized view Hide the details

<Result> = HListSchedulingHistory(<Connection> , <Scheduled materialized view> [, <Number of elements>])
<Result>: Array of hSchedulingHistory variables
Array of hSchedulingHistory variables, corresponding to the different executions of the scheduled refresh of a materialized view.
<Connection>: Character string or Connection variable
Connection to use. This connection corresponds to:
<Scheduled materialized view>: hScheduleMaterializedView variable
Name of the hScheduleMaterializedView variable for which history is to be listed. If this parameter is not specified, the result will be the execution history of all scheduled backups defined for the connection.
<Number of elements>: Optional integer
Maximum number of history entries to list.
Note: By default, the history contains up to 100,000 entries. You can change this value using the HSetServer function, or in the HFCONF.INI file.
Business / UI classification: Business Logic
Component: wd300hf.dll
Minimum version required
  • Version 2025
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/14/2025

Send a report | Local help