Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating remote views, a primary key problem
Message
From
08/12/1998 10:40:43
 
 
To
08/12/1998 09:55:35
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00165045
Message ID:
00165097
Views:
16
Hi John,

Pardon the Oracle question -- Is an Oracle sequence an insert trigger? Or is it more like the Access AutoNumber datatype? Do I use SQL pass-through to query it? How do I resolve the difference between my prototype calling the procedure and the production database using this MyKeys.nextval method? Is there a function for knowing WHERE the data is coming from?

Thanks for your help.

>Hi Valerie ---
>
>Let's assume that you will eventually use an Oracle sequence to generate the primary keys (lets call the sequence MyKeys). Before INSERTing a new record, you can query MyKeys.nextval to see what primary key will be assigned by the INSERT and there will be your "pointer" to the new record.
>
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform