Query to view installed Oracle version information ?
-
1. select banner from v$version;
-
2. select version from v$instance;
-
3. select version from v$version;
-
Both 1 and 2
-
Both 2 and 3
D
Correct answer
Explanation
To view Oracle version: (1) SELECT banner FROM v$version; displays version banners for all components. (2) SELECT version FROM v$instance; shows instance version. Option 3 is invalid - v$version doesn't have a 'version' column (it has 'banner'). So 'Both 1 and 2' is correct, not 'Both 2 and 3'.