Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin.
Search for scripts directly from SSMS, and instantly access any saved scripts in your
SSC briefcase from the favorites tab.
Download now (direct download link)
Thank this author by sharing:
By Luiz Barros,
Just pass the table name, column name and new data type.
For example, if you want to alter the tblCustomers.CustomerID column type from SmallInt to INT, use:
[LSP_ChangeColumnType] @Table='tblCustomers', @Field='CustomerID', @NewDataType='INT'
Don't forget to backup your database before doing this. Can't hurt, right?