• Sergiy (7/21/2016)


    There is dbid column in sys.dm_exec_sql_text

    Thanks, but I can see most of the dbid are null value from sys.dm_exec_sql_text.