B Provider-Specific OLE DB Information
Datatype Mappings
This section lists the datatype mappings between Oracle datatypes and OLE DB datatypes. Oracle OLAP Provider for OLE DB represents Oracle datatypes by using certain OLE DB datatypes. Each Oracle datatype is mapped to a specific OLE DB datatype. This correspondence is used when data is retrieved from Oracle Databases.
Table B-1 Datatype Mappings
Mapping | Oracle Datatype | OLE DB Datatype |
---|---|---|
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
Objects
The provider exposes OLAP-specific as well as OLE DB core interfaces. This section identifies the objects that the Oracle OLAP Provider for OLE DB exposes:
-
Data Source
-
Session
-
Command
-
Rowset
-
Dataset
-
Errors
-
Error Records
Interfaces
The provider exposes the following OLE DB and OLE DB for OLAP interfaces.
Data Source Object Interfaces
CoType TDataSource { interface IDBCreateSession; interface IDBInitialize; interface IDBProperties; interface IPersist; interface IDBInfo; interface ISupportErrorInfo; }
Session Object Interfaces
CoType TSession { interface IGetDataSource; interface IDBCreateCommand; interface ISessionProperties; interface IDBSchemaRowset; interface ISupportErrorInfo; }
Command Object Interface
CoType TCommand { interface IAccessor; interface IColumnsInfo; interface ICommand; interface ICommandProperties; interface ICommandText; interface IConvertType; interface ISupportErrorInfo; }
Rowset Object interfaces
CoType TRowset { interface IAccessor; interface IColumnsInfo; interface IConvertType; interface IRowset; interface IRowsetInfo; interface IConnectionPointContainer; interface IRowsetLocate; interface IRowsetScroll; interface ISupportErrorInfo; }
DataSet Object Interface
CoType TDataset { interface IAccessor; interface IConvertType; interface IColumnsInfo; interface IMDDataset; interface ISupportErrorInfo; }
Properties
This section lists the properties supported by the provider. R/W indicates read, or write or both.
For details on the definition (including the type, and equivalent ADO MD property name) of the listed properties in this section, read the Microsoft OLE DB and OLE DB for OLAP documentation .
See Also:
Microsoft Developer Network
Data Source Properties
Table B-2 lists the data source properties that the provider supports, with their default values.
Table B-2 DBPROPSET_DATASOURCE
Property | R/W | Default Value |
---|---|---|
|
R |
|
|
R |
|
Data Source Info Properties
Table B-3 lists the data source info properties that the provider supports, with their default values.
Table B-3 DBPROPSET_DATASOURCEINFO
Property | R/W | Default Value |
---|---|---|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
Dynamically set to status of connection |
|
R |
Dynamically set to |
|
R |
|
|
R |
|
|
R |
|
|
R |
Dynamically set to version # string |
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
0 (unlimited) |
|
R |
0 (not supported) |
|
R |
0 (unlimited) |
|
R |
|
|
R |
0 (unlimited, unknown, or not applicable) |
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
"10.1.0.2.0" |
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
Dynamically set to |
|
R |
|
|
R |
0 (no limit) |
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
Initialization and Authorization Properties
Table B-4 lists the initialization and authorization properties that the provider supports, with their default values.
Table B-4 DBPROPSET_DBINIT
Property | R/W | Default Value |
---|---|---|
|
R/W |
Dynamically set to |
|
R |
|
|
R/W |
Dynamically set to |
|
R/W |
Dynamically set to |
|
R/W |
|
|
R/W |
Dynamically set to System LCID |
|
R/W |
|
|
R/W |
|
|
R/W |
Dynamically set to provider-specific string attribute settings |
Rowset Properties
Table B-5 lists the rowset properties that this release supports, with their default values.
Table B-5 DBPROP_ROWSET
Property | R/W | Default Value |
---|---|---|
|
R |
|
|
R |
|
|
R |
|
|
R/W |
|
|
R/W |
|
|
R |
|
|
R |
|
|
R/W |
|
|
R/W |
|
|
R/W |
|
|
R |
|
|
R/W |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R/W |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R/W |
|
|
R |
|
|
R/W |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R/W |
|
|
R |
|
|
R/W |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R/W |
|
|
R |
|
|
R/W |
|
|
R/W |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R/W |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R |
|
|
R/W |
|
|
R/W |
|
|
R/W |
|
|
R |
|
Rowset Property Implications
OraOLEDB OLAP sets other necessary properties if a particular property is set to VARIANT_TRUE
.
If DBPROP_IROWSETLOCATE
is set to VARIANT_TRUE
, the following properties are also set to VARIANT_TRUE
:
-
DBPROP_CANHOLDROWS
-
DBPROP_BOOKMARKS
-
DBPROP_CANFETCHBACKWARDS
-
DBPROP_CANSCROLLBACKWARDS
If DBPROP_IROWSETSCROLL
is set to VARIANT_TRUE
, the following properties are also set to VARIANT_TRUE
:
-
DBPROP_IROWSETLOCATE
-
DBPROP_CANHOLDROWS
-
DBPROP_BOOKMARKS
-
DBPROP_CANFETCHBACKWARDS
-
DBPROP_CANSCROLLBACKWARDS
Session Properties
Table B-6 lists the data source info properties that this release supports, with their default values.
Table B-6 DBPROPSET_SESSION
Property | R/W | Default Value |
---|---|---|
|
R |
|
Provider-Specific Properties
Oracle OLAP Provider for OLE DB provides the following provider-specific properties:
Rowset-Related Property
Table B-7 lists the rowset-related provider-specific OLE DB property.
Table B-7 Rowset Fetch Size
Property Name | Type | R/W | Default Value |
---|---|---|---|
|
|
R/W |
|
Provider-Specific Command Properties
Table B-8 lists the provider-specific OLE DB Properties, which are related to cube caching and enabling maximum precision of NUMBER
and FLOAT
column values.
Table B-8 Caching-Related Properties
Property Name | Type | R/W | Default Value |
---|---|---|---|
|
|
R/W |
|
|
|
R/W |
|
|
|
R/W |
|