microsoftoledbproviderfororaclemicrosoftoledbproviderfororacle
09/18/2015
正文内容
适用: Access 2013、office2013 appliesto : access 2013、office 2013
microsoftoledbproviderfororacle允许ADO访问Oracle数据库。 themicrosoftoledbproviderfororacleallowsadotoaccessoracledatabases。
连接字符串参数connection string参数
要连接到此提供程序,请将ConnectionString属性的Provider参数设置为To connect to this provider,settheproviderargumentoftheconnectionstringpproner
MSDAORA
读取Provider属性时也会返回此字符串。 readingtheproviderpropertywillreturnthisstringaswell。
在Oracle数据库中执行包含键集或动态游标的连接查询时会发生错误。 Oracle仅支持静态只读游标。 ifajoinquerywithakeysetordynamiccursorisexecutedinanoracledatabase,anerroroccurs.oracleonlysupportsastaticread-only culy
典型的连接字符串类型连接字符串
此提供程序的典型连接字符串是atypicalconnectionstringforthisprovideris 3360
' Provider=MSDAORA; 数据源=服务器名称; User ID=userName; password=用户密码;'
字符串由关键字thestringconsistsofthesekeywords 3360组成
关键词Keyword
说明描述
提供商提供商
指定OLE DB Provider for Oracle。 specifiestheoledbproviderfororacle
数据来源
指定服务器的名称。 特殊名称of a server。
用户id用户id
指定用户名。 特殊用户名称。
密码密码
指定用户密码。 特殊用户密码。
提供程序特定的连接参数provider-specificconnectionparameters
除了在ADO中定义的参数外,该提供程序还支持一些提供程序特定的连接参数。 与ADO连接属性一样,可以将这些提供程序特定的属性设置为Connection对象的Properties集合或ConnectionString的一部分。 theprovidersupportsseveralprovider-specificconnectionparametersinadditiontothosedefinedbyado.aswiththeadoconnectionpronprtionpralproder opertiescanbesetviathepropertiescollectionofaconnectionoraspartoftheconnectionstring。
《OLE DB 程序员参考》中详细说明了这些参数。 ADO动态属性索引提供这些参数名称与相应的OLE DB属性的交叉引用。 theseparametersarefullydescribedintheoledbprogrammer ' sreference.(theadodynamicpropertyindexprovidesacross-reference betwed
参数参数
说明描述
Window HandleWindow Handle
显示用于提示其他信息的窗口句柄。 indicatesthewindowhandletousetopromptforadditionalinformation。
本地标识文件本地标识文件
一个唯一的32位数字,用于指定用户语言的首选项,例如1033。 这些首选项指示如何设置日期和时间的格式、如何按字母顺序对项进行排序以及如何比较字符串。 indicatesaunique 32-bit number (for example,1033 ) thatspecifiespreferencesrelatedtotheuser ' slanguage.thesepreferencesince
ole db服务sole db服务
位掩码,用于指定要启用或禁用的每个OLE DB服务。 indicatesabitmaskthatspecifiesoledbservicestoenableordisable。
命令命令命令
指示建立连接时是否提示用户。 indicateswhethertoprompttheuserwhileaconnectionisbeingestablished。
扩展属性扩展属性
包含提供程序特定的扩展连接信息的字符串。 此属性仅用于提供程序特定的连接信息。 不能用属性机制来描述。 astringcontainingprovider-specific,extendedconnectioninformation.usethispropertyonlyforprovider-specificonnectionfon