SHOW WORKSPACES
On this page
The SHOW WORKSPACES command returns information on workspaces.
Syntax
SHOW WORKSPACES [ IN GROUP { ID '<group_ID>' | '<group_name>' } ]
[ LIKE '<pattern>' ] [ EXTENDED ]
[ ORDER BY '<key>' [ ASC | DESC ],... ] [ LIMIT <limit> ]Arguments
-
group_,ID group_: The ID or name of the deployment (workspace group) that contains the workspace.name -
pattern: Specifies a pattern similar to the SQLLIKEclause and returns workspaces with names that match the specified pattern.Uses %as the wildcard character. -
key: Key used to sort the result set. -
limit: An integer value.
Remarks
-
The
LIMITclause limits the number of results to the specified number. -
By default, the result is sorted in the ascending order.
-
Specify the
EXTENDEDclause to return more information on the files.
Example
The following command returns information on all the workspaces in the workspace group named s2-group and sorts the result by Name in the ascending order:
SHOW WORKSPACES IN GROUP 's2-group' EXTENDED ORDER BY Name;
Last modified: