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.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Possible to change VARCHAR to NUMERIC?

Author  Topic 

dbchud
Starting Member

13 Posts

Posted - 2008-05-15 : 07:08:22
I have a column that is set to VARCHAR 1 and want to change it to NUMERIC 5,2

Is this possible or am I barking up the wrong tree?

Cheers,
Gary

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-05-15 : 07:42:51
It is possible, if all the present values in that particular column can be converted or translated to datatype numeric(5, 2).
Otherwise it is not possible.



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
   

- Advertisement -