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 |
|
duhaas
Constraint Violating Yak Guru
310 Posts |
Posted - 2008-04-17 : 15:19:52
|
| Just looking for some guidance on how to find a value thats 9 digits in length |
|
|
duhaas
Constraint Violating Yak Guru
310 Posts |
Posted - 2008-04-17 : 15:25:56
|
| nevermind found the LEN function |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-04-18 : 05:15:58
|
quote: Originally posted by duhaas Just looking for some guidance on how to find a value thats 9 digits in length
If the datatype is INT, thenwhere col>=100000000 and col<=999999999MadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|