Boolean to SQL Query Translator
Publisher
This is a translation function to convert boolean search syntax into a SQL Query.
Product Details
This is a function to convert a user's query in boolean syntax ("hotels AND mexico NOT cockroaches) into a SQL query over the appropriate database fields.
![Visit Listing - Coupon & Affiliate Theme (New 2022) - Download Now! Coupon & Affiliate Theme (New 2022) - Download Now! - Cover Image](https://listingimages.hotscriptscontents.com/cover-image/166840/medium_21f0d4a4f2c8a23133f582bd467c5106.png)
posted byshopperpressinAffiliate Programs
PriceUSD 99.00
Views6868
User Reviews
Please rate the listing and tell the world know what do you think about the listing.
SQL Translator Tool
Reviewed byAnonymousonThu, 2nd June 2005
Very nice tool which easy to set up and use. Only problem is the "not" query produces an "and" query result. Might be my version of php/mysql though. Here's the generated sql for the not query "SELECT title, description, filetype, docnumber, date FROM docinfo WHERE (title LIKE '%cosca%' OR description LIKE '%cosca%') AND (NOT title LIKE '%perth%' OR description LIKE '%perth%') ORDER BY title"
Also had to remove ";" from the end of the query to make it work in the query line.
Other than that this code has saved a lot of work!