Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View without data?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00216063
Message ID:
00216666
Vues:
30
You could use the SQLCOLUMNS function...
I have a procedure..
CSAFIELDS which is like the AFIELDS function
then after you can create a cursor from this array.

OR.
DO SQLEXEC(h,'select * from blah_blah where blah_blah and recno=0')
Providing you have Primary keys on the table and indexes this can be very fast.

Also on oracle you can do
rownum=0 but this is not always optimal.

Also you can use the NODATA sometimes...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform