Reinstate reworked versions of some oracle database utilities left behind during solution of bug #3302Rework is based on coding style observed in code provided by Brian Fenton, but could still not be tested. See https://openacs.org/bugtracker/openacs/bug?bug_number=3302