Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Oracle Command .... ?

Status
Not open for further replies.

owenyuen

Programmer
Feb 19, 2003
22
0
0
US
Hello all:
Is any command that I can identify the instance name, database vesion, database name and the its block size?
 
For version and instance:

SELECT * FROM v$instance;


For block size:

SELECT value
FROM v$parameter
WHERE name = 'db_block_size';

For database name:

SELECT value
FROM v$parameter
WHERE name = 'db_name';

Must be executed by a user who has access to these SYS views.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top