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