Bug #874 | Use of quotes in SELECT (Connector/J) | ||
---|---|---|---|
Submitted: | 18 Jul 2003 11:50 | Modified: | 18 Jul 2003 12:36 |
Reporter: | [ name withheld ] | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 3.0.8 | OS: | Windows (Windows 2000) |
Assigned to: | Mark Matthews | CPU Architecture: | Any |
[18 Jul 2003 11:50]
[ name withheld ]
[18 Jul 2003 12:36]
Mark Matthews
This is not an issue caused by Connector/J. The JDBC driver does not alter your statement (unless you use escape sequences. When not running MySQL in ansi mode, the double quote character does not delimit identifiers, it delimits _strings_, so MySQL is acting as expected (the delimiter for identifiers in MySQL is the backtick "`"). Please refer to http://www.mysql.com/doc/en/String_syntax.html and http://www.mysql.com/doc/en/ANSI_mode.html