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
Copy file name to clipboardExpand all lines: docs/connect/jdbc/troubleshooting-connectivity.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ ms.author: v-daenge
38
38
- When you use [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Authentication, the JDBC driver requires that [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] is installed with [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Authentication, which is not the default. Make sure that this option is included when you install or configure your instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)].
39
39
40
40
## See also
41
-
[Diagnosing problems with the JDBC driver](../../connect/jdbc/diagnosing-problems-with-the-jdbc-driver.md)
42
-
[Connecting to SQL Server with the JDBC driver](../../connect/jdbc/connecting-to-sql-server-with-the-jdbc-driver.md)
41
+
[Diagnosing problems with the JDBC driver](diagnosing-problems-with-the-jdbc-driver.md)
42
+
[Connecting to SQL Server with the JDBC driver](connecting-to-sql-server-with-the-jdbc-driver.md)
Copy file name to clipboardExpand all lines: docs/connect/jdbc/using-advanced-data-types.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ rs.next();
71
71
InputStream is = rs.getBinaryStream(2);
72
72
```
73
73
74
-
You can also use the [getBytes](../../connect/jdbc/reference/getbytes-method-sqlserverresultset.md) method to read the data as a byte array, as in the following:
74
+
You can also use the [getBytes](reference/getbytes-method-sqlserverresultset.md) method to read the data as a byte array, as in the following:
75
75
76
76
```java
77
77
ResultSet rs = stmt.executeQuery("SELECT photo FROM mypics");
@@ -117,7 +117,7 @@ try (PreparedStatement pstmt = con.prepareStatement("INSERT INTO test1 (Col1, Co
117
117
118
118
### Modifying large-value types in a database
119
119
120
-
In most cases, the recommended method for updating or modifying large values on the database is to pass parameters through the [SQLServerPreparedStatement](../../connect/jdbc/reference/sqlserverpreparedstatement-class.md) and [SQLServerCallableStatement](../../connect/jdbc/reference/sqlservercallablestatement-class.md) classes by using [!INCLUDE[tsql](../../includes/tsql-md.md)] commands like `UPDATE`, `WRITE`, and `SUBSTRING`.
120
+
In most cases, the recommended method for updating or modifying large values on the database is to pass parameters through the [SQLServerPreparedStatement](reference/sqlserverpreparedstatement-class.md) and [SQLServerCallableStatement](reference/sqlservercallablestatement-class.md) classes by using [!INCLUDE[tsql](../../includes/tsql-md.md)] commands like `UPDATE`, `WRITE`, and `SUBSTRING`.
121
121
122
122
If you have to replace the instance of a word in a large text file, such as an archived HTML file, you can use a Clob object, as in the following:
123
123
@@ -167,12 +167,12 @@ For more information about user-defined data types, see "Using and Modifying Ins
167
167
168
168
## Sql_variant data type
169
169
170
-
For information about sql_variant data type, see [Using Sql_variant data type](../../connect/jdbc/using-sql-variant-datatype.md).
170
+
For information about sql_variant data type, see [Using Sql_variant data type](using-sql-variant-datatype.md).
171
171
172
172
## Spatial data types
173
173
174
-
For information about spatial data types, see [Using Spatial Datatypes](../../connect/jdbc/use-spatial-datatypes.md).
174
+
For information about spatial data types, see [Using Spatial Datatypes](use-spatial-datatypes.md).
175
175
176
176
## See also
177
177
178
-
[Understanding the JDBC driver data types](../../connect/jdbc/understanding-the-jdbc-driver-data-types.md)
178
+
[Understanding the JDBC driver data types](understanding-the-jdbc-driver-data-types.md)
Copy file name to clipboardExpand all lines: docs/connect/jdbc/using-an-sql-statement-with-parameters.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
---
2
-
title: "Using an SQL statement with parameters | Microsoft Docs"
2
+
title: "Using an SQL statement with parameters"
3
+
description: "To work with an SQL statement that contains IN parameters, use the executeQuery method of the SQLServerPreparedStatement class to return a SQLServerResultSet."
Copy file name to clipboardExpand all lines: docs/connect/jdbc/using-basic-data-types.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
@@ -95,20 +95,20 @@ If you have to update the value of a field in a data source, use one of the upda
95
95
96
96
If you have to update data in a data source by using a parameterized query, you can set the data type of the parameters by using one of the set\<Type> methods of the [SQLServerPreparedStatement](reference/sqlserverpreparedstatement-class.md) class, also known as the *setter methods*. In the following example, the [prepareStatement](reference/preparestatement-method-sqlserverconnection.md) method is used to pre-compile the parameterized query, and then the [setString](reference/setstring-method-sqlserverpreparedstatement.md) method is used to set the string value of the parameter before the [executeUpdate](reference/executeupdate-method.md) method is called.
For more information about parameterized queries, see [Using an SQL statement with parameters](../../connect/jdbc/using-an-sql-statement-with-parameters.md).
100
+
For more information about parameterized queries, see [Using an SQL statement with parameters](using-an-sql-statement-with-parameters.md).
101
101
102
102
## Passing parameters to a stored procedure
103
103
104
104
If you have to pass typed parameters into a stored procedure, you can set the parameters by index or name by using one of the set\<Type> methods of the [SQLServerCallableStatement](../../connect/jdbc/reference/sqlservercallablestatement-class.md) class. In the following example, the [prepareCall](../../connect/jdbc/reference/preparecall-method-sqlserverconnection.md) method is used to set up the call to the stored procedure, and then the [setString](../../connect/jdbc/reference/setstring-method-sqlservercallablestatement.md) method is used to set the parameter for the call before the [executeQuery](../../connect/jdbc/reference/executequery-method-sqlserverstatement.md) method is called.
> In this example, a result set is returned with the results of running the stored procedure.
110
110
111
-
For more information about using the JDBC driver with stored procedures and input parameters, see [Using a stored procedure with input parameters](../../connect/jdbc/using-a-stored-procedure-with-input-parameters.md).
111
+
For more information about using the JDBC driver with stored procedures and input parameters, see [Using a stored procedure with input parameters](using-a-stored-procedure-with-input-parameters.md).
Copy file name to clipboardExpand all lines: docs/connect/odbc/linux-mac/known-issues-in-this-version-of-the-driver.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
---
2
2
title: Known issues for the ODBC driver on Linux and macOS
3
+
description: "Learn about known issues with the Microsoft ODBC Driver for SQL Server on Linux and macOS and steps for troubleshooting connectivity issues."
Copy file name to clipboardExpand all lines: docs/connect/odbc/windows/release-notes-odbc-sql-server-windows.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -250,8 +250,8 @@ For the x86 driver: [Chinese (Simplified)](https://go.microsoft.com/fwlink/?link
250
250
251
251
| Feature added | Details |
252
252
| :------------ | :------ |
253
-
| ODBC Driver 13.1 for [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] adds support for [Always Encrypted](../../../connect/odbc/using-always-encrypted-with-the-odbc-driver.md) and [Azure Active Directory](../../../connect/odbc/using-azure-active-directory.md). | These added supports are available when connecting to Microsoft SQL Server 2016, or to a later version. |
254
-
| There are connection pooling keywords and attributes, that correspond to the supports for Always Encrypted and Azure Active Directory. | These keywords and attributes are described in [Driver Aware Connection Pooling in the ODBC Driver for SQL Server](../../../connect/odbc/windows/driver-aware-connection-pooling-in-the-odbc-driver-for-sql-server.md). |
253
+
| ODBC Driver 13.1 for [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] adds support for [Always Encrypted](../using-always-encrypted-with-the-odbc-driver.md) and [Azure Active Directory](../using-azure-active-directory.md). | These added supports are available when connecting to Microsoft SQL Server 2016, or to a later version. |
254
+
| There are connection pooling keywords and attributes, that correspond to the supports for Always Encrypted and Azure Active Directory. | These keywords and attributes are described in [Driver Aware Connection Pooling in the ODBC Driver for SQL Server](driver-aware-connection-pooling-in-the-odbc-driver-for-sql-server.md). |
Copy file name to clipboardExpand all lines: docs/connect/oledb/when-to-use-oledb-driver-for-sql-server.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
@@ -1,6 +1,6 @@
1
1
---
2
-
title: "When to Use OLE DB Driver for SQL Server | Microsoft Docs"
3
-
description: "When to use OLE DB Driver for SQL Server"
2
+
title: "When to Use OLE DB Driver"
3
+
description: "Learn when to use OLE DB Driver for SQL Server and the high level data access concepts that differentiate the different it from other drivers."
4
4
ms.custom: ""
5
5
ms.date: "06/14/2018"
6
6
ms.prod: sql
@@ -35,7 +35,7 @@ ms.author: pelopes
35
35
For information about the differences between OLE DB Driver for SQL Server and MDAC, see [Updating an Application to OLE DB Driver for SQL Server from MDAC](../oledb/applications/updating-an-application-to-oledb-driver-for-sql-server-from-mdac.md).
36
36
37
37
## See Also
38
-
[OLE DB Driver for SQL Server](../oledb/oledb-driver-for-sql-server.md)
39
-
[OLE DB How-to Topics](../oledb/ole-db-how-to/ole-db-how-to-topics.md)
38
+
[OLE DB Driver for SQL Server](oledb-driver-for-sql-server.md)
39
+
[OLE DB How-to Topics](ole-db-how-to/ole-db-how-to-topics.md)
Copy file name to clipboardExpand all lines: docs/connect/php/sqlsrv-query.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
---
2
-
title: "sqlsrv_query | Microsoft Docs"
2
+
title: "sqlsrv_query"
3
+
description: "The sqlsrv_query function provides a method to execute a query with a minimum amount of code and can be used to execute parameterized queries."
0 commit comments