Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 01efe08

Browse files
authored
LANGID, fixed title.
1 parent 11f5ae6 commit 01efe08

1 file changed

Lines changed: 41 additions & 42 deletions

File tree

Lines changed: 41 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "@@LANGID (Transact-SQL) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/13/2017"
4+
ms.date: "09/18/2017"
55
ms.prod: "sql-non-specified"
66
ms.reviewer: ""
77
ms.suite: ""
@@ -26,46 +26,45 @@ author: "BYHAM"
2626
ms.author: "rickbyh"
2727
manager: "jhubbard"
2828
---
29-
# @@LANGID (Transact-SQL)
29+
# @@LANGID (Transact-SQL)
3030
[!INCLUDE[tsql-appliesto-ss2008-asdb-xxxx-xxx_md](../../includes/tsql-appliesto-ss2008-asdb-xxxx-xxx-md.md)]
3131

32-
Returns the local language identifier (ID) of the language that is currently being used.
33-
34-
![Topic link icon](../../database-engine/configure-windows/media/topic-link.gif "Topic link icon") [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.
51-
52-
```
53-
SET LANGUAGE 'Italian'
54-
SELECT @@LANGID AS 'Language ID'
55-
```
56-
57-
[!INCLUDE[ssResult](../../includes/ssresult-md.md)]
58-
59-
```
60-
Changed language setting to Italiano.
61-
Language ID
62-
-----------
63-
6
64-
```
65-
66-
## See Also
67-
[Configuration Functions (Transact-SQL)](../../t-sql/functions/configuration-functions-transact-sql.md)
68-
[SET LANGUAGE (Transact-SQL)](../../t-sql/statements/set-language-transact-sql.md)
69-
[sp_helplanguage (Transact-SQL)](../../relational-databases/system-stored-procedures/sp-helplanguage-transact-sql.md)
70-
71-
32+
Returns the local language identifier (ID) of the language that is currently being used.
33+
34+
![Topic link icon](../../database-engine/configure-windows/media/topic-link.gif "Topic link icon") [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.
50+
51+
```
52+
SET LANGUAGE 'Italian'
53+
SELECT @@LANGID AS 'Language ID'
54+
```
55+
56+
[!INCLUDE[ssResult](../../includes/ssresult-md.md)]
57+
58+
```
59+
Changed language setting to Italiano.
60+
Language ID
61+
-----------
62+
6
63+
```
64+
65+
## See Also
66+
[Configuration Functions (Transact-SQL)](../../t-sql/functions/configuration-functions-transact-sql.md)
67+
[SET LANGUAGE (Transact-SQL)](../../t-sql/statements/set-language-transact-sql.md)
68+
[sp_helplanguage (Transact-SQL)](../../relational-databases/system-stored-procedures/sp-helplanguage-transact-sql.md)
69+
70+

0 commit comments

Comments
 (0)