B
bj daniels
I have a sql server (2000) and I want to add a search capability to my
asp.net page. It will search an Articles table - in particular the
'Article' field (ntext).
I started with the following statement:
sql = "Select * from [articles] where article like '%" & tbquery.text & "%'
" order by dateposted desc, title"
and the results are fine if I only enter one word into the textbox - how can
I make it more functional (using and, or and such)
bj daniels
(e-mail address removed)
asp.net page. It will search an Articles table - in particular the
'Article' field (ntext).
I started with the following statement:
sql = "Select * from [articles] where article like '%" & tbquery.text & "%'
" order by dateposted desc, title"
and the results are fine if I only enter one word into the textbox - how can
I make it more functional (using and, or and such)
bj daniels
(e-mail address removed)