ported Oracle checks to express edition