G
Guest
I have a search box where people can enter in either text or numbers. I
would like to query the SQL DB columns that are both integers and text from
just 1 search box.
Example:
SELECT * FROM faq WHERE (qa_text LIKE '%::search::%' OR qa_integer =
::search:
The DBRW validates the query. When I enter a number in search, it finds the
qa_ID just fine. But when I enter in text in the search box, I get
Database Results Wizard Error
Description: [Microsoft][ODBC SQL Server Driver]Invalid use of default
parameter
Help
would like to query the SQL DB columns that are both integers and text from
just 1 search box.
Example:
SELECT * FROM faq WHERE (qa_text LIKE '%::search::%' OR qa_integer =
::search:

The DBRW validates the query. When I enter a number in search, it finds the
qa_ID just fine. But when I enter in text in the search box, I get
Database Results Wizard Error
Description: [Microsoft][ODBC SQL Server Driver]Invalid use of default
parameter
Help