TRANXACT.AI Help
Platform › Analytics

Saved Queries

Ad-hoc analysis that anyone can re-run. Only SELECT and WITH are allowed, one statement at a time, capped and timed out — and every run is logged, including the ones that were refused.

Where to find it

  1. Module: Platform
  2. Group: Insight
  3. Section: Analytics
  4. Screen: Saved Queries

Address in the console: /platform/queries

List · 8 columns · 8 fields on its form · 3 of them required · 2 actions

What the list shows

These are the columns of the list, in the order they are drawn. Any of them can be sorted on, filtered on, hidden, or exported.

ColumnKindField name
QueryCodecode
NameTextname
DatasetCodedataset_code
Row limitNumberrow_limit
RunsNumberrun_count
Avg msNumberavg_duration_ms
Last runDate and timelast_run_at
SharedYes or nois_shared

The form

What is asked for when a record is created here. Required fields are marked; a choice drawn from a configuration list is one an administrator can extend without a release.

FieldTypeChoicesNotes
Query code required Text
Name required Text
Description Long text
Dataset Choice Looked up from existing records
SQL required Long text
Row limit Number
Owner Choice Looked up from existing records
Shared Yes or no

What you can do here

Run SQL

On the toolbar, above the list.

Run a read-only query

Asks for: SQL* Row limit

Run primary

On each row of the list.

Run this query

* required

The rules that apply here

Everything on this screen obeys the platform rules rather than rules of its own. The ones worth knowing before you use it:

Beside it in Analytics