|
sql
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SQL Profiler Database and Filename Missing InfoI am using SQL Profiler. In the Data Columns I have chosen DatabaseName,
ApplicationName, and FileName. When running a trace, nothing displays in these columns. Anyone else experience this? -- Thanks. Katherine Not all events populated each column. What events are you looking at?
-- Show quoteHide quoteTibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://www.solidqualitylearning.com/ "kat" <kwalt***@smithnoble.com> wrote in message news:B83EA51E-837B-4750-B963-99DC556218A9@microsoft.com... >I am using SQL Profiler. In the Data Columns I have chosen DatabaseName, > ApplicationName, and FileName. When running a trace, nothing displays in > these columns. Anyone else experience this? > -- > Thanks. > Katherine The events I am looking for are:
rpc:started sp:started DTCtransaction SQLtransaction ExecPreparedSQL SQL:stmtStarting AuditBackupRestoreEvent Scan:Started Thanks. *** Sent via Developersdex http://www.developersdex.com *** katherine walters wrote:
> The events I am looking for are: DatabaseName is really only used by some of the Audit events. It is not > rpc:started > sp:started > DTCtransaction > SQLtransaction > ExecPreparedSQL > SQL:stmtStarting > AuditBackupRestoreEvent > Scan:Started > used by other events. You'll want to use the DatabaseID instead and resolve those values in against master..sysdatabases or by using the db_name() function. --
Show quote
Hide quote
katherine "David Gugick" wrote:
> katherine walters wrote: > > The events I am looking for are: > > rpc:started > > sp:started > > DTCtransaction > > SQLtransaction > > ExecPreparedSQL > > SQL:stmtStarting > > AuditBackupRestoreEvent > > Scan:Started > > > > DatabaseName is really only used by some of the Audit events. It is not > used by other events. You'll want to use the DatabaseID instead and > resolve those values in against master..sysdatabases or by using the > db_name() function. > > -- > David Gugick > Imceda Software > www.imceda.com > > Thank you much.
Other interesting topics
how to know if a DEFAULT exists or not
Perfmon counters into SQL Server table backup problems locking an SQL Server DB with .NET Vaughn's Biblio70.DAT -- is it available for SQL 2000? Why use null values? how do I search for duplicate values in normalized data ? Query's in Query Analyzer sometimes extremely slow Q: full backup sqlservr.exe -g ??? |
|||||||||||||||||||||||