Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2001-03-21 : 08:30:41
|
Joanne writes "I have a height field (char) that contains values such as, 5'3", 6'2", etc.
What is the best method for selecting records in a user-defined range, e.g., between 5'5" and 5'9"?
Since the value contains the single-quote text delimiter, I'm not sure how to define the search value. For instance, the following statement does not work:
select * from member where height between '5'5"' and '5'9"'
Thanks." |
|
|
|
|
|