Currently Fabric does not support SET XACT_ABORT ON.
We request to add this support to reduce breaking changes when migrating and to improve transaction support for the scenario below
This results in a breaking change in how transactions are handled and makes Fabric behave differently to other editions like
- SqlPool (Dedicated)
- SqlDbEngine
As an example consider this Sproc below
CREATE PROC usp_TranTest
AS
BEGIN
BEGIN TRY
BEGIN TRAN
select * from table_that_doesnt_exist
--Do other Work
COMMIT TRAN
END TRY
BEGIN CATCH
ROLLBACK TRAN
print 'error'
END CATCH
print @@TRANCOUNT
END
GO
exec usp_TranTest
This will result in the following behaviour
Sql Pool (Dedicated): Rollback and zero trancount
Fabric: No rollback and tran leak
On Premise SqlDbEngine: No rollback and tran leak
On Premise SqlDbEngine with SET XACT_ABORT ON: Rollback and zero trancount
So the ask for Fabric DW is when migrating from SqlPool we need one of three things:
- Make engine beghave same way as SqlPool
- or
- Add the option of SET XACT_ABORT, so we can use this for backwards compatibility with SqlPool behaviour.
Or
- Both
1 Comment
- fbcideas_migusrNew MemberStatus added:Needs Votes
Recent ideas
About "Download SQL database project" and fix the downloaded project
1. The sqlproj must be fixed, it is downloaded without the xml markup line <?xml version="1.0" encoding="utf-8"> 2. The sdk must be updated: Actual: <Sdk Name="Microsoft.Build.Sql" Version="0.1...Jarrinf1 hour agoFrequent VisitorNew73Views3likes3CommentsAdd REST API to Take Ownership of Fabric Pipelines
When using service account to automatically deploy Fabric pipelines from Dev workspace to upper environments, the owner of pipelines in target envionment remain unchanged. In some situations, per...VickyPeng5 hours agoRegular VisitorNew349Views5likes2CommentsUpdate the 'Users can set up email subscriptions' in Fabric Admin Portal to specific groups
I want to be able to allow a specific group of users to set up email subscriptions. In my admin portal view I only get the following Can this be updated to allow specific user groups? ...Chart687 hours agoNew MemberNew137Views1like1CommentSupport API-Based / Non-Interactive Authentication for Salesforce Connectors in Power BI & Fabric
Salesforce supports API-based access through Connected Apps and API-enabled accounts, allowing integrations to authenticate without user interaction. However, the Power BI/Fabric Salesforce connect...PPStar7 hours agoHelper VNew5Views0likes0CommentsGovernance on Preview Features and new GA
In short words, hereby we call for community to vote the crucial enterprise governance and administration towards features with significant cost, performance, security, compliance, or operational imp...frankyhc12 hours agoFrequent VisitorNew25Views0likes0Comments