oracle table converted into rec format