public static function executeStoredProcOne($db, $proc, $params)
    {
        if (!is_array($params)) {
            $params = array($params);
        }

        $rs = self::executeStoredProc($db, $proc, $params);
        $row = $rs->getFirst();
        return current($row);
    }