Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select 1000 numbers that meet ...
Message
 
 
To
28/07/2003 11:43:50
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00813951
Message ID:
00814150
Views:
9
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform