Greets,
I want to construct a SQL statement that queries table called FAQ. eg..
tSQLStr = "select * from FAQ where keywords like '" & txtSearchString & "'"
but...
txtSearchString might contain a few words like...
txtSearchString = "help bugger user interface"
I want the sql to look like...
select * from FAQ where keywords like "help" or keywords like "bugger" or keywords like "user" etc...
What's an easy way to construct the sql statement like this using ASP VBScript?
Any help appreciated!
I want to construct a SQL statement that queries table called FAQ. eg..
tSQLStr = "select * from FAQ where keywords like '" & txtSearchString & "'"
but...
txtSearchString might contain a few words like...
txtSearchString = "help bugger user interface"
I want the sql to look like...
select * from FAQ where keywords like "help" or keywords like "bugger" or keywords like "user" etc...
What's an easy way to construct the sql statement like this using ASP VBScript?
Any help appreciated!