Guest Posted July 10, 2008 Share Posted July 10, 2008 I am searching for a name that i know is the and it has a _ in it so when I run the sql it returns 0 results What is it doing how can I fix this? Quote Link to comment Share on other sites More sharing options...
trq Posted July 10, 2008 Share Posted July 10, 2008 What is it doing how can I fix this? Obviously we need to see your query to answer that. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 10, 2008 Share Posted July 10, 2008 Here is a basic version of whats happening. SELECT * FROM Users WHERE Name='santa_clause' Quote Link to comment Share on other sites More sharing options...
trq Posted July 10, 2008 Share Posted July 10, 2008 Well, there is nothing syntactically wrong with that query. I suggest you post the relevant code, your really need to help us help you. Quote Link to comment Share on other sites More sharing options...
Barand Posted July 10, 2008 Share Posted July 10, 2008 If the user name is "santa_claus" it won't find it of course. SELECT * FROM Users WHERE Name='santa_clause' Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.