Bug #49747 | ERROR CREATE VIEW | ||
---|---|---|---|
Submitted: | 16 Dec 2009 20:03 | Modified: | 17 Dec 2009 15:46 |
Reporter: | roy valencia | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: DDL | Severity: | S3 (Non-critical) |
Version: | 5.1.37 | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[16 Dec 2009 20:03]
roy valencia
[16 Dec 2009 22:53]
Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Name `if( ap.utilityid = 2 and amountdue = 0.00 or amountduefromedi = 0.00, currentcharges + othercharges, if ( amountduefromedi is null, amountdue, amountduefromedi ) )` is too long to be used as column name, so can not be used in VIEW
[17 Dec 2009 15:46]
roy valencia
this view with the sintax equal exist in bd production 5.0.56 Enterprise. because i dont know this error is for different version or migration ?¿. thanks.
[17 Dec 2009 19:31]
Sveta Smirnova
Please see at http://dev.mysql.com/doc/refman/5.0/en/news-5-0-67.html starting from "Incompatible Change: It was possible to create a view having a column whose name consisted of an empty string or space characters only. "