Results 1 to 3 of 3

Thread: Sql problem - please help

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212

    Post Sql problem - please help

    I have a db in which I'm performing a search.
    I'm using the SQL Statement shown below, which works in VB but not in ASP where it returns no record... Any idea ?

    SELECT * FROM Postes WHERE NoEnsemble LIKE 'M*' OR Utilisation LIKE 'M*' OR [Serial No] LIKE 'M*' ORDER BY NoEnsemble

    My db contains approximatively 200 data with NoEnsemble = "M99999" where 9 is any number. In vb it returns every records starting with 'M' but no go in asp ? Sort'of confused here !

    Any help greatly appreciated !
    Regards,

    El-Nino

  2. #2
    MarcelB
    Guest
    Hi,

    You might wanna try this:

    SELECT * FROM Postes WHERE NoEnsemble LIKE 'M%' OR Utilisation LIKE 'M%' OR [Serial No] LIKE 'M%' ORDER BY NoEnsemble


    Good luck,
    Marcel

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212

    Talking Yeah !

    Great ! It worked !
    Thanks a lot !

    Regards,

    El-Nino

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