Description
Specifies access permission to the OLE DB data provider.
When to specify Mode
You must specify the Mode parameter before connecting to the database.
Applies to
OLE DB
Syntax
Mode='value'
Parameter |
Description |
---|---|
value |
Specifies access permission to the OLE DB data provider. Values are:
|
Default value
None
Examples
To allow other users read/write access to the OLE DB data provider:
-
Database profile
On the Transaction page in the Database Profile Setup dialog box, select Read/Write from the Mode list box.
-
Application
Type the following in code:
SQLCA.DBParm="MODE='DB_MODE_READWRITE'"
See also