Skip to content

Instantly share code, notes, and snippets.

@theothermattm
Created January 31, 2014 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theothermattm/8743170 to your computer and use it in GitHub Desktop.
Save theothermattm/8743170 to your computer and use it in GitHub Desktop.
Get Oracle database name in a sql scrip
select sys_context('userenv','db_name') from dual;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment