Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP SQL Anywhere, on-demand edition 1.0 SP 6 » Task syntax

SetDefaultMaintenancePlan task

Sets a maintenance plan to be the default.

Syntax 1 (SQL)
CALL DBCloud.SetDefaultMaintenancePlan ( plan=plan )
Syntax 2 (Cloud Command utility)
dbcloudcmd run SetDefaultMaintenancePlan plan
Parameters
  • plan

    The plan. Accepts a search query that identifies one plan, for example a plan name or ID. (Required)

Required privileges

BackupDatabase

Remarks

Existing databases are not changed, but any new databases added to the cloud are assigned the new default.

Example

Run the following task to set the plan called daily as the default maintenance plan in the cloud:

dbcloudcmd run SetDefaultMaintenancePlan plan=daily