Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Divide my table
Message
De
15/10/2004 05:14:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
15/10/2004 05:05:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00951662
Message ID:
00951664
Vues:
9
>hi all,
>
>i have table(test) with 500000 records,
>
>i need to divide my table (test) to 5 tables evrey table have 100000 records
>with names as test1....test5.
>
>thanks.
>
>m.qasem

use test
copy to test1 for between(recno(),1,100000)
copy to test2 for between(recno(),100001,200000)
copy to test3 for between(recno(),200001,300000)
copy to test4 for between(recno(),300001,400000)
copy to test5 for between(recno(),400001,500000)

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform