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 |
|
mapperkids
Yak Posting Veteran
50 Posts |
Posted - 2007-03-26 : 12:45:30
|
| Hi,How can convert a text field to numeric when in a select statment?"SELECT * from tablea where fieldA > 1000"but fieldA in the table is defined as CHAR, how can I convert it to numeric for comparsion in the select statement.Thanks a lot ! |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-03-27 : 00:49:33
|
| SELECT * from tablea where fieldA > '1000'and len(fieldA) >= 4Peter LarssonHelsingborg, Sweden |
 |
|
|
|
|
|