Skip to main content



      Home
Home » Eclipse Projects » DTP » SQL query builder not parsing Parentheses
icon5.gif  SQL query builder not parsing Parentheses [message #1037398] Tue, 09 April 2013 10:03 Go to next message
Eclipse UserFriend
SQL query builder do not parse parentheses in query.So,Using sql parser it is possible to write following query-

select * from table where (A1 and A2) or A3

like this

select * from table where A1 and A2 or A3

As and has precedence over or.

But how to achieve following query using SQL query builder-

select * from table where (A1 or A2) and A3

[Updated on: Tue, 09 April 2013 10:07] by Moderator

Re: SQL query builder not parsing Parentheses [message #1063333 is a reply to message #1037398] Wed, 12 June 2013 21:02 Go to previous message
Eclipse UserFriend
The "Conditions" tab of the GUI doesn't allow you to create a search condition such as (A1 OR A2) AND A3 directly, but the SQL parser used by the SQL Query Builder supports it. So you can enter A1 OR A2 AND A3 in the Conditions tab, then click on the SQL source area and add the parens as needed directly to the SQL. (Then click on another panel to trigger the SQL parser.)
Previous Topic:driver combobox/dropdown is empty on windows 7
Next Topic:DTP 1.11 (Kepler) download is missing
Goto Forum:
  


Current Time: Tue Jul 22 19:08:18 EDT 2025

Powered by FUDForum. Page generated in 0.02836 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top