View Single Post
Old 02-02-2010, 03:35 AM   #9
DavidAdams
Talking BlackBerry Encyclopedia
 
DavidAdams's Avatar
 
Join Date: Sep 2007
Location: Belfast
Model: NotYe
PIN: N/A
Carrier: O2
Posts: 470
Default

Personally I use QueryExpress as this enables me to query the SQL sever directly from my PC. Its a single exe file that doesn't need to be installed.

The SQL I use is:

Code:
select
Right(DisplayName, Len(DisplayName) - CharIndex(',',DisplayName)-1) + ' ' + Left(DisplayName, CharIndex(',',DisplayName)-1) AS UserName,
vUserConfigStats.Id,
PIN,
PhoneNumber,
MsgsPending,
LastContactTime,
HomeNetwork,
IMEI,
AppsVer,
ModelName,
ITPolicyName,
PasswordEnabled,
MsgsForwarded,
MsgsSent,
MsgsExpired,
MsgsFiltered,
MsgsFailed,
LastFwdTime,
LastSentTime,
ServerDN,
vUserConfigStats.CreationTime,
GroupName
FROM vUserConfigStats JOIN GroupConfig
ON vUserConfigStats.GroupConfigID = GroupConfig.Id
ORDER BY LastContactTime
Shows me all I need and more some days.
__________________
BES, 4.1.7, was SBE now full BES
Domino v7.0.2
Windows Server 2003, standalone
Offline   Reply With Quote