Mark,
The @@procid reports a number ie:54321 ** Not a name
There are sysobjects id's in three databases that match that number with different names.
Each of those procs can do an insert to a table in another database...
insert db_2..table1 values("A")
This fires a db_2..trigger that finds the @@procid (calling proc) but has no context of the database of @@procid.
So is there a column or variable with the calling dbid?
Cory
select dbid from monProcessProcedures has the dbid of the calling proc** but I cannot grant that access.