You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/database-engine/configure-windows/clr-strict-security.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Controls the interpretation of the `SAFE`, `EXTERNAL_ACCESS`, or `UNSAFE` permis
23
23
24
24
| Value | Description |
25
25
| --- | --- |
26
-
|`0`|**Disabled.** Provided for backward compatibility. Setting this value to `0` isn't recommended. |
26
+
|`0`|**Disabled.** Provided for backward compatibility. Setting this value to `0` isn't recommended, as it can create a security vulnerability. |
27
27
|`1`|**Enabled.** Causes the [!INCLUDE [ssde-md](../../includes/ssde-md.md)] to ignore the `PERMISSION_SET` information on the assemblies, and always interpret them as `UNSAFE`. In [!INCLUDE [sssql17-md](../../includes/sssql17-md.md)] and later versions, `1` is the default value. |
Returns system and build information for the current installation of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)].
31
+
The `@@VERSION` configuration function returns information about the system and [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] build information.
> The [!INCLUDE [ssDE-md](../../includes/ssde-md.md)] version numbers for [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] and [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)]are not comparable with each other, and represent internal build numbers for these separate products. The [!INCLUDE [ssDE-md](../../includes/ssde-md.md)] for [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)] is based on the same code base as the [!INCLUDE [ssDEnoversion](../../includes/ssdenoversion-md.md)]. Most importantly, the [!INCLUDE [ssDE-md](../../includes/ssde-md.md)] in [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)] always has the newest SQL [!INCLUDE [ssDE-md](../../includes/ssde-md.md)] bits. For example, version 12 of [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)] is newer than version 16 of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)].
36
+
> The [!INCLUDE [ssDE-md](../../includes/ssde-md.md)] version numbers for [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] and [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)]aren't comparable with each other, and represent internal build numbers for these separate products. For more information, see the [Remarks](#remarks) section.
37
37
38
38
## Syntax
39
39
40
40
```syntaxsql
41
41
@@VERSION
42
42
```
43
43
44
-
## Return Types
44
+
## Return types
45
45
46
46
**nvarchar**
47
47
48
48
## Remarks
49
49
50
-
The @@VERSION results are presented as one nvarchar string. You can use the [SERVERPROPERTY (Transact-SQL)](../../t-sql/functions/serverproperty-transact-sql.md) function to retrieve the individual property values.
50
+
-The [!INCLUDE [ssDE-md](../../includes/ssde-md.md)] version numbers for [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] and [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)] aren't comparable with each other, and represent internal build numbers for these separate products. The [!INCLUDE [ssDE-md](../../includes/ssde-md.md)] for [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)] is based on the same code base as the [!INCLUDE [ssDEnoversion](../../includes/ssdenoversion-md.md)]. Most importantly, the [!INCLUDE [ssDE-md](../../includes/ssde-md.md)] in [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)] always has the newest SQL [!INCLUDE [ssDE-md](../../includes/ssde-md.md)] bits. For example, version 12 of [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)] is newer than version 16 of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)].
51
51
52
-
For [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)], the following information is returned.
52
+
- The `@@VERSION` results appear as one **nvarchar** string. Use the [SERVERPROPERTY](serverproperty-transact-sql.md) function to get the individual property values.
53
53
54
-
-[!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] version
54
+
-For [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)], the `@@VERSION` results include:
55
55
56
-
- Processor architecture
56
+
-[!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] version
57
+
- Processor architecture
58
+
-[!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] build date
-[!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)]build date
63
+
The operating system version information comes from the host, virtual machine, or container where [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)]is installed. It doesn't necessarily reflect the retail version of the underlying operating system. For information about querying Windows version information using the [WMI Query Language (WQL)](/windows/win32/wmisdk/wql-sql-for-wmi), see [Win32_OperatingSystem class](/windows/win32/cimwin32prov/win32-operatingsystem).
59
64
60
-
-Copyright statement
65
+
-For [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)] and [!INCLUDE [ssazuremi-md](../../includes/ssazuremi-md.md)], the `@@VERSION` results include:
For [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)] and [!INCLUDE [ssazuremi-md](../../includes/ssazuremi-md.md)], the following information is returned.
71
+
- Product version
67
72
68
-
- Edition- "Microsoft SQL Azure"
73
+
- Build date
69
74
70
-
- Product level- "(RTM)"
71
-
72
-
- Product version
73
-
74
-
- Build date
75
-
76
-
- Copyright statement
75
+
- Copyright statement
77
76
78
77
## Examples
79
78
80
-
### A: Return the current version of [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)]
79
+
### A: Return the current version of SQL Server
81
80
82
-
The following example shows returning the version information for the current installation.
81
+
The following example shows the version information for an installation of [!INCLUDE [sssql25-md](../../includes/sssql25-md.md)]. Depending on the underlying host, virtual machine, or container operating system, the command returns different information.
83
82
84
83
```sql
85
84
SELECT @@VERSION AS'SQL Server Version';
86
85
```
87
86
88
-
## Examples: [!INCLUDE [ssazuresynapse-md](../../includes/ssazuresynapse-md.md)] and [!INCLUDE [ssPDW](../../includes/sspdw-md.md)]
87
+
- Windows Server 2019 virtual machine:
88
+
89
+
```output
90
+
Microsoft SQL Server 2025 (RTM) - 17.0.1000.7 (X64)
91
+
Oct 21 2025 12:05:57
92
+
Copyright (C) 2025 Microsoft Corporation
93
+
Enterprise Developer Edition (64-bit) on Windows Server 2019 Standard 10.0 <X64> (Build 17763: ) (Hypervisor)
94
+
```
95
+
96
+
- Windows 11 virtual machine:
97
+
98
+
```output
99
+
Microsoft SQL Server 2025 (RTM) - 17.0.1000.7 (X64)
100
+
Oct 21 2025 12:05:57
101
+
Copyright (C) 2025 Microsoft Corporation
102
+
Enterprise Developer Edition (64-bit) on Windows 10 Enterprise 10.0 <X64> (Build 26220: ) (VM)
103
+
```
104
+
105
+
In this example, the output doesn't necessarily reflect the retail version of the operating system.
106
+
107
+
- Ubuntu Linux 24.04:
108
+
109
+
```output
110
+
Microsoft SQL Server 2025 (RTM) - 17.0.1000.7 (X64)
111
+
Oct 21 2025 12:05:57
112
+
Copyright (C) 2025 Microsoft Corporation
113
+
Enterprise Developer Edition (64-bit) on Linux (Ubuntu 24.04.3 LTS) <X64>
114
+
```
115
+
116
+
## Examples: Azure Synapse Analytics and Analytics Platform System (PDW)
89
117
90
-
### B. Return the current version of [!INCLUDE [ssazuresynapse-md](../../includes/ssazuresynapse-md.md)]
118
+
### B. Return the current version of Azure Synapse Analytics
0 commit comments