

# QueryRecords
<a name="API_QueryRecords"></a>

The results of the SQL statement.

## Contents
<a name="API_QueryRecords_Contents"></a>

**Note**  
In the following list, the required parameters are described first.

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** CSVRecords **   <a name="redshiftdata-Type-QueryRecords-CSVRecords"></a>
The results of the SQL statement in CSV format.  
Type: String  
Required: No

## See Also
<a name="API_QueryRecords_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/redshift-data-2019-12-20/QueryRecords) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/redshift-data-2019-12-20/QueryRecords) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/redshift-data-2019-12-20/QueryRecords) 