Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record/Row Number?
Message
From
02/11/2001 15:09:16
Charles Richard
Nvo Management Systems
Boisbriand, Quebec, Canada
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00576935
Message ID:
00576955
Views:
21
Something like

SELECT * from table where primarykey !IN (select primarykey from destinationtable)

The syntax may be a little off.


>I am trying to figure out how to get a set of rows/records from MSSQL. This is for a nightly batch process where I need to grab just parts of the table at a time. If this was VFP I would
> "select * from table where recno() between 1 and 4000"
>and then
> "select * from table where recno() between 4001 and 8000"
>What is the MSSQL equivalent?
>
>Thanks.
Charles Richard
NVO Management Systems
crichard@nvo.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform