Changing datatype from int to decimal

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • war
    New Member
    • Oct 2007
    • 5

    Changing datatype from int to decimal

    hi

    how to Change datatype from int to decimal with precission 8 and scale 3.in ms sql
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by war
    hi

    how to Change datatype from int to decimal with precission 8 and scale 3.in ms sql
    Moved to MS SQL forum.
    And please do not double post.

    Comment

    • iburyak
      Recognized Expert Top Contributor
      • Nov 2006
      • 1016

      #3
      In Enterprise Manager right click on table name and choose 'Design Table'


      Good Luck.

      Comment

      • shaileshb
        New Member
        • Jun 2007
        • 27

        #4
        Alter table <tableName>
        Alter Column <ColumnName> Decimal(8,3)
        Go

        Comment

        Working...