Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Oracle: Session variables?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Oracle: Session variables?
Miscellaneous
Thread ID:
00918097
Message ID:
00918097
Views:
34
I need some Oracle help.

Is there a way to create a variable at the session (connection) level in Oracle? I could do the equivalent in SQL server by creating a temporary table and filling some field with a value. I'm looking for a kind of SET command. But I have to do this with Oracle.

I want to store the current (application-defined) user ID in it. I need to write a deletion trigger to log deletions, and the trigger needs to know who deleted the record. My idea was that, after my VFP application opened the connection, it would set some variable (e.g. USER), and that the trigger could then read its value.

If that is not possible, I am looking for suggestions.

TIA. Tom.
Tom Green in Montreal
Next
Reply
Map
View

Click here to load this message in the networking platform