> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SQL query

> Example of an ABBYY FlexiCapture custom report built on an SQL query, describing the XML definition and RPT files that return the first 100 event log records.

The sample report based on a SQL query contains the following files:

* SampleSQLTextCustomReportRussian.xml – an XML file with a description of the report.
* SampleDataSetReportRussian.rpt – a file that contains the report. This file is the same for reports based on stored procedures and SQL queries.

This report returns the first 100 records from the event log.
