Skip to content

Commit d54b44d

Browse files
committed
Duplicate-titles validation fixes pt 10
1 parent c058ced commit d54b44d

20 files changed

+30
-30
lines changed

docs/connect/oledb/ole-db-data-source-objects/sessions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Sessions | Microsoft Docs"
2+
title: "Sessions (OLE DB driver) | Microsoft Docs"
33
description: "Sessions in OLE DB Driver for SQL Server"
44
ms.custom: ""
55
ms.date: "06/14/2018"

docs/connect/oledb/ole-db-errors/retrieving-error-information.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Retrieving Error Information | Microsoft Docs"
2+
title: "Retrieving error information (OLE DB driver) | Microsoft Docs"
33
description: "Retrieving error information using OLE DB Driver for SQL Server"
44
ms.custom: ""
55
ms.date: "06/14/2018"

docs/connect/oledb/ole-db-errors/return-codes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Return Codes | Microsoft Docs"
2+
title: "Return codes (OLE DB driver) | Microsoft Docs"
33
description: "Return codes"
44
ms.custom: ""
55
ms.date: "06/14/2018"

docs/connect/oledb/ole-db-how-to/results/processing-results-how-to-topics-ole-db.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Processing Results How-to Topics (OLE DB) | Microsoft Docs"
2+
title: "Processing results how-to topics (OLE DB driver) | Microsoft Docs"
33
description: "Processing results how-to topics (OLE DB)"
44
ms.custom: ""
55
ms.date: "06/14/2018"

docs/connect/oledb/ole-db-how-to/retrieve-rows-using-bookmarks-ole-db.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Retrieve Rows Using Bookmarks (OLE DB) | Microsoft Docs"
2+
title: "Retrieve rows using bookmarks (OLE DB driver) | Microsoft Docs"
33
description: "Retrieve rows using bookmarks (OLE DB)"
44
ms.custom: ""
55
ms.date: "06/14/2018"

docs/connect/oledb/ole-db-how-to/set-large-data-ole-db.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Set Large Data (OLE DB) | Microsoft Docs"
2+
title: "Set large data (OLE DB driver) | Microsoft Docs"
33
description: "Set large data (OLE DB)"
44
ms.custom: ""
55
ms.date: "06/14/2018"
@@ -46,7 +46,7 @@ ms.author: pelopes
4646
## Example
4747

4848
### Description
49-
Compile with ole32.lib oleaut32.lib and execute the following C++ code listing. This application connects to your computer's default [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] instance. On some Windows operating systems, you will need to change (localhost) or (local) to the name of your [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] instance. To connect to a named instance, change the connection string from L"(local)" to L"(local)\\\name" , where name is the named instance. By default, [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Express installs to a named instance. Make sure your INCLUDE environment variable includes the directory that contains msoledbsql.h.
49+
Compile with ole32.lib oleaut32.lib and execute the following C++ code listing. This application connects to your computer's default [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] instance. On some Windows operating systems, you will need to change (localhost) or (local) to the name of your [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] instance. To connect to a named instance, change the connection string from L"(local)" to L"(local)\\\name", where name is the named instance. By default, [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Express installs to a named instance. Make sure your INCLUDE environment variable includes the directory that contains msoledbsql.h.
5050

5151
### Code
5252

