Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Include RECNO() in SQL statement
Message
 
À
02/08/2006 03:00:40
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01142300
Message ID:
01142302
Vues:
8
>Dear ALL,
>
>I would like to include the recno of individual record by
>
>select *, recno('table1') as Rec1 from table1 into cursor tmp1
>
>
>instead of the Record No., it appeared as total record count. Any idea?

Don't use ALIAS in RecNo():
select *, recno() as Rec1 from table1 into cursor tmp1
Not a good idea to use RECNO(). Why you need it?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform