Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Schedule.SetSQL

Sets the SQL for the schedule.

Component Version macOS Windows Linux Server iOS SDK
Schedule 5.2 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "Schedule.SetSQL"; ScheduleRef; SQL )   More

Parameters

Parameter Description Example
ScheduleRef The reference for a scheduled script call or sql query as returned by Schedule.StartScript* functions or Schedule.ExecuteSQL* functions. $ref
SQL The SQL to execute. "INSERT INTO Contacts (FirstName, LastName) Values('Bob', 'Miller')"

Result

Returns OK or error.

Description

Sets the SQL for the schedule.

See also

Created 20th May 2015, last changed 20th May 2015


Schedule.SetRepeatDelay - Schedule.SetScriptName

Feedback: Report problem or ask question.