Groups | Blog | Home
all groups > sql server connect > march 2006 >

sql server connect : Modifying Application Name that appears in Activity Monitor / Curr


paul
3/23/2006 8:22:28 AM
Does anyone know how, if possible at all, to modify the application name that
appears in the Activity Monitor(Sql2K5), Current Activity(Sql2K) or
sysprocesses table.

We have multiple C# applications connecting to the same db but it is
becoming hard to determine which application is using which connection and
the only application name that shows up in the activity monitor or
sysprocesses table is '.NET SqlClient Data Provider'

Roger Wolter[MSFT]
3/23/2006 3:17:47 PM
Try setting Application Name in the connection string

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

[quoted text, click to view]

paul
3/27/2006 1:49:02 PM
Found it. 'app = ....'

thanks Roger



[quoted text, click to view]
AddThis Social Bookmark Button