Defining the database from which the function is called in a separate utility database
2 answers
You are running a trace in SQL Profiler, but that may not give you a complete list. So you should also query the information_schema.routines and information_schema.tables views in each database to see which tables and views use this function, and you could call it and compare the list with the trace.
0
source to share