Resolved Database name from within a trigger


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


New Member
Got the answer:
Thank you for your time