<div class="meta" robots="noindex">

</div>

Method

# PreparedSQLStatement.SQLSelect

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `PreparedSQLStatement.SelectSQL<preparedsqlstatement.selectsql>` as a replacement.

</div>

## Description

Executes and returns the result set of the prepared statement.

## Notes

The bindValues parameter is optional and is intended for convenience only, if bindValues is not empty the <span class="title-ref">SQLSelect</span> will use the passed in values instead of the ones specified by calling Bind.

## Compatibility

All project types on all supported operating systems.
