Database 'forum' cannot be opened because it is offline.
select UserID,LastLogonDate,[Password], datediff(d,registrationDate,getdate()) NumDays,MStatus,StatusEndDate,EmpirePoints,extracoaches FROM forum.dbo.forumusers WHERE UserName=''