use T-SQL in a query window to perform DDL operations. ie:use tempdbcreate table #tg (i int primary key, vc varchar(10))goselect CHARACTER_MAXIMUM_LENGTH from information_schema.columns where table_name like '#tg%' and column_name = 'vc'print 'alter table #tg alter column vc varchar(15)' alter table #tg alter column vc varchar(15)goselect CHARACTER_MAXIMUM_LENGTH from information_schema.columns where table_name like '#tg%' and column_name = 'vc'godrop table #tgOUTPUT:CHARACTER_MAXIMUM_LENGTH------------------------10alter table #tg alter column vc varchar(15)CHARACTER_MAXIMUM_LENGTH------------------------15
Be One with the OptimizerTG