edkir98 Beginner

Joined: 27 Aug 2007 Posts: 102 Topics: 42 Location: Chennai
|
Posted: Tue Sep 23, 2008 7:10 am Post subject: Character comparison |
|
|
Suppose there is a field1 which was defined as an integer in the previous design and now it is defined as char. There is a condition like
Code: | WHERE FIELD1 BETWEEN 100 AND 1000 |
now since this field is changed to a char now, can I give
Code: | WHERE FIELD1 BETWEEN '0100' AND '1000' |
?
Will both the queries return the same result? _________________ Thanks |
|