Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select 1000 numbers that meet ...
Message
 
 
À
28/07/2003 11:43:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00813951
Message ID:
00814150
Vues:
10
You can use TOP clause
SELECT TOP 1000 id_num ;
  FROM mytable ;
  WHERE NOT used ;
  ORDER BY id_num ;
  INTO CURSOR crsResult
>
>I m sorry for not being clear enough. Let me try to fix it
>I have a table like this
>
>Id_num used
>1 .T.
>2 .F.
>3 .T.
>
>now what I want to get is 1000 continues records that used = .f. . in other words I need a batch of 1000 id numbers that are not used
>
>bill
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform