To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=101369
                 Issue #|101369
                 Summary|Query wizard parses SQL wrongly, and then changes it
               Component|Database access
                 Version|current
                Platform|Unknown
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|none
             Assigned to|dbaneedsconfirm
             Reported by|ptoye





------- Additional comments from [email protected] Mon Apr 27 11:07:00 +0000 
2009 -------
Entering the following SQL directly into a query and obeying it gets the correct
result (records containing the string "Owl" or "owl" but not "Bowl" or "bowl").

SELECT "Description" FROM "All data" WHERE (NOT "Description" LIKE '%bowl%' AND
NOT "Description" LIKE '%Bowl%' AND  ("Description" LIKE '%owl%' OR
"Description" LIKE '%Owl%' ))

Switching the design view on, gives an entirely wrong set of conditions, and
switching it off again gives this SQL:

SELECT "Description" FROM "All data" WHERE ( "Description" = '*bowl*' AND
"Description" = '*Bowl*' AND ( "Description" LIKE '%owl%' OR "Description" LIKE
'%Owl%' ) )

Also, the query doesn't work, but this is hardly surprising.

There is, of course, a workaround: to use SQL only. But this isn't much help to
someone who isn't an advanced SQL buff and doesn't realise that Oo changes the
typed-in command (which the user may well had got someone else to write).

---------------------------------------------------------------------
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]

Reply via email to