Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record/Row Number?
Message
De
02/11/2001 15:09:16
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00576935
Message ID:
00576955
Vues:
22
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform