I\'m trying to alter a table to add a new column, then insert a new row into it.
ALTER TABLE Roles ADD ModifiedDate DateTime; INSERT INTO Roles (Name, [Descr
What about transations?
BEGIN TRANSACTION; ALTER TABLE Roles ADD ModifiedDate DateTime; GO; COMMIT TRANSACTION; BEGIN TRANSACTION; INSERT INTO Roles (Name, [Description], CreatedBy, BuiltIn, Created, ModifiedDate) VALUES ('Name', 'Description', 0, 1, GETDATE(), GETDATE()); GO; COMMIT TRANSACTION;