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.

posted bySangvishinClone Scripts
PriceUSD 499.00
Views1278

posted bySangvishinShopping Carts
PriceUSD 499.00
Views1432

posted bySangvishinClone Scripts
PriceUSD 499.00
Views2256

posted byinoutscriptsinShopping Carts
PriceUSD 899.00
Views12698
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!