Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select just one record
Message
De
07/06/2002 13:18:41
 
 
À
Tous
Information générale
Forum:
Oracle
Catégorie:
PL/SQL
Titre:
Select just one record
Divers
Thread ID:
00666063
Message ID:
00666063
Vues:
51
hello *.*

I need to select just the first record from a SELECT STATMENT, like this:
SELECT customer.OID, reserv.OID
     from customer, reserv
     where customer.OID = 1234
     into cursor test
Ok, this SELECT may return many records, but I want select just the first record. How can I do it ?

I´ve tried use the SAMPLE STATMENT, but We can´t use this statment with 2 tables or more.

Please, help me!

Thank you ALL
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform