SQL editor
Open Data Query to use the SQL editor. Use the left pane to select an environment, DataSource, and database objects. Use the right pane to edit and run SQL.
Open a query tab
- Open Data Query.
- Select an environment and a DataSource in the left pane.
- Expand the DataSource and double-click the database or schema you want to use.
- CloudDM opens a query tab for the selected database or schema.
The tab keeps its DataSource and database context. Before writing SQL, check that the tab points to the intended resources.
Edit SQL
Type or paste SQL into the editor. Code suggestions depend on the DataSource type, database objects, and account permissions.
To execute SQL, right-click in the editor and choose run, or use the keyboard shortcut shown on the page. Check the selection first. The editor typically runs the selected SQL. With no selection, it uses the current statement.
Change the font size
Click T in the toolbar and select S, M, or L.
Resource permissions, environment read-only settings, security rules, and ticket settings determine whether you can run SQL directly.