> For the complete documentation index, see [llms.txt](https://dbi-services.gitbook.io/omrun-help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dbi-services.gitbook.io/omrun-help/element-details/test-data-object/query-a-only.md).

# Query A Only

### ![](https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-82a409549d31b8d9fc2afc92887e9262c1cd3f24%2FIcon_TOB_data.png?alt=media)

### Abstract

Generally the query consists of two sections (Data Source A and B) but it can be helpful to switch off the checkbox `☑ Data Source B` in some cases:

* Automate a whole process with generation of [OMrun Parameter lists](/omrun-help/element-details/test-program-object/rtl-generator.md).
* Query data for your information only

The result is shown in a single query return set and is not compared with another data source.

<figure><img src="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-b243f45fcd7c7fc33f835c7cb6a4ba37781ad865%2FOMrunHelp_TestObjectData_QueryAonly1.png?alt=media" alt="OMrun test object data - Query A view" width="80%"><figcaption><p>OMrun test object data - Query A view</p></figcaption></figure>

***

### Data Source A

The drop down menu shows all available data sources define in the selected [environment](/omrun-help/element-details/environment.md). It is possible to select any of the defined data sources and query its data to use this result for any reason.

<figure><img src="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-9bebefa76ca557457ec9507c1c8da38e233f4ede%2FOMrunHelp_TestObjectData_QueryAonly2.png?alt=media" alt="OMrun test object data - Dropdown source A" width="80%"><figcaption><p>OMrun test object data - Dropdown source A</p></figcaption></figure>

***

### Outcome and Result

Instead of having two data sets compared the result will be shown als a single data set with all the selected columns of query A.

<figure><img src="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-45710a77666df1ea8fdccea142feccf7eade433c%2FOMrunHelp_TestObjectData_QueryAonly3.png?alt=media" alt="OMrun test object data - Result source A" width="80%"><figcaption><p>OMrun test object data - Result source A</p></figcaption></figure>

***

### Command String Previewer

There is a tooltip when hover over label `Query A`.

The tooltip is activated after 1 second keeping the mouse cursor over the label. After this delay the tooltip shows a preview of the command string (whole query) for about 10 seconds.

* Showing the preview of the command string from query A with extracted (replaced) variables.
* Copies the command string A to the clipboard automaticaly

<figure><img src="https://1143774439-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1ooXfQ2qWGFRh6lihybt%2Fuploads%2Fgit-blob-b8423cc39a0fcbf79a6a8bbd0c8456e390c01f99%2FOMrunHelp_TestObjectData_Query4.png?alt=media" alt="OMrun test object data - query A tooltip" width="50%"><figcaption><p>OMrun test object data - Query A tooltip</p></figcaption></figure>
