Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select only a certain number of records from a table
Message
From
06/02/2002 11:50:30
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
06/02/2002 11:17:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00616091
Message ID:
00616122
Views:
26
Hi Joe you can use the TOP N e.g. SELECT TOP 30 ....

>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!
Alexandre Palma
Senior Application Architect
Previous
Reply
Map
View

Click here to load this message in the networking platform