Re: DatabaseName Database ID Map?
From: Aaron [SQL Server MVP] (ten.xoc_at_dnartreb.noraa)
Date: 02/25/05
- Next message: KH: "RE: Performance: TOP vs. SET ROWCOUNT"
- Previous message: Erland Sommarskog: "Re: Seek method, table-direct, and sql server2005"
- In reply to: jpuopolo_at_mvisiontechnology.com: "DatabaseName Database ID Map?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Feb 2005 17:32:47 -0500
SELECT DB_NAME(<dbid>)
-- http://www.aspfaq.com/ (Reverse address to reply.) <jpuopolo@mvisiontechnology.com> wrote in message news:1109369484.318741.212180@o13g2000cwo.googlegroups.com... > Hi... > > In SQL Profiler, it is easy enough to the the database ID from a trace. > That said, it would be nice to know what database the ID number > represents. How can I map the database ID to it's human-friendly name? > > Thanks, > John >
- Next message: KH: "RE: Performance: TOP vs. SET ROWCOUNT"
- Previous message: Erland Sommarskog: "Re: Seek method, table-direct, and sql server2005"
- In reply to: jpuopolo_at_mvisiontechnology.com: "DatabaseName Database ID Map?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|