|
Now I have a question.
For re-testing things, where we want see the most recent additions to a
file
( like the last 1000 records ), is there a shortcut SQL statement for
that ?
Would there be anything in SQL with FETCH , something like
FETCH LAST 1000 ROWS ONLY , or is that a pipedream ?
message: 3the following;
date: Tue, 31 Jul 2012 20:41:48 +0000
from: "Erhardt, Bill"
subject: RE: how to limit rows
To select the 1st 1000 records of file a and place them in file b do
Insert * into File_b
Select * from File_a where rrn(File_a) <= 1000
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.