Created
January 25, 2013 14:32
-
-
Save booyaa/4634854 to your computer and use it in GitHub Desktop.
Oracle Version Sniffing
This file contains hidden or 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
| clear | |
| SET HEAD ON | |
| SET VERIFY OFF | |
| col instance_name form a8 Heading "Instance" | |
| col name form a8 Heading "DB Name" | |
| col host_name form a12 Heading "Hostname" | |
| select version | |
| ,name | |
| ,log_mode | |
| ,host_name | |
| ,created | |
| --8i only ,open_mode | |
| from v$database, v$instance; | |
| clear col | |
| adada |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment