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
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.
22
22
23
23
## Remarks
24
24
The following table lists the default mappings between the advanced [!INCLUDE[ssNoVersion](../../includes/ssnoversion_md.md)], JDBC, and Java programming language data types.
25
25
26
26
|SQL Server Types|JDBC Types (java.sql.Types)|Java Language Types|
Copy file name to clipboardExpand all lines: docs/connect/odbc/download-odbc-driver-for-sql-server.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ ms.date: "01/19/2017"
5
5
ms.prod: "sql-non-specified"
6
6
ms.reviewer: ""
7
7
ms.suite: ""
8
-
ms.technology:
8
+
ms.technology:
9
9
- "drivers"
10
10
ms.tgt_pltfrm: ""
11
11
ms.topic: "article"
@@ -17,20 +17,20 @@ manager: "jhubbard"
17
17
---
18
18
# Download ODBC Driver for SQL Server
19
19
## All Platforms
20
-
### Microsoft ODBC Driver 13.0 for SQL Server
20
+
### Microsoft ODBC Driver 13.1 for SQL Server
21
21
*[Download the Microsoft ODBC Driver 13 for SQL Server - All Platforms](https://www.microsoft.com/download/details.aspx?id=50420)
22
22
23
23
## Windows
24
24
25
25
### Microsoft ODBC Driver 13.1 for SQL Server
26
26
*[Download the Microsoft ODBC Driver 13.1 for SQL Server on Windows](https://www.microsoft.com/download/details.aspx?id=53339)
27
-
27
+
28
28
### Microsoft ODBC Driver 11 for SQL Server
29
29
*[Download the Microsoft ODBC Driver 11 for SQL Server on Windows](https://www.microsoft.com/download/details.aspx?id=36434)
30
30
*[Download command line utilities for Microsoft ODBC Driver 11 for SQL Server](https://www.microsoft.com/download/details.aspx?id=36433)
31
-
31
+
32
32
## Linux
33
-
33
+
34
34
### Microsoft ODBC Driver 11 for SQL Server
35
35
***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)
Copy file name to clipboardExpand all lines: docs/connect/odbc/linux/connecting-with-bcp.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,9 +59,9 @@ Uses a character data type.
59
59
Specifies the database to connect to.
60
60
61
61
-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).
63
63
64
-
-e *eror_file*
64
+
-e *error_file*
65
65
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.
66
66
67
67
-E
@@ -83,7 +83,7 @@ Specifies a login timeout. The –l option specifies the number of seconds befor
83
83
Specifies the number of the last row to export from a table or import from a data file.
84
84
85
85
-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.
87
87
88
88
-n
89
89
Uses the native (database) data types of the data to perform the bulk-copy operation.
Copy file name to clipboardExpand all lines: docs/connect/odbc/linux/connecting-with-sqlcmd.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,14 +209,14 @@ Create a sqlcmd scripting variable that can be used in a sqlcmd script.
209
209
210
210
You can use the following alternative method:
211
211
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:
213
213
214
214
```
215
215
:setvar ColumnName object_id
216
216
:setvar TableName sys.objects
217
217
```
218
218
219
-
- Create a file called b.sql,with the parameters for replacement:
219
+
- Create a file called b.sql,with the parameters for replacement:
220
220
221
221
```
222
222
select $(ColumnName) from $(TableName)
@@ -230,7 +230,7 @@ You can use the following alternative method:
230
230
231
231
- Run sqlcmd and use c.sql as input file:
232
232
233
-
slqcmd -S\<…> -P\<..> –U\<..> -I c.sql
233
+
slqcmd -S<…> -P<..> –U<..> -I c.sql
234
234
235
235
-z *password*
236
236
Change password.
@@ -267,7 +267,7 @@ The following entries are supported in a DSN on Linux:
267
267
268
268
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.
269
269
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.
271
271
272
272
Existing scripts that invoke **isql** can be modified to use **sqlcmd** by defining the following alias: **alias isql="sqlcmd –D"**.
Copy file name to clipboardExpand all lines: docs/connect/odbc/linux/connection-string-keywords-and-data-source-names-dsns.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ Server = [protocol:]server[,port]
60
60
61
61
You can optionally specify the protocol and port to connect to the server. For example, **Server = tcp:***servername***,12345**.
62
62
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.
64
64
65
65
Optionally, you can add the DSN information to a template file and execute the following command: **odbcinst -i -s -f***template_file*
66
66
@@ -83,16 +83,19 @@ Regardless of the settings for **Encrypt** and **TrustServerCertificate**, the s
83
83
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:
84
84
85
85
```
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
87
87
```
88
88
89
89
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:
90
90
91
91
|Platform|Minimum OpenSSL Version|Default Certificate Trust Store Location|
0 commit comments