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

Commit 106f2af

Browse files
authored
Merge branch 'master' into sqllinuxtoolsupdate
2 parents 5aa2bb4 + f54bb1d commit 106f2af

63 files changed

Lines changed: 1602 additions & 543 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ReadMe.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
Multiple OPS docsets publish from the sql-docs-pr repository and more coming.
22
See the contributor-guide folder for information on how to get permissions and setup your authoring environment.
33

4-
**\docs\analytics-platforms-system**
4+
**\docs-msdn\analytics-platforms-system**
55
- Content for the Microsoft Analytics Platform System (APS)
66
- Publishing live to MSDN
77
- [OPS Docset](https://ops.microsoft.com/#/sites/MSDN.Modern/docsets/analytics-platform-system)
88

9-
**\docs\linux**
10-
- Content for SQL Server on
11-
- to be published on docs.microsoft.com
12-
- [OPS Docset](https://ops.microsoft.com/#/sites/Docs/docsets/linux)
13-
14-
**\docs\tools**
15-
- future locaiton of content for SQL Server related tools such as SSDT and SSMS
9+
**\docs\**
10+
- Content for SQL Server on Linux, SQL Tools, and SQL Drivers. Future home of SQL Server 2016 content
11+
- published live to docs.microsoft.com
12+
- [Linux](https://docs.microsoft.com/en-us/sql/linux/)
13+
- [SQL Server Management Studio (SSM)](https://docs.microsoft.com/en-us/sql/ssms)
14+
- [SQL Server Data tools (SSDT](https://docs.microsoft.com/en-us/sql/ssdt)
15+
- [ADO .Net](https://docs.microsoft.com/en-us/sql/ado)
16+
- [ODBC](https://docs.microsoft.com/en-us/sql/odbc)
17+
- [SQL Drivers - JDBC, PHP, Ruby ...](https://docs.microsoft.com/en-us/sql/connect)
18+
- [SQL Server Samples](https://docs.microsoft.com/en-us/sql/sample)
19+
- [SQL Server Migration Assistant (SSMA)](https://docs.microsoft.com/en-us/sql/ssma)
20+
- [SQL Server release notes](https://docs.microsoft.com/en-us/sql/release-notes)

docs/connect/jdbc/using-advanced-data-types.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
---
2-
title: "Using Advanced Data Types | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "01/19/2017"
5-
ms.prod: "sql-non-specified"
6-
ms.reviewer: ""
7-
ms.suite: ""
8-
ms.technology:
9-
- "drivers"
10-
ms.tgt_pltfrm: ""
11-
ms.topic: "article"
12-
ms.assetid: b39461d3-48d6-4048-8300-1a886c00756d
13-
caps.latest.revision: 58
14-
author: "MightyPen"
15-
ms.author: "genemi"
16-
manager: "jhubbard"
17-
---
18-
# Using Advanced Data Types
19-
[!INCLUDE[Driver_JDBC_Download](../../includes/driver_jdbc_download.md)]
20-
1+
---
2+
title: "Using Advanced Data Types | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "01/19/2017"
5+
ms.prod: "sql-non-specified"
6+
ms.reviewer: ""
7+
ms.suite: ""
8+
ms.technology:
9+
- "drivers"
10+
ms.tgt_pltfrm: ""
11+
ms.topic: "article"
12+
ms.assetid: b39461d3-48d6-4048-8300-1a886c00756d
13+
caps.latest.revision: 58
14+
author: "MightyPen"
15+
ms.author: "genemi"
16+
manager: "jhubbard"
17+
---
18+
# Using Advanced Data Types
19+
[!INCLUDE[Driver_JDBC_Download](../../includes/driver_jdbc_download.md)]
20+
2121
The [!INCLUDE[jdbcNoVersion](../../includes/jdbcnoversion_md.md)] uses the JDBC advanced data types to convert the [!INCLUDE[ssNoVersion](../../includes/ssnoversion_md.md)] data types to a format that can be understood by the Java programming language.
2222

2323
## Remarks
2424
The following table lists the default mappings between the advanced [!INCLUDE[ssNoVersion](../../includes/ssnoversion_md.md)], JDBC, and Java programming language data types.
2525

2626
|SQL Server Types|JDBC Types (java.sql.Types)|Java Language Types|
2727
|----------------------|-----------------------------------|-------------------------|
28-
|varbinary(max)<br /><br /> image|LONGVARBINARY|byte[] (default), Blob, InputStream, String|
28+
|varbinary(max)<br /><br /> image|LONGVARBINARY|byte[] \(default), Blob, InputStream, String|
2929
|text<br /><br /> varchar(max)|LONGVARCHAR|String (default), Clob, InputStream|
3030
|ntext<br /><br /> nvarchar(max)|LONGVARCHAR<br /><br /> LONGNVARCHAR (Java SE 6.0)|String (default), Clob, NClob (Java SE 6.0)|
3131
|xml|LONGVARCHAR<br /><br /> SQLXML (Java SE 6.0)|String (default), InputStream, Clob, byte[],Blob, SQLXML (Java SE 6.0)|

docs/connect/odbc/TOC.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
# [Getting Started with ODBC Driver for SQL Server](getting-started-with-odbc-driver-for-sql-server.md)
21
# [Microsoft ODBC Driver for SQL Server](microsoft-odbc-driver-for-sql-server.md)
32
# [Download ODBC Driver for SQL Server](download-odbc-driver-for-sql-server.md)
4-
# [Step 1: Configure development environment for C++ development](step-1-configure-development-environment-for-c-development.md)
5-
# [Step 2: Create a SQL database for C++ development](step-2-create-a-sql-database-for-c-development.md)
63

7-
# [Windows](./linux/TOC.md)
8-
# [Linux](./windows/TOC.md)
4+
# [Windows](./windows/TOC.md)
5+
# [Linux](./linux/TOC.md)
6+
# [Mac](./mac/TOC.md)

docs/connect/odbc/download-odbc-driver-for-sql-server.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.date: "01/19/2017"
55
ms.prod: "sql-non-specified"
66
ms.reviewer: ""
77
ms.suite: ""
8-
ms.technology:
8+
ms.technology:
99
- "drivers"
1010
ms.tgt_pltfrm: ""
1111
ms.topic: "article"
@@ -17,20 +17,20 @@ manager: "jhubbard"
1717
---
1818
# Download ODBC Driver for SQL Server
1919
## All Platforms
20-
### Microsoft ODBC Driver 13.0 for SQL Server
20+
### Microsoft ODBC Driver 13.1 for SQL Server
2121
* [Download the Microsoft ODBC Driver 13 for SQL Server - All Platforms](https://www.microsoft.com/download/details.aspx?id=50420)
2222

2323
## Windows
2424

2525
### Microsoft ODBC Driver 13.1 for SQL Server
2626
* [Download the Microsoft ODBC Driver 13.1 for SQL Server on Windows](https://www.microsoft.com/download/details.aspx?id=53339)
27-
27+
2828
### Microsoft ODBC Driver 11 for SQL Server
2929
* [Download the Microsoft ODBC Driver 11 for SQL Server on Windows](https://www.microsoft.com/download/details.aspx?id=36434)
3030
* [Download command line utilities for Microsoft ODBC Driver 11 for SQL Server](https://www.microsoft.com/download/details.aspx?id=36433)
31-
31+
3232
## Linux
33-
33+
3434
### Microsoft ODBC Driver 11 for SQL Server
3535
* **Red Hat Enterprise Linux 5 and 6 (64-bit)** - Download: [Microsoft ODBC Driver 11 for SQL Server - Red Hat Linux](http://go.microsoft.com/fwlink/?LinkId=267321)
36-
* **SUSE Linux Enterprise 11 Service Pack 2 (64-bit)** - Download: [Microsoft ODBC Driver 11 Preview for SQL Server - SUSE Linux](http://go.microsoft.com/fwlink/?LinkId=264916)
36+
* **SUSE Linux Enterprise 11 Service Pack 2 (64-bit)** - Download: [Microsoft ODBC Driver 11 Preview for SQL Server - SUSE Linux](http://go.microsoft.com/fwlink/?LinkId=264916)

docs/connect/odbc/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
2-
redirect_url: /sql/connect/odbc/getting-started-with-odbc-driver-for-sql-server
3-
---
2+
redirect_url: /sql/connect/odbc/microsoft-odbc-driver-for-sql-server
3+
---

docs/connect/odbc/linux/TOC.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# [ODBC Driver on Linux Support for High Availability, Disaster Recovery](odbc-driver-on-linux-support-for-high-availability-disaster-recovery.md)
2-
# [Connection String Keywords and Data Source Names (DSNs)](connection-string-keywords-and-data-source-names-dsns.md)
3-
# [Installing the Microsoft ODBC Driver for SQL Server on Linux](installing-the-microsoft-odbc-driver-for-sql-server-on-linux.md)
4-
# [System Requirements](system-requirements.md)
5-
# [Using Transparent Network IP Resolution](using-transparent-network-ip-resolution.md)
6-
# [Custom Keystore Providers](custom-keystore-providers.md)
71
# [Microsoft ODBC Driver for SQL Server on Linux](microsoft-odbc-driver-for-sql-server-on-linux.md)
8-
# [Using Integrated Authentication](using-integrated-authentication.md)
92
# [Release Notes for the Microsoft ODBC Driver for SQL Server on Linux](release-notes-for-the-microsoft-odbc-driver-for-sql-server-on-linux.md)
10-
# [Installing the Driver Manager](installing-the-driver-manager.md)
113
# [Known Issues in this Version of the Driver](known-issues-in-this-version-of-the-driver.md)
12-
# [Frequently Asked Questions (FAQ) for ODBC Linux](frequently-asked-questions-faq-for-odbc-linux.md)
4+
# [System Requirements](system-requirements.md)
5+
# [Installing the Microsoft ODBC Driver for SQL Server on Linux](installing-the-microsoft-odbc-driver-for-sql-server-on-linux.md)
6+
# [Installing the Driver Manager](installing-the-driver-manager.md)
7+
# [Connection String Keywords and Data Source Names (DSNs)](connection-string-keywords-and-data-source-names-dsns.md)
8+
# [Using Integrated Authentication](using-integrated-authentication.md)
9+
# [ODBC Driver on Linux Support for High Availability, Disaster Recovery](odbc-driver-on-linux-support-for-high-availability-disaster-recovery.md)
10+
# [Using Transparent Network IP Resolution](using-transparent-network-ip-resolution.md)
11+
# [Using Always Encrypted with the Linux ODBC Driver](using-always-encrypted-with-the-linux-odbc-driver.md)
12+
# [Custom Keystore Providers](custom-keystore-providers.md)
1313
# [Connecting with sqlcmd](connecting-with-sqlcmd.md)
1414
# [Connecting with bcp](connecting-with-bcp.md)
1515
# [Data Access Tracing with the ODBC Driver on Linux](data-access-tracing-with-the-odbc-driver-on-linux.md)
1616
# [Programming Guidelines](programming-guidelines.md)
17-
# [Using Always Encrypted with the Linux ODBC Driver](using-always-encrypted-with-the-linux-odbc-driver.md)
17+
# [Frequently Asked Questions (FAQ) for ODBC Linux](frequently-asked-questions-faq-for-odbc-linux.md)

docs/connect/odbc/linux/connecting-with-bcp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ Uses a character data type.
5959
Specifies the database to connect to.
6060

6161
-D
62-
Causes the value passed to the sqlcmd -S option to be interpreted as a data source name (DSN). For more information, see "DSN Support in sqlcmd and bcp" in [Connecting with sqlcmd](../../../connect/odbc/linux/connecting-with-sqlcmd.md).
62+
Causes the value passed to the bcp -S option to be interpreted as a data source name (DSN). For more information, see "DSN Support in sqlcmd and bcp" in [Connecting with sqlcmd](../../../connect/odbc/linux/connecting-with-sqlcmd.md).
6363

64-
-e *eror_file*
64+
-e *error_file*
6565
Specifies the full path of an error file used to store any rows that the bcp utility cannot transfer from the file to the database.
6666

6767
-E
@@ -83,7 +83,7 @@ Specifies a login timeout. The –l option specifies the number of seconds befor
8383
Specifies the number of the last row to export from a table or import from a data file.
8484

8585
-m *max_errors*
86-
Specifies the maximum number of syntax errors that can occur before the bcp operation is canceled.
86+
Specifies the maximum number of syntax errors that can occur before the bcp operation is cancelled.
8787

8888
-n
8989
Uses the native (database) data types of the data to perform the bulk-copy operation.

docs/connect/odbc/linux/connecting-with-sqlcmd.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,14 +209,14 @@ Create a sqlcmd scripting variable that can be used in a sqlcmd script.
209209

210210
You can use the following alternative method:
211211

212-
- Put the parameters inside one file. Which you can then append to another file. This will help you use a parameter file to replace the values. Create a file called a.sql (the parameter file) with the following content:
212+
- Put the parameters inside one file, which you can then append to another file. This will help you use a parameter file to replace the values. Create a file called a.sql (the parameter file) with the following content:
213213

214214
```
215215
:setvar ColumnName object_id
216216
:setvar TableName sys.objects
217217
```
218218
219-
- Create a file called b.sql,with the parameters for replacement:
219+
- Create a file called b.sql, with the parameters for replacement:
220220
221221
```
222222
select $(ColumnName) from $(TableName)
@@ -230,7 +230,7 @@ You can use the following alternative method:
230230
231231
- Run sqlcmd and use c.sql as input file:
232232
233-
slqcmd -S\<…> -P\<..> –U\<..> -I c.sql
233+
slqcmd -S<…> -P<..> –U<..> -I c.sql
234234
235235
-z *password*
236236
Change password.
@@ -267,7 +267,7 @@ The following entries are supported in a DSN on Linux:
267267
268268
In a DSN, only the DRIVER entry is required, but to connect to a server, **sqlcmd** or **bcp** need the value in the SERVER entry.
269269
270-
If the same option is specified in both the DSN and the **sqlcmd** or **bcp** command line, the **sqlcmd** or **bcp** option override the value used in the DSN. For example, if the DSN has a DATABASE entry and the **sqlcmd** command line includes -d, the value passed to **-d** is used. If **Trusted_Connection=yes** is specified in the DSN, Kerberos authentication is used, and user name (**–U**) and password (**–P**) , if provided, is ignored.
270+
If the same option is specified in both the DSN and the **sqlcmd** or **bcp** command line, the **sqlcmd** or **bcp** option overrides the value used in the DSN. For example, if the DSN has a DATABASE entry and the **sqlcmd** command line includes -d, the value passed to **-d** is used. If **Trusted_Connection=yes** is specified in the DSN, Kerberos authentication is used, and user name (**–U**) and password (**–P**) , if provided, is ignored.
271271
272272
Existing scripts that invoke **isql** can be modified to use **sqlcmd** by defining the following alias: **alias isql="sqlcmd –D"**.
273273

docs/connect/odbc/linux/connection-string-keywords-and-data-source-names-dsns.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Server = [protocol:]server[,port]
6060

6161
You can optionally specify the protocol and port to connect to the server. For example, **Server = tcp:***servername***,12345**.
6262

63-
To connect to a named instance on a static port, use **Server =** *servername***,***port_number*. Connecting to dynamic port is not supported.
63+
To connect to a named instance on a static port, use **Server =** *servername***,***port_number*. Connecting to a dynamic port is not supported.
6464

6565
Optionally, you can add the DSN information to a template file and execute the following command: **odbcinst -i -s -f** *template_file*
6666

@@ -83,16 +83,19 @@ Regardless of the settings for **Encrypt** and **TrustServerCertificate**, the s
8383
By default, encrypted connections always verify the server’s certificate. However, if you connect to a server that has a self-signed certificate, also add the TrustServerCertificateOption:
8484

8585
```
86-
Driver='ODBC Driver 11 for SQL Server';Server=ServerNameHere;Encrypt=YES;TrustServerCertificate=YES
86+
Driver='ODBC Driver 13 for SQL Server';Server=ServerNameHere;Encrypt=YES;TrustServerCertificate=YES
8787
```
8888

8989
SSL uses the OpenSSL library. The following table shows the minimum supported versions of OpenSSL and the default Certificate Trust Store locations for each platform:
9090

9191
|Platform|Minimum OpenSSL Version|Default Certificate Trust Store Location|
9292
|------------|---------------------------|--------------------------------------------|
93-
|Red Hat Enterprise Linux 5|0.9.8e|/etc/pki/tls/cert.pem|
9493
|Red Hat Enterprise Linux 6|1.0.0-10|/etc/pki/tls/cert.pem|
95-
|SuSE Linux Enterprise 11 Service Pack 2|0.9.8j|/etc/ssl/certs|
94+
|Red Hat Enterprise Linux 7|1.0.1e|/etc/pki/tls/cert.pem|
95+
|SuSE Linux Enterprise 12 |1.0.1i|/etc/ssl/certs|
96+
|Ubuntu 15.10 |1.0.2d|/etc/ssl/certs|
97+
|Ubuntu 16.04 |1.0.2g|/etc/ssl/certs|
98+
|Ubuntu 16.10 |1.0.2g|/etc/ssl/certs|
9699

97100
You can use **SQLDriverConnect** to specify encryption in the connection string.
98101

0 commit comments

Comments
 (0)