what's with the complicated solutions have you even tried to look inside the account database procedures?
hints
1. _CertifyTB_User
2. select convert(tinyint, 0), UserJID, sec_primary, sec_content, AccPlayTime, LatestUpdateTime_ToPlayTime (and return)