Results 1 to 3 of 3

Thread: How to search for a string in database

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 1999
    Location
    Garden Grove, CA, USA
    Posts
    110

    Post

    How can i search for a string in database and then display everything in the recordsets that contained that string using ASP...

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    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...

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 1999
    Location
    Garden Grove, CA, USA
    Posts
    110

    Post Thank you

    Thank you very much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width