Queries Index¶
This page introduces the options for configuring and managing Queries using the kdb Insights Enterprise Web Interface.
Ways to query your data¶
You can query your data in kdb Insights Enterprise from the web interface, from your own tools, or programmatically:
| Where you work | What you use | Use it to |
|---|---|---|
| Web interface | Query panel | Build basic, SQL, q, and UDA queries without writing code. |
| Web interface | Scratchpad panel | Run ad hoc q or Python code against your databases. |
| kdb VS Code extension | Scratchpad | Run q or Python from your editor, in the same Scratchpad as the web interface. |
| q or Python code in the Scratchpad | Scratchpad Query APIs | Query your databases from code. This works from both the web interface and VS Code. |
| Command line | kxi query |
Run SQL or UDA queries from a terminal or script. |
| External applications | REST or QIPC | Query the database directly from your own applications. |
| Power BI | Power Query connector | Import data into Power BI. |
For a full comparison, refer to Query methods.
Query management options¶
The following query management options are available in the web interface:
- View an index of queries.
- Use the query window for basic, SQL,q and UDA query and analysis.
- View query results.
- Use the Scratchpad to query the database.
- Use q and Python to develop and debug pipelines, or run arbitrary code.
- Learn about the Scratchpad in the Scratchpad Overview.
Index of Queries¶
Click on Queries in the left-hand menu to view a list of all your queries.

The following details are displayed:
| Column | Description |
|---|---|
| Name | The query name. Click on the name to go to the query window. |
| Actions | Click the three dots, to the right of the query, to view the actions available. |
Query actions¶
The actions that can be performed on queries, are shown on the actions menu, which can be access by either:
- Opening the index of queries and clicking the three dots to the right of the query name.
- Opening the list of the queries in the left-hand menu and clicking the three dots to open the menu.
| Action | Description | |
|---|---|---|
| Rename | Enter a new name and click OK. | ![]() |
| Delete | Click to delete a query. Confirm the action by clicking Delete. |
