JonnyGu 发表于 2011-4-20 09:45:53

连接oracle出错

用ado连接oracle的时候报错

是语句写错了吗?

conn = "Provider=OraOLEDB.Oracle;DataSource=..."

archonwang 发表于 2011-4-21 10:35:45

???

要写服务名 + 用户名 + 密码

shanfeng1419 发表于 2011-4-21 10:50:32

strCnn = "Provider=OraOLEDB.Oracle.1;Persist Security Info=True;User ID=aaa;Password=aaa;Data Source=192.168.*.*"

shanfeng1419 发表于 2011-4-21 10:51:00

strCnn = " Provider=OraOLEDB.Oracle.1; Persist Security Info=True;User ID=*; Password=*;Data Source=192.168.*.*"

vkemc 发表于 2011-6-7 11:42:40

围观
页: [1]
查看完整版本: 连接oracle出错