ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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
Modify a scheduled item on an HFSQL server: scheduled task (stored procedure), backup, optimization, refresh of a materialized view.
Example
// Description de la connexion
MaConnexionBase is Connection

// Suppression de toutes les sauvegardes planifiées
tabDescSvg is array dynamic of hBackupDescription 
tabDescSvg = MaConnexionBase.ListScheduling(hlpBackup)
hDescSvg is hBackupDescription
FOR EACH hDescSvg OF tabDescSvg
	IF hDescSvg.LimitNumberBackups = 3 THEN 
		hDescSvg.LimitNumberBackups = 5
		MaConnexionBase.ModifyScheduling(hDescSvg)
	END
END
Syntax

Modifying a scheduled task Hide the details

<Result> = <Connection>.ModifyScheduling(<Scheduled task>)
<Result>: Boolean
  • True if the scheduled task was modified,
  • False if an error occurs. HErrorInfo is used to identify the error.
<Connection>: Connection variable
Name of the Connection variable that describes the connection for which a scheduled task must be modified.
<Scheduled task>: hScheduledTask variable
Name of the hScheduledTask variable describing the task that triggers a stored procedure.

Modifying a scheduled optimization task Hide the details

<Result> = <Connection>.ModifyScheduling(<Scheduled optimization task>)
<Result>: Boolean
  • True if the scheduled optimization task was modified
  • False if an error occurs. HErrorInfo is used to identify the error.
<Connection>: Connection variable
Name of the Connection variable that describes the connection for which a scheduled optimization task must be modified.
<Scheduled optimization task>: hScheduledOptimization variable
Name of the hScheduledOptimization variable used.

Modifying a backup scheduling Hide the details

<Result> = <Connection>.ModifyScheduling(<Scheduled backup>)
<Result>: Boolean
  • True if the scheduled backup was modified,
  • False otherwise.
<Connection>: Connection variable
Name of the Connection variable that describes the connection for which a scheduled backup must be modified.
<Scheduled backup>: hBackupDescription variable
Name of the hBackupDescription variable used.

Modifying a scheduling for refreshing a materialized view Hide the details

<Result> = <Connection>.ModifyScheduling(<Materialized view>)
<Result>: Boolean
  • True if the scheduling was modified,
  • False otherwise.
<Connection>: Connection variable
Name of the Connection variable that describes the connection for which a materialized view refresh scheduling must be modified.
<Materialized view>: hScheduleMaterializedView variable
Name of the hScheduleMaterializedView variable containing the description of the materialized views to refresh.
Component: wd300hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help