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 |
|
werhardt
Constraint Violating Yak Guru
270 Posts |
Posted - 2012-04-17 : 11:31:09
|
| I wanted to use this logic in my where clause....Where clms_proc between 33010 and 37799The only thing is there are letter in there as well. Example 3341F.How can I pull the data without manually entering in every CPT Code. There is over 300+.Thanks in advance. |
|
|
Lamprey
Master Smack Fu Yak Hacker
4614 Posts |
Posted - 2012-04-17 : 11:39:44
|
| What is the issue? 3341F is between 37799 & 33010. |
 |
|
|
werhardt
Constraint Violating Yak Guru
270 Posts |
Posted - 2012-04-17 : 11:45:36
|
| Yeah 3341F is between that range. There are some other too that have the letter. |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-04-17 : 12:56:49
|
| is it hex value you're storing in field?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
|
|
|