KRACOEUS-7667 : Fix oracle sql errors
Merge pull request #516 from blackcathacker/budget_versions

KRACOEUS-7667 : Fix oracle sql errors