docs/connect/oledb/ole-db-rowsets/rowset-properties-and-behaviors.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Rowset Properties and Behaviors | Microsoft Docs"
2+
title: "Rowset properties and behaviors (OLE DB driver) | Microsoft Docs"
33
description: "Rowset properties and behaviors in OLE DB Driver for SQL Server"
44
ms.custom: ""
55
ms.date: "06/14/2018"
@@ -31,7 +31,7 @@ ms.author: pelopes
3131
|DBPROP_BLOCKINGSTORAGEOBJECTS|R/W: Read-only<br /><br /> Default: VARIANT_TRUE<br /><br /> Description: The OLE DB Driver for SQL Server storage objects block using other rowset methods.|
3232
|DBPROP_BOOKMARKS DBPROP_LITERALBOOKMARKS|R/W: Read/write<br /><br /> Default: VARIANT_FALSE<br /><br /> Description: The OLE DB Driver for SQL Server supports bookmarks for rowset row identification when DBPROP_BOOKMARKS or DBPROP_LITERALBOOKMARKS is VARIANT_TRUE.<br /><br /> Setting either property to VARIANT_TRUE does not enable rowset positioning by bookmark. Set DBPROP_IRowsetLocate or DBPROP_IRowsetScroll to VARIANT_TRUE to create a rowset supporting rowset positioning by bookmark.<br /><br /> The OLE DB Driver for SQL Server uses a [!INCLUDE[msCoName](../../../includes/msconame-md.md)] [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] cursor to support a rowset that contains bookmarks. For more information, see [Rowsets and SQL Server Cursors](../../oledb/ole-db-rowsets/rowsets-and-sql-server-cursors.md).<br /><br /> Note: Setting these properties in conflict with other OLE DB Driver for SQL Server cursor-defining properties causes an error. For example, setting the DBPROP_BOOKMARKS to VARIANT_TRUE when DBPROP_OTHERINSERT is also VARIANT_TRUE generates an error when the consumer tries to open a rowset.|
3333
|DBPROP_BOOKMARKSKIPPED|R/W: Read-only<br /><br /> Default: VARIANT_FALSE<br /><br /> Description: The OLE DB Driver for SQL Server returns DB_E_BADBOOKMARK if the consumer indicates an invalid bookmark when positioning or searching a bookmarked rowset.|
34-
|DBPROP_BOOKMARKTYPE|R/W: Read-only<br /><br /> Default: DBPROPVAL_BMK_NUMERIC<br /><br /> Description: The OLE DB Driver for SQL Server implements numeric bookmarks only. A OLE DB Driver for SQL Server bookmark is 32-bit unsigned integer, type DBTYPE_UI4.|
34+
|DBPROP_BOOKMARKTYPE|R/W: Read-only<br /><br /> Default: DBPROPVAL_BMK_NUMERIC<br /><br /> Description: The OLE DB Driver for SQL Server implements numeric bookmarks only. An OLE DB Driver for SQL Server bookmark is 32-bit unsigned integer, type DBTYPE_UI4.|
3535
|DBPROP_CACHEDEFERRED|This rowset property is not implemented by the OLE DB Driver for SQL Server. Trying to read or write the property value generates an error.|
3636
|DBPROP_CANFETCHBACKWARDS DBPROP_CANSCROLLBACKWARDS|R/W: Read/write<br /><br /> Default: VARIANT_FALSE<br /><br /> Description: The OLE DB Driver for SQL Server supports backward fetching and scrolling in nonsequential rowsets. The OLE DB Driver for SQL Server creates a cursor-supported rowset when either DBPROP_CANFETCHBACKWARDS or DBPROP_CANSCROLLBACKWARDS is VARIANT_TRUE. For more information, see [Rowsets and SQL Server Cursors](../../oledb/ole-db-rowsets/rowsets-and-sql-server-cursors.md).|
3737
|DBPROP_CANHOLDROWS|R/W: Read/write<br /><br /> Default: VARIANT_FALSE<br /><br /> Description: By default, the OLE DB Driver for SQL Server returns DB_E_ROWSNOTRELEASED if the consumer tries to obtain more rows for a rowset while pending changes exist on those currently in the rowset. This behavior can be modified.<br /><br /> Setting both DBPROP_CANHOLDROWS and DBPROP_IRowsetChange to VARIANT_TRUE implies a bookmarked rowset. If both properties are VARIANT_TRUE, the **IRowsetLocate** interface is available on the rowset and DBPROP_BOOKMARKS and DBPROP_LITERALBOOKMARKS are both VARIANT_TRUE.<br /><br /> OLE DB Driver for SQL Server rowsets that contain bookmarks are supported by [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] cursors.|
@@ -74,7 +74,7 @@ ms.author: pelopes
7474
|DBPROP_REPORTMULTIPLECHANGES|This rowset property is not implemented by the OLE DB Driver for SQL Server. Trying to read or write the property value generates an error.|
7575
|DBPROP_RETURNPENDINGINSERTS|R/W: Read-only<br /><br /> Default: VARIANT_FALSE<br /><br /> Description: When a method that fetches rows is called, the OLE DB Driver for SQL Server does not return pending insert rows.|
7676
|DBPROP_ROWRESTRICT|R/W: Read-only<br /><br /> Default: VARIANT_TRUE<br /><br /> Description: OLE DB Driver for SQL Server rowsets do not support access rights based on the row. If the **IRowsetChange** interface is exposed on a rowset, the **SetData** method can be called by the consumer.|
77-
|DBPROP_ROWSET_ASYNCH|R/W: Read/write<br /><br /> Default: 0<br /><br /> Description: Provides for anychronous rowset processing. This property is in the Rowset property group and DBPROPSET_ROWSET property set. Type is VT_14.<br /><br /> The only value in the bitmask supported by OLE DB Driver for SQL Server is **DBPROPVAL_ASYNCH_INITIALIZE**.|
77+
|DBPROP_ROWSET_ASYNCH|R/W: Read/write<br /><br /> Default: 0<br /><br /> Description: Provides for asynchronous rowset processing. This property is in the Rowset property group and DBPROPSET_ROWSET property set. Type is VT_14.<br /><br /> The only value in the bitmask supported by OLE DB Driver for SQL Server is **DBPROPVAL_ASYNCH_INITIALIZE**.|
7878
|DBPROP_ROWTHREADMODEL|R/W: Read-only<br /><br /> Default: DBPROPVAL_RT_FREETHREAD<br /><br /> Description: The OLE DB Driver for SQL Server supports access to its objects from multiple execution threads of a single consumer.|
7979
|DBPROP_SERVERCURSOR|R/W: Read/write<br /><br /> Default: VARIANT_FALSE<br /><br /> Description: When set, a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] cursor is used to support the rowset. For more information, see [Rowsets and SQL Server Cursors](../../oledb/ole-db-rowsets/rowsets-and-sql-server-cursors.md).|
8080
|DBPROP_SERVERDATAONINSERT|R/W: Read/write<br /><br /> Default: VARIANT_FALSE<br /><br /> Description: Server data on insert.<br /><br /> VARIANT_TRUE: At the time an insert is transmitted to the server, the provider retrieves data from the server to update the local row cache.<br /><br /> VARIANT_FALSE: The provider does not retrieve server values for newly inserted rows.|

