SQLServer Execution blocks
Using BEGIN ... END
BEGIN
UPDATE Employees SET PhoneNumber = '5551234567' WHERE Id = 1;
UPDATE Employees SET Salary = 650 WHERE Id = 3;
END
BEGIN
UPDATE Employees SET PhoneNumber = '5551234567' WHERE Id = 1;
UPDATE Employees SET Salary = 650 WHERE Id = 3;
END
In this page (written and validated by A. Gawali) you learned about SQLServer Execution blocks . What's Next? If you are interested in completing SQLServer tutorial, your next topic will be learning about: SQLServer Stored Procedures.
Share On: |