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 |
|
cobrinha
Starting Member
8 Posts |
Posted - 2009-05-05 : 18:24:35
|
| I have quite a bit of data that is stored as text, but would like to convert it to a number (double) for the purpose of reporting.Is this possible? I don't want to change the way the data is stored. |
|
|
Tapalotapus
Starting Member
22 Posts |
Posted - 2009-05-05 : 19:26:35
|
| An example would help.I think this will work for you though.SELECT CONVERT(float,CONVERT(VARCHAR(MAX),YourColumn)) FROM YourTable |
 |
|
|
cobrinha
Starting Member
8 Posts |
Posted - 2009-05-05 : 19:32:58
|
| That did the trick. Thank you!!! |
 |
|
|
|
|
|