Oracle database account status checking

Version 2

    This template uses a custom query to check accounts' status. It filters out 'Locked' and 'Expired & Locked' accounts which returns 1, and the detail account information in message. Note: Tested against Oracle 11g,  Uses SID = XE by default, and .net provider.