Resolved Database name from within a trigger

antonylejos

New Member
I have a scenario where multiple copies of same database will be connected simultaneously.
When database trigger executes, I want to find out from which connection this trigger is actually getting executed.

scenario: manuf database
manuf1 is connected
manuf2 is also connected

REPLICATION-WRITE trigger is getting executed. Within the trigger I want to know whether manuf1 or manuf2 called this trigger.

Thank you for your help in advance
 

antonylejos

New Member
Got the answer:
this-procedure:db-references
Thank you for your time
 
Top