db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Founaboui Haman" <fha...@kommunity.net>
Subject Help on building an sql criteria
Date Mon, 24 Nov 2003 16:09:39 GMT
Hi there,

I am looking for a way to build the following criteria in torque.
The sql: 

SELECT * FROM articles WHERE any condition AND (articlename LIKE '%seachString%' OR articleNumber
LIKE '%searchString%');

My problem resides in the criteria between the parenthesis. Any help with code shnippet could
be appreciated.
Thank for your help

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message