Update All With Too Many Characters Gives Missing Quote ErrorLast reviewed: November 4, 1994Article ID: Q82886 |
Summary:
When using the SQL command UPDATE with a character string that is longer than the field definition, SQL Server will truncate the string. Q+E should send the update, with the result being a truncated version of the update string. However, Q+E will generate the error message:
Warning: "SQL Syntax error: unclosed quote before character string <string>"More Information: This message occurs because Q+E is acting as a pre-processor for the SQL Server. Q+E tries to warn the user of any errors in the query before it actually sends it to the command processor. Because Q+E knows the definition of the table being updated, it is able verify whether the data contains errors as well as whether the Query is following the SQL Syntax for that driver. In this case, Q+E has simply truncated the data along with some of the syntax of the query and essentially invalidated the query.
Steps to Reproduce Problem
"Q+E for Microsoft Excel User's Guide," version 3.0, page 113
|
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |