Skip to content

Commit 5385bba

Browse files
committed
Merge branch 'release-sqlseattle' of https://github.com/MicrosoftDocs/sql-docs-pr into heidist-ctp2-differences2019
2 parents e0829d8 + 623fed9 commit 5385bba

3 files changed

Lines changed: 39 additions & 35 deletions

File tree

docs/relational-databases/collations/view-collation-information.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||=sqlallproducts-allversio
2020
# View Collation Information
2121
[!INCLUDE[appliesto-ss-asdb-xxxx-xxx-md](../../includes/appliesto-ss-asdb-xxxx-xxx-md.md)]
2222

23-
## <a name="Top"></a> You can view the collation of a server, database, or column in [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] using Object Explorer menu options or by using [!INCLUDE[tsql](../../includes/tsql-md.md)].
23+
<a name="Top"></a> You can view the collation of a server, database, or column in [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] using Object Explorer menu options or by using [!INCLUDE[tsql](../../includes/tsql-md.md)].
2424

2525
## <a name="Procedures"></a> How to View a Collation Setting
2626
You can use one of the following:
@@ -59,13 +59,13 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||=sqlallproducts-allversio
5959

6060
2. In the query window, enter the following statement that uses the SERVERPROPERTY system function.
6161

62-
```
62+
```sql
6363
SELECT CONVERT (varchar, SERVERPROPERTY('collation'));
6464
```
6565

6666
3. Alternatively, you can use the sp_helpsort system stored procedure.
6767

68-
```
68+
```sql
6969
EXECUTE sp_helpsort;
7070
```
7171

@@ -75,7 +75,7 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||=sqlallproducts-allversio
7575

7676
2. In the query window, enter the following statement that uses the SERVERPROPERTY system function.
7777

78-
```
78+
```sql
7979
SELECT name, description FROM sys.fn_helpcollations();
8080
```
8181

@@ -85,13 +85,13 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||=sqlallproducts-allversio
8585

8686
2. In the query window, enter the following statement that uses the sys.databases system catalog view.
8787

88-
```
88+
```sql
8989
SELECT name, collation_name FROM sys.databases;
9090
```
9191

9292
3. Alternatively, you can use the DATABASEPROPERTYEX system function.
9393

94-
```
94+
```sql
9595
SELECT CONVERT (varchar, DATABASEPROPERTYEX('database_name','collation'));
9696
```
9797

@@ -101,7 +101,7 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||=sqlallproducts-allversio
101101

102102
2. In the query window, enter the following statement that uses the sys.columns system catalog view.
103103

104-
```
104+
```sql
105105
SELECT name, collation_name FROM sys.columns WHERE name = N'<insert character data type column name>';
106106
```
107107

@@ -111,6 +111,7 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||=sqlallproducts-allversio
111111
[sys.databases &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-databases-transact-sql.md)
112112
[sys.columns &#40;Transact-SQL&#41;](../../relational-databases/system-catalog-views/sys-columns-transact-sql.md)
113113
[Collation Precedence &#40;Transact-SQL&#41;](../../t-sql/statements/collation-precedence-transact-sql.md)
114+
[Collation and Unicode Support](../../relational-databases/collations/collation-and-unicode-support.md)
114115
[sp_helpsort &#40;Transact-SQL&#41;](../../relational-databases/system-stored-procedures/sp-helpsort-transact-sql.md)
115116

116117

docs/relational-databases/errors-events/database-engine-events-and-errors.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,6 +1373,7 @@ The table contains error message numbers and the description, which is the text
13731373
| 2812 | 16 | No | Could not find stored procedure '%.*ls'. |
13741374
| 2813 | 16 | No | %.*ls is not supported on this edition of SQL Server. |
13751375
| [2814](mssqlserver-2814-database-engine-error.md) | 10 | No | A possible infinite recompile was detected for SQLHANDLE %hs, PlanHandle %hs, starting offset %d, ending offset %d. The last recompile reason was %d. |
1376+
| 2628 | 16 | No | String or binary data would be truncated in table '%.*ls', column '%.*ls'. Truncated value: '%.*ls'. |
13761377
| &nbsp; | &nbsp; |&nbsp; | &nbsp; |
13771378

13781379
## Errors 3000 - 3999

0 commit comments

Comments
 (0)