We use local XEs for rapid development, but deploy on “real” Oracles. Some of our scripts use partitioning and bitmap indexes and we’d like to skip those parts for XE, as they’re not supported, but without having a separate set of scripts.
Is there any SQL we can use to detect that a script is being run on XE so that we can adjust the statements?
We use local XEs for rapid development, but deploy on real Oracles. Some of
Share
One of the following will likely give you what you need:
XE will likely show up here, and you can check for the presense of that string.
Shamelessly ripped off from here