Manage Enterprise Analytics Scopes
- how-to
Scopes are intermediary containers within a database to group related objects like collections, indexes, and functions.
Prerequisites
To use the Enterprise Analytics UI to manage scopes, you need the Enterprise Analytics Access
role along with specific privileges.
Create a Scope
-
In the UI, select the Workbench tab.
-
On an existing database, click + scope.
-
Enter a name for your scope. The name must start with a letter and contain only upper- and lower-case letters (A-Z, a-z), numbers (0-9), or underscore (_) and dash (-) characters. See Requirements for Identifiers.
-
Click Create.
You can also use an SQL++ for Enterprise Analytics statement to create a scope. See CREATE SCOPE Statements.
View Metadata for a Scope
Each time you add a scope, Enterprise Analytics records its metadata in the System.Metadata.Dataverse
collection.
To view metadata for a scope, you query this collection.
See Querying Metadata.
Delete a Scope
When you delete a database, Enterprise Analytics deletes all of the scopes, collections, and other objects in that database.
-
In the UI, select the Workbench tab.
-
Browse to the scope you want to delete and click the Recycle Bin icon.
-
To confirm that you want to delete the scope, click OK.
You can also use an SQL++ for Enterprise Analytics statement to delete a scope. See DROP Statements.