Alter / Change Column Data Type

  • Is there a way to alter a column's data type.... originally createda and data entered as "Varchar" and I want to make the field a Numeric type so that I can perform calculations....

     

    Thanks

  • Research ALTER TABLE in BOL or you can perform this via EM



    Good Hunting!

    AJ Ahrens


    webmaster@kritter.net

  • Alter table tableA Alter Column ColA

    integer NULL

  • I have found this works much better and quicker in Query Analyzer than using Enterprise Manager... 

    I wasn't born stupid - I had to study.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply