LPS-43376 Previous query was not compatible with oracle database