Added rman monitor sql