refactorong - relocation sql generators