sqlmaker side of PRIOR support