READ Free Dumps For Microsoft- 70-462
Question ID 18881 | You develop a Microsoft SQL Server 2012 database that contains a heap named |
Option A | HOLDLOCK |
Option B | ROWLOCK |
Option C | XLOCK |
Option D | UPDLOCK |
Option E | TABLOCK |
Correct Answer | E |
Question ID 18882 | You use Microsoft SQL Server 2012 to develop a database application. You create a |
Option A | BEGIN TRANSACTION BEGIN TRY EXEC dbo.ModifyData COMMIT TRANSACTION END TRY BEGIN CATCH IF @@ TRANCOUNT = 0 ROLLBACK TRANSACTION; END CATCH |
Option B | BEGIN TRANSACTION BEGIN TRY EXEC dbo.ModifyData COMMIT TRANSACTION END TRY BEGIN CATCH IF @@ERROR != 0 ROLLBACK TRANSACTION; THROW; END CATCH |
Option C | BEGIN TRANSACTION BEGIN TRY EXEC dbo.ModifyData COMMIT TRANSACTION END TRY BEGIN CATCH IF @@TRANCOUNT = 0 ROLLBACK TRANSACTION; THROW; END CATCH |
Option D | BEGIN TRANSACTION BEGIN TRY EXEC dbo.ModifyData COMMIT TRANSACTION END TRY BEGIN CATCH IF @@ERROR != 0 ROLLBACK TRANSACTION; END CATCH |
Correct Answer | D |