VBForums
>
Visual Basic
>
Database Development
> How to search for a string in database
PDA
Click to See Complete Forum and Search -->
:
How to search for a string in database
thinh
Mar 12th, 2000, 09:10 PM
How can i search for a string in database and then display everything in the recordsets that contained that string using ASP...
Clunietp
Mar 12th, 2000, 10:43 PM
Your SQL statement will look something like this:
"Select * from MyTable where MyField LIKE '%" & MyString & "%'"
I'm assuming you already know how to connect to your DB from ASP...
thinh
Mar 13th, 2000, 08:03 AM
Thank you very much
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.