docs/connect/oledb/ole-db-rowsets/rowsets-and-sql-server-cursors.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Rowsets and SQL Server Cursors | Microsoft Docs"
2+
title: "Rowsets and SQL Server cursors (OLE DB driver) | Microsoft Docs"
33
description: "Rowsets and SQL Server cursors"
44
ms.custom: ""
55
ms.date: "06/14/2018"
@@ -71,7 +71,7 @@ ms.author: pelopes
7171
|DBPROP_IMMOBILEROWS|VARIANT_FALSE|Cannot update [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] data through the rowset. The rowset supports forward scrolling only. Relative row positioning is supported. Command text can include an ORDER BY clause if an index exists on the referenced columns.<br /><br /> DBPROP_IMMOBILEROWS is only available in rowsets that can show [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] rows inserted by commands on other sessions or by other users. Trying to open a rowset with the property set to VARIANT_FALSE on any rowset for which DBPROP_OTHERINSERT cannot be VARIANT_TRUE causes an error.|
7272
|DBPROP_REMOVEDELETED|VARIANT_TRUE|Cannot update [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] data through the rowset. The rowset supports forward scrolling only. Relative row positioning is supported. Command text can contain an ORDER BY clause unless constrained by another property.|
7373

74-
A OLE DB Driver for SQL Server rowset supported by a server cursor can be easily created on a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] base table or view by using the **IOpenRowset::OpenRowset** method. Specify the table or view by name, passing the required rowset property sets in the *rgPropertySets* parameter.
74+
An OLE DB Driver for SQL Server rowset supported by a server cursor can be easily created on a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] base table or view by using the **IOpenRowset::OpenRowset** method. Specify the table or view by name, passing the required rowset property sets in the *rgPropertySets* parameter.
7575

7676
Command text that creates a rowset is restricted when the consumer requires that the rowset be supported by a server cursor. Specifically, the command text is restricted to either a single SELECT statement that returns a single rowset result or a stored procedure that implements a single SELECT statement returning a single rowset result.
7777

@@ -139,10 +139,10 @@ ms.author: pelopes
139139

140140
For a particular set of rowset properties, the cursor model that is selected is determined as follows.
141141

142-
From the specified collection of rowset properties, obtain a subset of properties listed in the previous tables. Divide these properties into two subgroups depending on the flag value-required (T, F) or optional (-)-of each rowset property. For each cursor model, start in the first table and move from left to right., Compare the values of the properties in the two subgroups with the values of the corresponding properties in that column. The cursor model that has no mismatch with the required properties and the least number of mismatches with the optional properties is selected. If there is more than one cursor model, the leftmost is chosen.
142+
From the specified collection of rowset properties, obtain a subset of properties listed in the previous tables. Divide these properties into two subgroups depending on the flag value-required (T, F) or optional (-)-of each rowset property. For each cursor model, start in the first table and move from left to right. Compare the values of the properties in the two subgroups with the values of the corresponding properties in that column. The cursor model that has no mismatch with the required properties and the least number of mismatches with the optional properties is selected. If there is more than one cursor model, the leftmost is chosen.
143143

144144
## SQL Server Cursor Block Size
145-
When a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] cursor supports a OLE DB Driver for SQL Server rowset, the number of elements in the row handle array parameter of the **IRowset::GetNextRows** or the **IRowsetLocate::GetRowsAt** methods defines the cursor block size. The rows indicated by the handles in the array are the members of the cursor block.
145+
When a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] cursor supports an OLE DB Driver for SQL Server rowset, the number of elements in the row handle array parameter of the **IRowset::GetNextRows** or the **IRowsetLocate::GetRowsAt** methods defines the cursor block size. The rows indicated by the handles in the array are the members of the cursor block.
146146

147147
For rowsets supporting bookmarks, the row handles retrieved by using the **IRowsetLocate::GetRowsByBookmark** method define the members of the cursor block.
148148

