---
title: Custom SQL Reports
description: "Custom [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) reports refer to reports that are generated using custom [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) (Structured Query Language) queries to extract and analyze data from a relational database. [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) is a programming language designed for managing and manipulating structured data, often used in…"
url: "https://learnpcr.pcrecruiter.net/site/docs/custom-reports/custom-sql-reports/"
updated: "2026-09-25"
category: "Analytics & Reporting / Custom Reports"
---

# Custom SQL Reports

Custom [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) reports refer to reports that are generated using custom [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) (Structured Query Language) queries to extract and analyze data from a relational database. [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) is a programming language designed for managing and manipulating structured data, often used in conjunction with database management systems.

In the context of reporting, custom [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) reports allow users to create reports by crafting their own [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) queries. These queries can be designed to pull particular data fields based on unique requirements.

Custom [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) reports are particularly valuable when standard reporting tools or interfaces do not offer the level of customization needed. It is important to note that creating custom [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) reports requires a solid understanding of [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) and the underlying database structure.

Custom [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) Reports can be developed per special request from the Main Sequence development group.

## Adding Custom [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) Report Code

1. Click “Reports” on the main toolbar.
2. Click on the “Manage Custom Reports” action icon.
3. Click on the “Custom [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) Reports” tab.
4. Click the “Add” button to create a new report.
5. In the “Grandmaster [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) Report” section, replace the placeholder [[Report Title]] with your desired report name.
6. In the "Master [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) Statement" section, paste the report code.
7. Navigate to the "Body Rows" area and select the data source.
8. Navigate to the "Header Rows" area and edit headers as necessary.
9. Click "Save". The report is accessed from the Custom [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) Reports section under Reports.

### Important Details

Custom [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) Reports offer [Rollup](https://learnpcr.pcrecruiter.net/site/encyclopedia/rollup-2/) or Date Range filters, but it's crucial to note that these filters must be explicitly coded in the report. They are not assumed by default. Alternatively, you have the option to hard code specific filters, such as *FROM Positions WHERE Positions.Status='A',* directly within the FROM and WHERE sections of your code. This allows you to enforce a more rigid set of criteria, narrowing down your report results according to your specific requirements.

Custom [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) Reports can be created upon request. To initiate this process, a comprehensive specification outlining your specific requirements is necessary. Once the details are defined, we can provide you with a quote for the development of the custom [SQL](https://learnpcr.pcrecruiter.net/site/encyclopedia/sql/) reports tailored to your unique needs.

![](https://learnsuite.pcrecruiter.net/site/wp-content/uploads/sites/7/2023/12/Cust-SQL-1024x645.jpg)
