I need a simple column size from VARCHAR(36) to VARCHAR(40) .
If you try to use SQL Server Enterprise Manager, the created script effectively creates a new table with a new structure, inserting all the data from the existing table into it, discarding the existing table, renaming the new table, and recreating any indexes.
If you read the documentation (and many online resources, including SO), you can use the ALTER statement to resize.
Does ALTER the way data is stored in any way? Indices? Statistics? I want to avoid performance hits due to this modification due to the fact that the table can become large.
source share