docs/connect/oledb/ole-db-rowsets/rowsets.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Rowsets | Microsoft Docs"
2+
title: "Rowsets (OLE DB driver) | Microsoft Docs"
33
description: "Rowsets in OLE DB Driver for SQL Server"
44
ms.custom: ""
55
ms.date: "06/14/2018"

docs/connect/oledb/ole-db-tables-indexes/removing-a-column-from-a-sql-server-table.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Removing a Column from a SQL Server Table | Microsoft Docs"
2+
title: "Remove column from SQL Server table (OLE DB driver) | Microsoft Docs"
33
description: "Removing a column from a SQL Server table using OLE DB Driver for SQL Server"
44
ms.custom: ""
55
ms.date: "06/14/2018"

docs/relational-databases/native-client-ole-db-data-source-objects/sessions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Sessions | Microsoft Docs"
2+
title: "Sessions (Native Client OLE DB provider) | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "03/14/2017"
55
ms.prod: sql

docs/relational-databases/native-client-ole-db-errors/retrieving-error-information.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Retrieving Error Information | Microsoft Docs"
2+
title: "Retrieving error information (Native Client OLE DB provider) | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "03/14/2017"
55
ms.prod: sql

docs/relational-databases/native-client-ole-db-errors/return-codes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Return Codes | Microsoft Docs"
2+
title: "Return codes (Native Client OLE DB provider) | Microsoft Docs"
33
description: Learn about return codes supported for SQL Server Native Client OLE DB, including the commonly encountered DB_S_ERRORSOCCURRED HRESULT value.
44
ms.custom: ""
55
ms.date: "03/14/2017"

docs/relational-databases/native-client-ole-db-how-to/results/processing-results-how-to-topics-ole-db.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Processing Results How-to Topics (OLE DB) | Microsoft Docs"
2+
title: "Processing results how-to topics (Native Client OLE DB provider) | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "03/07/2017"
55
ms.prod: sql

docs/relational-databases/native-client-ole-db-how-to/retrieve-rows-using-bookmarks-ole-db.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Retrieve Rows Using Bookmarks (OLE DB) | Microsoft Docs"
2+
title: "Retrieve rows using bookmarks (Native Client OLE DB provider) | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "03/14/2017"
55
ms.prod: sql
@@ -42,7 +42,7 @@ monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-s
4242

4343
This sample requires the AdventureWorks sample database, which you can download from the [Microsoft SQL Server Samples and Community Projects](https://go.microsoft.com/fwlink/?LinkID=85384) home page.
4444

45-
Compile with ole32.lib oleaut32.lib and execute the following C++ code listing. This application connects to your computer's default [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance. On some Windows operating systems, you will need to change (localhost) or (local) to the name of your [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance. To connect to a named instance, change the connection string from L"(local)" to L"(local)\\\name" , where name is the named instance. By default, [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Express installs to a named instance. Make sure your INCLUDE environment variable includes the directory that contains sqlncli.h.
45+
Compile with ole32.lib oleaut32.lib and execute the following C++ code listing. This application connects to your computer's default [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance. On some Windows operating systems, you will need to change (localhost) or (local) to the name of your [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance. To connect to a named instance, change the connection string from L"(local)" to L"(local)\\\name", where name is the named instance. By default, [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Express installs to a named instance. Make sure your INCLUDE environment variable includes the directory that contains sqlncli.h.
4646

4747
```
4848
// compile with: ole32.lib oleaut32.lib

docs/relational-databases/native-client-ole-db-how-to/set-large-data-ole-db.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Set Large Data (OLE DB) | Microsoft Docs"
2+
title: "Set large data (Native Client OLE DB provider) | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "03/14/2017"
55
ms.prod: sql
@@ -45,7 +45,7 @@ monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-s
4545
## Example
4646

4747
### Description
48-
Compile with ole32.lib oleaut32.lib and execute the following C++ code listing. This application connects to your computer's default [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance. On some Windows operating systems, you will need to change (localhost) or (local) to the name of your [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance. To connect to a named instance, change the connection string from L"(local)" to L"(local)\\\name" , where name is the named instance. By default, [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Express installs to a named instance. Make sure your INCLUDE environment variable includes the directory that contains sqlncli.h.
48+
Compile with ole32.lib oleaut32.lib and execute the following C++ code listing. This application connects to your computer's default [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance. On some Windows operating systems, you will need to change (localhost) or (local) to the name of your [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance. To connect to a named instance, change the connection string from L"(local)" to L"(local)\\\name", where name is the named instance. By default, [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Express installs to a named instance. Make sure your INCLUDE environment variable includes the directory that contains sqlncli.h.
4949

5050
### Code
5151

0 commit comments

Comments
 (0)