Last active
January 4, 2016 10:36
-
-
Save adintegra/5cb18fd669fa102df042 to your computer and use it in GitHub Desktop.
Generally useful Oracle snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Basic DB version info | |
DECLARE | |
ver VARCHAR2(30); | |
compat VARCHAR2(30); | |
BEGIN | |
dbms_utility.db_version(ver, compat); | |
dbms_output.put_line('Version: ' || ver || ' Compat: ' || compat); | |
END; | |
/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment