Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return Top N from Oracle SP
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00620360
Message ID:
00620371
Vues:
42
>Anyone know of a way to return the TOP N rows from an Oracle package. I have a package that will return a cursor back to VFP, but I can't figure out out to return just the TOP N rows. I need the solution to be for the Oracle side and not just returning the entire cursor to VFP then taking the first 100 records.
>
>TIA!

Add WHERE ROWNUM <= N to the select statement.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform