Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select * from MSDE table
Message
 
À
16/09/2003 09:23:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00829328
Message ID:
00829450
Vues:
14
>Assuming connection succeeded (check value) :
>
>SQLExec(gnConnHandle, "select * from myDB..myTable", "myCursor")
>
>SQL server tables are in the form :
>Database.Owner.Table
>Cetin

Cetin,
Thanks for the reply. Your suggestion worked wonderfully. It even worked without specifying the database owner. So my exact code was:
sqlexec(gnconnhandle, "select * from myDB..myTable","myCursor")
Is it "bad" to run the select statement without specifying the database owner?

Do you know the difference or advantage for using sqlexec() compared to using a select SQL command?

Thanks,
Einar
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform