To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=68598 Issue #|68598 Summary|query desginer changes bugdoc query to invalid stateme |nt Component|Database access Version|680m181 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|none Assigned to|oj Reported by|fs
------- Additional comments from [EMAIL PROTECTED] Mon Aug 14 04:49:29 -0700 2006 ------- (MySQL 5.1, MySQL Connector/J 3.1.13 - import the attached SQL script into a MySQL database of your choice - create a MySQL/JDBC database document connecting to this database - in this document, open a new query design in SQL mode - insert the following statement: SELECT `projects`.`Name` AS `Project name`, `parent projects`.`Name` AS `Parent project name`, `employees`.`Name` AS `Lead`, `release`.`Name` AS `Release`, 0 AS `sub projects`, `projects`.`InitialEffortMin` AS `init effort (min)`, `projects`.`InitialEffortMax` AS `init effort (max)`, `projects`.`Comments`, `projects`.`EndDate`, `categories`.`Name` AS `Category`, `projects`.`Status`, `projects`.`URL`, `progress`.`Name` AS `Progress`, `teams`.`Name` AS `Team` FROM `progress` AS `progress` RIGHT OUTER JOIN ( `employees` AS `employees` RIGHT OUTER JOIN ( `projects` AS `projects` LEFT OUTER JOIN `release` AS `release` ON `projects`.`Release` = `release`.`ProductID` ) ON `employees`.`EmployeeID` = `projects`.`Lead` ) ON `progress`.`ProgressID` = `projects`.`Progress`, `projects` AS `parent projects`, `categories` AS `categories`, `teams` AS `teams` WHERE ( `parent projects`.`ProjectID` = `projects`.`ParentProject` AND `categories`.`CategoryID` = `projects`.`Category` AND `teams`.`TeamID` = `projects`.`Team` ) AND ( ( `projects`.`ParentProject` IS NOT NULL ) ) - execute the statement => the result set is shown in the query designer preview - switch to the graphical design and back - execute the statement => an error message is raised from the MySQL server, saying there's a syntax error in the SQL statement --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
