DECLARE @your_sql nvarchar(max)
SET @your_sql = ''
SELECT @your_sql = @your_sql + 'ALTER TABLE ' + table_name + ' ADD myColumn INT ' FROM information_schema.tables WHERE table_type = 'BASE TABLE'
PRINT @your_sql
EXEC sp_executesql @your_sqlThis script work for adding a column in all table throughout a database. This help in saving a lot of time in for this work.
