为什么我连接数据库的时候这个地方必须写provide而不是provider
Set rec = createobject("ADODB.recordset")conn = "provide = msdaora;user id = gj;password = gj;data source = csb"
sql = "select * from road_table where status = 1"
rec.open sql,conn,3,2
写成下面这个就不能通过
Set rec = createobject("ADODB.recordset")
conn = "provider = msdaora;user id = gj;password = gj;data source = csb"
sql = "select * from road_table where status = 1"
rec.open sql,conn,3,2
我记得好像应该是provider是标准的吧,但是为什么这里必须要写成provide才可以呢 :o 瞄瞄奇怪的事,没见过了 :o 眼花了吧!!?
页:
[1]