- TIBCO BusinessEvents®
- RDBMS
- Database

# Database.queryUsingSQL()

## Signature

`Concept[] queryUsingSQL(String conceptURI, String sql, boolean queryChildren)`

## Domain

ACTION, CONDITION, BUI

## Description

Queries the database and returns concepts

## Parameters

Name | Type | Description
--- | --- | ---
`conceptURI` | `String` | The result concept type's URI
`sql` | `String` | SQL statement to execute
`queryChildren` | `boolean` | If set to true, concept properties are recursively queried.

## Returns

Type | Description
--- | ---
`Concept[]` | Result array concepts

## Cautions

none