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

CreateTag task

Creates a new tag with the given name and description.

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

    An output parameter. Internal use only.

  • tag_name

    The name for the tag. (Required)

  • description

    The description for the tag. The default is NULL.

Required privileges

CreateDropTag

Remarks

The tag can be added to any host, cloud server, or database.

Example

To create a tag that applies only to client databases from the northeastern United States, run the following task:

dbcloudcmd run ExecuteTaskBatch "CALL DBCloud.CreateTag ( tag_name='Northeast', description='northeast American client databases' )"