Caro Fabio,
Me desculpe pertubar-lo, mas não consigo fazer um select com esta conexão ADO...
Caso seja possivel dê uma olhada no exemplo abaixo:
oConn = CREATEOBJECT('adodb.connection')
oConn.Provider = "SQLOLEDB.1"
oConn.ConnectionString = "Persist Security Info=False;User ID=sa;Initial Catalog=Teste2;Data Source=Lua"
oConn.Open("lua","sa","enterprise")
oRecordSet = CreateObject("adodb.recordset")
oRecordSet.Open("Select * From teste2.dbo.process_n",oConn)
o que siginifica:
Persist Security Info=False
Initial Catalog=Teste2
Data Source=Lua
Obrigado mais uma vez!!!
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only