BUG: Character Translation Causes 105, Unclosed Quote ErrorLast reviewed: December 1, 1997Article ID: Q175127 |
The information in this article applies to:
SYMPTOMSWhen you insert a character through an ODBC data source with either OEM-to- ANSI translation enabled or a code page translation set, some characters are translated to an apostrophe (ANSI 39). When the Generate Stored Procedures option is disabled and a parameter is passed containing these translated characters, SQL Server returns an error 105:
Unclosed quote before the character string ')'.NOTE: The apostrophe is also referred to as a single quotation mark or single quote character.
CAUSEIf a single quotation mark is passed in the parameter, this is replaced by two single quotation marks and the insert executes correctly. All of the following conditions must be met:
WORKAROUNDUse any of the following methods to work around the problem:
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words: t-sql tran-sql trans-sql tsql transql transsql
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |