How to add column to an existing SQL Server table along with data simultaneously. The below syntax with DEFAULT clause appears to load data in the new column for INSERTs only.
ALTER TABLE LanguagePacks ADD LgDt DATETIME DEFAULT GETDATE()
EDIT: Thanks for all your answers. It worked. I tried all your suggestions and is an excellent learning. Since this question is marked as dup, appears to have affected my option to post this edit as answer.
ALTER TABLE ##LangPak
ADD
LtDt3 DATETIME DEFAULT GETDATE(),
--LtDt1 DATETIME NOT NULL, --ERROR: Msg 4901
LtDt DATETIME NOT NULL DEFAULT GETDATE(),
LtDt2 DATETIME DEFAULT GETDATE() WITH VALUES,
LtDt4 DATETIME NULL DEFAULT GETDATE() WITH VALUES