antoniop
committed
on 18 Jul 18
Bring sql for this proc inline, remove unused statements