How to update a column which is present in multiple tables?
I am designing a DW having multiple Dim_tables with common column named DS how to set its value to 1 ?
i tried this but it gives error
use [DW]
go
exec sp_msforeachtable 'UPDATE ? SET [DS]=1'
go
Msg 207, Level 16, State 1, Line 3 Invalid column name 'DS'.