SQL Server: How to add column with default current time updated in every INSERT/ UPDATE record
[sql] ALTER TABLE TestTable ADD DateInserted DATETIME NOT NULL DEFAULT (GETDATE()); [/sql]
[sql] ALTER TABLE TestTable ADD DateInserted DATETIME NOT NULL DEFAULT (GETDATE()); [/sql]
Copyright © 2024 | WordPress Theme by MH Themes