> This page is for Docs.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://zuora.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://zuora.ferndocs.com/_mcp/server.

# Save data queries

> Learn how to save, view, and run data queries using the Data Query UI.

Learn how to save, view, and run data queries using the Data Query UI.

When you create a new data query through Data Query UI, you can save the query. You can then re-run the saved query in the future without constructing the SQL query again. You can access all the saved queries in your tenant.

Click **SAVE QUERY** upon completing the construction of your new query on the Create Data Query page. Click the query name of the saved query that you want to update in the list of saved queries.

In the Save Query dialog, input the name and description of the query into the **QUERY NAME** and **DESCRIPTION** fields respectively.

Click SAVE.

> **Note**
>
> The max length of a query string that you can save is 20,000.

(Optional) To view your saved queries:

1. Navigate to **Extension Studio > Data Query**.
2. Click the **SAVED QUERIES** tab on the Data Query page. The list of saved queries is displayed.

(Optional) To run a saved query:

1. Click the query name of the saved query that you want to run from the list of saved queries.
2. Click **RUN QUERY** on the query detail page.

To update or delete a saved query, refer to [Update or delete data queries](/docs/platform/data/data-query/use-data-query-through-user-interface/update-or-delete-data-queries).