Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to quiz server name?
Message
De
16/10/1999 12:55:05
Paul De Niverville
Deniverville Econometric Research Ltd.
Victoria, Colombie Britannique, Canada
 
 
À
16/10/1999 12:30:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00277255
Message ID:
00277260
Vues:
28
Thanks Michael,

lnResult = SQLEXEC(x, "SELECT @@SERVERNAME", "c_servername")

Missing the first quote on result cursor name.

It works in MS SQL Server 7.0. I'll test it for 4.2.

Thanks again for the fast response.

Paul de Niverville


>You can reference the @@SERVERNAME global function.
>
>
>hConn = SQLSTRINGCONNECT()
>lnResult = SQLEXEC(hConn, "SELECT @@SERVERNAME", c_servername")
>SQLDISCONNECT(hConn)
>
>-Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform