About 43,100,000 results
Open links in new tab
  1. @@OPTIONS (Transact-SQL) - SQL Server | Microsoft Learn

    Sep 3, 2024 · @@OPTIONS can only detect the options that are set to ON or OFF. The @@OPTIONS function returns a bitmap of the options, converted to a base 10 (decimal) integer.

  2. How to View your Current SET Options in SQL Server

    Sep 5, 2024 · To determine which options are enabled, we can perform a bitwise AND operation between the @@OPTIONS value and the bit value for each option. If the result is non-zero, …

  3. Determining SET Options for a Current Session in SQL Server

    May 5, 2021 · Some of these options can be made via the GUI, while others need to be made by using the SET command. When using the GUI it is easy to see which options are on and …

  4. How to Decipher @@Options - SQLServerCentral

    Nov 19, 2019 · This article will show how you can read the @@OPTIONS variable and determine your settings.

  5. How to Decode @@OPTIONS Value? - SQL Authority with Pinal Dave

    Mar 15, 2020 · There are situations where set options can change the query behavior of a session. The session-level options can be found using the @@options variable in SQL Server.

  6. Understanding SQL Server SET Options - Axial SQL

    Instead, you can use the system function @@OPTIONS. This function returns a binary representation of the SET options, where each bit corresponds to an option. For example, the …

  7. SQL Server: @@options - René Nyffenegger

    The following query can be used to quickly assess which options were set to on and off.

  8. Knowing the Options | John Morehouse - SQLRUS.com

    May 16, 2017 · It would be nice to know exactly which options are set and which aren’t without having to go through the UI. @@OPTIONS takes the binary representation and does a …

  9. Server Configuration: user options - SQL Server | Microsoft Learn

    Aug 26, 2025 · Each connection has its own @@OPTIONS function, which represents the configuration environment. When logging in to an instance of SQL Server, a user receives a …

  10. Getting Your SET Options – SQLServerCentral

    Feb 13, 2009 · Have you ever used @@options? I haven’t typically needed this, but there are times that you might wonder what options are set for a session. You can check in SSMS, look …