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
Returns the local language identifier (ID) of the language that is currently being used.
33
-
34
-
[Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
35
-
36
-
## Syntax
37
-
38
-
```
39
-
40
-
@@LANGID
41
-
```
42
-
43
-
## Return Types
44
-
**smallint**
45
-
46
-
## Remarks
47
-
To view information about language settings, including language ID numbers, run **sp_helplanguage** without a parameter specified.
48
-
49
-
## Examples
50
-
The following example sets the language for the current session to `Italian`, and then uses `@@LANGID` to return the ID for Italian.
Returns the local language identifier (ID) of the language that is currently being used.
33
+
34
+
[Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md)
35
+
36
+
## Syntax
37
+
38
+
```
39
+
@@LANGID
40
+
```
41
+
42
+
## Return Types
43
+
**smallint**
44
+
45
+
## Remarks
46
+
To view information about language settings, including language ID numbers, run **sp_helplanguage** without a parameter specified.
47
+
48
+
## Examples
49
+
The following example sets the language for the current session to `Italian`, and then uses `@@LANGID` to return the ID for Italian.
0 commit comments