Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get next sequence from Oracle
Message
De
19/01/2001 18:15:25
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00465909
Message ID:
00466068
Vues:
10
>>>>Is there a function I can call from VFP (using SPT) to get the next sequence from Oracle?
>>>>e.g., I know I call NewID() in SQL 7 and up to get a new GUID from SQL Server.
>>>>
>>>>TIA
>>>
>>>select sequencename.nextval from dual
>>>
>>>will return the next ID from the sequence into a VFP cursor. You can also create a remoter view based on this and just do a REQUERY() on the view when you need the next ID.
>>
>>Thanks!
>>When I do that, does it increment it as well?
>
>Yes

Thanks again!
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform