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

AlterTag task

Alters a tag's description.

Syntax 1 (SQL)
CALL DBCloud.AlterTag ( tag=tag [, optional-parameters ] )
Syntax 2 (Cloud Command utility)
dbcloudcmd run AlterTag tag [ optional-parameters ]
Parameters
  • tag

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

  • description

    The description of the tag, in quotes. The default is the current value.

  • object_etag

    Internal use only. The default is NULL.

  • object_updated

    The last time the object was modified. If provided, the task fails if the object hasdbcloudcmd -v describe taskThe last time the object was modified. If provided, the task fails if the object has changed since the specified time. The default is NULL. changed since the specified time. The default is NULL.

Required privileges

CreateDropTag

Remarks

The AlterTag task can be used to change the description of a tag.

To ensure that you are not over-writing another user's changes, run The last time the object was modified. If provided, the task fails if the object hasdbcloudcmd -v describe taskThe last time the object was modified. If provided, the task fails if the object has changed since the specified time. The default is NULL. changed since the specified time. The default is NULL. to get the time the cloud was last modified. Specify this value as the object_updated parameter. If the cloud has been altered since the specified time, then the task fails with an error. If this occurs, run the task again after re-running dbcloudcmd -v describe task.

Example

Run the following task to alter the description of the tag mytag:

dbcloudcmd run AlterTag tag="mytag" description="The new description"