Ive a problem with Dreamweaver and SQL query.
This query works:
SELECT *
FROM table
WHERE table.field1 LIKE %MMColParam%
The MMColParam is a Request.Form("variable") from a previous
form in ASP page.
But if i try to extend to two or more fields the WHERE
function with OR, like the following query, i receive a syntax
error!
SELECT *
FROM table
WHERE table.field1 LIKE %MMColParam% OR table.field2 LIKE
%MMColParam%
Whats the right syntax format for this type of query?
Thanx a lot