BS-8940, fix oracle syntax