Trying to read a sql server 2005 table from a vendor and I'm not having any
luck
I'm getting the error : Invalid Object Name '_SMDBA_._CUSTOMER_' on
execution of the select statement
I'm not real skilled when it comes to attaching to sql. I have the sa as
the authorizing account so I can attach. Ideas?
The vendor has just installed the software and I have to sync up fields
between AD and this app and I have zero experience with SQL 2005. So maybe
there is a setting in sql that has to be configured. I just don't
understand the use if the two decimal name (The FROM name) and if the script
can handle it correctly.
Set objConnection = CreateObject("ADODB.Connection")
Set objRecordset = CreateObject("ADODB.Recordset")
objConnection.Open "DSN=SDE;", strUserName, strPassword
objRecordset.CursorLocation = adUseClient
objRecordset.Open "SELECT * FROM _SMDBA_._CUSTOMER_" , _
objConnection, adOpenStatic, adLockOptimistic
--
Paul