Warehouse User Guide > Query Editor > Using the Query Editor > Create and Save a New Query
Was this helpful?
Create and Save a New Query
You can create new queries and save them for future use. Follow the appropriate procedure for your cloud platform.
AWS AV-1 and Azure: To create a new query
1. On the Query Editor toolbar, click the New button.
A new, blank query is displayed in the query pane.
2. Enter your query text in the query pane.
Auto-complete options appear as you type. For more information about editing capabilities, see Edit Queries.
3. Enter a unique name for the query in the Query Name field on the toolbar.
4. Click the Save icon.
The saved query is now available in the Queries dialog (see Open a Saved Query).
Google Cloud and AWS AV-2: To create a new query
1. On the Query Editor toolbar, click the Add New Query icon:
A new query tab opens in the query pane.
2. Enter your query text in the query pane.
Auto-complete options appear as you type.
Google Cloud and AWS AV-2: To save the query
1. Click the Save icon.
The Save Query panel opens.
2. Enter a unique name for the query in the Query Name field.
3. (Optional) Tag the query with any tags you might search on later. Separate multiple tags with commas.
4. Choose whether the query should be shared:
Yes – Available to all users of the warehouse.
No – (Default) Queries are by default private, meaning they are only available to you.
5. Click the Save button.
The saved query is now available in the Saved Queries panel (see Open a Saved Query).
6. Click outside the Saved Queries panel to close it.
Last modified date: 01/04/2024