To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=70360 Issue #|70360 Summary|Query editor mingles up the custom HSQL-string Component|Database access Version|1.0.0 Platform|All URL| OS/Version|Linux Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|none Assigned to|dbaneedsconfirm Reported by|eelkogielis
------- Additional comments from [EMAIL PROTECTED] Thu Oct 12 06:49:46 -0700 2006 ------- When I make a query in SQL-view save it and then open it again in Design-view, the query is changed. When I run the query, it is a lot slower than the straight HSQL-string. HSQL-string input: SELECT "tbl06Genus"."Name" AS "Genus", "tbl07Species"."Name" AS "Species", "tbl00Author"."Author", "tbl20World"."Chad", "tbl20World"."Dagestan", "tbl20World"."Egypt" FROM "tbl00Author" "tbl00Author", "tbl06Genus" "tbl06Genus", "tbl07Species" "tbl07Species", "tbl20World" "tbl20World" WHERE ( ( "tbl20World"."Chad" = True OR "tbl20World"."Dagestan" = True OR "tbl20World"."Egypt" = True ) AND ( "tbl07Species"."Genus" = "tbl06Genus"."ID" AND "tbl07Species"."Author" = "tbl00Author"."ID" AND "tbl20World"."ID" = "tbl07Species"."ID" ) ) HSQL-string after Design-view: SELECT "tbl06Genus"."Name" AS "Genus", "tbl07Species"."Name" AS "Species", "tbl00Author"."Author", "tbl20World"."Chad", "tbl20World"."Dagestan", "tbl20World"."Egypt" FROM "tbl00Author" "tbl00Author", "tbl06Genus" "tbl06Genus", "tbl07Species" "tbl07Species", "tbl20World" "tbl20World" WHERE ( ( "tbl20World"."Chad" = True AND "tbl07Species"."Genus" = "tbl06Genus"."ID" AND "tbl07Species"."Author" = "tbl00Author"."ID" AND "tbl20World"."ID" = "tbl07Species"."ID" ) OR ( "tbl20World"."Dagestan" = True AND "tbl07Species"."Genus" = "tbl06Genus"."ID" AND "tbl07Species"."Author" = "tbl00Author"."ID" AND "tbl20World"."ID" = "tbl07Species"."ID" ) OR ( "tbl20World"."Egypt" = True AND "tbl07Species"."Genus" = "tbl06Genus"."ID" AND "tbl07Species"."Author" = "tbl00Author"."ID" AND "tbl20World"."ID" = "tbl07Species"."ID" ) ) Why does it do this, and is there a workaround. For the database, please e-mail to [EMAIL PROTECTED] --------------------------------------------------------------------- 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]