Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select only a certain number of records from a table
Message
De
06/02/2002 11:44:18
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/02/2002 11:17:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00616091
Message ID:
00616115
Vues:
21
>Is there a way that I can select only X amount of records from a table and put them into another table?
>
>Ex.
>TableA has 779696 number of records and is sorted by datetime desc
>I only want the first 30 records and want them in TableB
>What is the best way to do this?
>
>TIA!


select TableB
append from TableA for recno()<=30
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform