Is it possible to get all tables in a database with LIKE for example table containing 'TOTAL%' and then save these to some variable, then use them in another query to change column size for them all like
ALTER TABLE [TABLE1, TABLE2 TABLE3, ...{Use tables from previous query}]
ALTER COLUMN [Salary] VARCHAR(254) NOT NULL
you can try to get the desired effect using CURSORS. The code may be look like this