Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DSNLESS Connection to Oracle
Message
De
01/11/2000 09:07:34
 
 
À
01/11/2000 08:08:13
Robert Byrd
National Association of Homebuilders
Washington, District de Colombia, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00436622
Message ID:
00436635
Vues:
15
Try this where the server is the proper entry in your tnsnames.ora file and you have the correct user name and password. I am using the M$ ODBC driver
for Oracle.

lcconstring = "driver={Microsoft ODBC for Oracle};server=tnsentry;uid=userid;pwd=password;"

lnHandle = SQLStringConnect(lcconstring)

IF lnHandle > 0
lnSQLExecVal = SQLEXEC(lnHandle, "SELECT sysdate FROM dual", 'cursorname')
ELSE
MessageBox('Connection Problem')
ENDIF


>I want to make a DSNLESS connection to an Oracle database.
>
>What is the complete syntax for doing this? Is there an Oracle driver?
>
>Thanks. Bob
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform