You are here: Pega Platform database > Database administration and performance > Testing SQL queries > Exporting previously run query results

Exporting previously run query results

You can export results from queries previously run in the Query Runner.

Note: You need the PegaRULES:DatabaseAdministrator role to access the Query Runner.

  1. Click Designer Studio > System > Database > Query Runner.
  2. Click the History tab.
  3. Click the row of the query for which you want to export results.
  4. Click Export > Export to Excel or Export > Export to pdf.