Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Divide my table
Message
From
15/10/2004 05:14:16
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
15/10/2004 05:05:28
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00951662
Message ID:
00951664
Views:
8
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform