| title | String Limitations | ||
|---|---|---|---|
| description | String Limitations | ||
| author | David-Engel | ||
| ms.author | v-davidengel | ||
| ms.date | 01/19/2017 | ||
| ms.service | sql | ||
| ms.subservice | connectivity | ||
| ms.topic | reference | ||
| helpviewer_keywords |
|
The maximum length of an SQL statement string is 65,000 characters.
When the Microsoft Access driver is used, only SQL-92 string constants (with single quotation marks, not double quotation marks) are supported.
The pipe character (|) cannot be used in a string, whether the character is enclosed in back quotes or not.
For maximum interoperability, applications should pass strings in parameters, rather than passing quoted strings.