Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 2.94 KB

data-source-information-properties.md

File metadata and controls

48 lines (40 loc) · 2.94 KB

title: "Data Source Information Properties | Microsoft Docs" ms.custom: "" ms.date: "03/14/2017" ms.prod: sql ms.prod_service: "database-engine, sql-database, sql-data-warehouse, pdw" ms.component: "native-client-ole-db-data-source-objects" ms.reviewer: "" ms.suite: "sql" ms.technology:

ms.tgt_pltfrm: "" ms.topic: "reference" helpviewer_keywords:

  • "SQL Server Native Client OLE DB provider, data source properties"
  • "properties [OLE DB]"
  • "data source properties [OLE DB]"
  • "information properties [OLE DB]"
  • "OLE DB data source properties [SQL Server Native Client]" ms.assetid: 7fd80e47-5bd9-41e2-a3d3-091a7c8c5f2b caps.latest.revision: 37 author: MightyPen ms.author: genemi manager: craigg monikerRange: ">= aps-pdw-2016 || = azuresqldb-current || = azure-sqldw-latest || >= sql-server-2016 || = sqlallproducts-allversions"

Data Source Information Properties

[!INCLUDEappliesto-ss-asdb-asdw-pdw-md] [!INCLUDESNAC_Deprecated]

In the provider-specific property set DBPROPSET_SQLSERVERDATASOURCEINFO, the [!INCLUDEssNoVersion] Native Client OLE DB provider defines the following data source information properties.

Property ID Description
SSPROP_COLUMNLEVELCOLLATION Type: VT_BOOL

R/W: Read

Default: VARIANT_TRUE

Description: Used to determine if column collation is supported.

VARIANT_TRUE: Column level collation is supported.

VARIANT_FALSE: Column level collation is not supported.
SSPROP_UNICODELCID Type: VT_I4 R/W: Read

Description: Unicode locale ID.

This is the locale used for Unicode data sorting.
SSPROP_UNICODECOMPARISONSTYLE Type: VT_I4 R/W: Read

Description: Unicode comparison style.

The sorting options used for Unicode data sorting.

In the provider-specific property set DBPROPSET_SQLSERVERSTREAM, the [!INCLUDEssNoVersion] Native Client OLE DB provider defines the following additional property.

Property ID Description
SSPROP_STREAM_XMLROOT Type: VT_BSTR R/W: Read/Write

Description: The result of a FOR XML query may not be a well-formed document. When this property is specified, the result of a ‘select … for XML’ query is wrapped in the root tag provided by this property to return a well formed XML document. If the query is executed in the browser it may cause the browser to display parser errors when loading the result. To avoid the error, SQL ISAPI supports the keyword ROOT. This keyword maps to SSPROP_STREAM_XMLROOT property.

See Also

Data Source Objects (OLE DB)