set global user options which have IMPLICIT_TRANSACTIONS on

sakuraime 2,326 Reputation points
2020-11-10T14:57:41.66+00:00

I set sp_configure 'user options',5498

reconfigure

but it doesn't work . the new connection are still 5496 from select @@Sirdancelot

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,682 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Shashank Singh 6,251 Reputation points
    2020-11-10T15:17:30.89+00:00

    For enabling implicit transaction the value is 2. See configure-the-user-options-server-configuration-option, there is no value as 5498

    USE db_name ;    
    GO    
    EXEC sp_configure 'user options', 2 ;    
    GO    
    RECONFIGURE ;    
    GO    
        
    

  2. CathyJi-MSFT 21,871 Reputation points Microsoft Vendor
    2020-11-11T09:10:59.873+00:00

    Hi @sakuraime ,

    This is an old thread, please check if it could help you.

    Who do @@Sirdancelot and sp_configure provide different output?

    By the way, we can using the statement from this blog Determining SET Options for a Current Session in SQL Server to check what SET options are turned on. Such as below screenshot.

    39007-screenshot-2020-11-11-170543.jpg

    Best regards,
    Cathy


    If the response is helpful, please click "Accept Answer" and upvote it.
    Hot issues October--Users always get connection timeout problem when using multi subnet AG via listener. Especially after failover to another subnet

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.