Mar 26, 2006 #1 dun263 Programmer Mar 26, 2006 2 SI Hello everybody, I have the following sql statement: Select * from Table where Something >=1* and Something <=5* The result includes records with 1*, but not also the results with 5* - only with 4*. What am I doing wrong? SK
Hello everybody, I have the following sql statement: Select * from Table where Something >=1* and Something <=5* The result includes records with 1*, but not also the results with 5* - only with 4*. What am I doing wrong? SK
Mar 26, 2006 #2 jbenson001 Programmer Jan 7, 2004 8,172 US what does you data look like? Upvote 0 Downvote
Mar 26, 2006 Thread starter #3 dun263 Programmer Mar 26, 2006 2 SI column contains account numbers from 0 to 9, values are strings. SK Upvote 0 Downvote
Mar 27, 2006 #4 SQLDenis Programmer Oct 1, 2005 5,575 US what happens when you do this? Select * from Table where Something >='1*' and Something <='5*' Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/ Upvote 0 Downvote
what happens when you do this? Select * from Table where Something >='1*' and Something <='5*' Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/