Running SQL queries on Pega Cloud

As a Pega Cloud client, to retrieve data from the internal PegaDATA or PegaRULES databases, you can run SELECT statements using Query Runner.

Before you begin: 
You can run queries against non-binay large objects (BLOB) columns in your database, view the results, and export the results to an Excel spreadsheet or .pdf file. A maximum of 500 rows are returned for each query.
Note: Pega Cloud Services provides Query Runner, Query Inspector, and Schema Tools in Pega Platform for clients to manage their database. These database tools are not available to on-premises clients.
  1. In the header of Dev Studio, click Configure > System > Database > Query Runner.
  2. Click the Query Entry tab.
  3. In the Choose your database field, select from the PegaRULES or PegaDATA databases that you want to run the query against.
  4. In the SQL query field, enter the query that you want to test. The query must contain the fully qualified name of the table.
  5. Click Run. Pega Platform displays the resulting SELECT SQL query in the RESULTS pane.