donb
committed
on 13 Mar 06
first hack at oracle SQL for the 2717 bug fix