Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't connect from VFP
Message
De
12/04/2012 15:01:17
 
 
À
12/04/2012 13:31:45
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01541233
Message ID:
01541247
Vues:
41
it worked yesterday!

>Looks like the driver name isn't right. Look here http://connectionstrings.com/sql-server-2008 for the ODBC connection string.
>
>>yesterday I installed SQL2008 developer
>>
>>I could connect with this:
>>
>>
>>strConnectionString	= [Driver={SQL Server};Server=OTT-LT1026;Database=kba_sql;Uid=sa;pwd=]
>>strConnectionString	= [Driver={SQL Server};Server=OTT-LT1026;Database=kba_sql;Trusted Connection]
>>
>>strSQL				  = [select * from claims where 1=1 ] && or what ever sql statement you are passing.
>>csrCursorToBeReturned = [csrNames]
>>
>>intHandle = SQLSTRINGCONNECT(strConnectionString)
>>
>>intResults = SQLEXEC(intHandle, strSQL, csrCursorToBeReturned)
>>
>>
>>
>>today it times out
>>with SQL management studio I connect just fine
>>
>>what could be wrong?
>>
>>Peter
Peter Cortiel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform