SQL Server Resize Data type from Integer to Tiny Int -
i have table 10 million records.
two of columns of data type integer.
but 2 columns store values 1 124 only.
the values in column never exceed values of 150.
so need change values "tiny int" data type.
how can safely, , doing able recovery space.
please kindly provide me script , graphical user interface methods please.
in sqlserver can this
alter table dbo.yourtable alter column yourcolumnname smallint
Comments
Post a Comment