how will you see when the database was started using sql prompt?

Answers were Sorted based on User's Feedback



how will you see when the database was started using sql prompt?..

Answer / pvenkiroyal

select to_char(startup_time,'hh24:mi:ss dd-mom-yy') from
v$instance;

Is This Answer Correct ?    7 Yes 0 No

how will you see when the database was started using sql prompt?..

Answer / mohapatra.gouranga@gmail.com

In RAC env.

select instance_name,status,host_name,to_char
(startup_time,'DD-MON-YY HH24:MI:SS')
from gv$instance order by instance_name;

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More DB Administration Interview Questions

Q. How to set ORACLE_HOME to my oracle software directory. Hi Friend I am installing oracle 10g Express Edition on Linux Fedora Core 6. Installation is success but when i run #sqlplus I getting command not found error. Then I have search sqlplus .i.e # find / -name sqlplus /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/sqlplus These above output from find i have doubt which is correct path of sqlplus. So doubtfully i have set path 1st one.i.e # PATH=$PATH:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin Then I have run #sqlplus but still i have problem following Error 6 initializing SQL*Plus Message file sp1<lang>.msb not found SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory How overcome this please answer m???

1 Answers  


What are the differences in clustering in sql server 2005 and 2008 or 2008 r2? : sql server DBA

0 Answers  


Give two methods you could use to determine what DDL changes have been made.

2 Answers  


Give the reasoning behind using an index.

2 Answers  


what are the differences of where and if in SAS?

0 Answers  






How would you go about verifying the network name that the local_listener is currently using?

0 Answers  


1. how do you delete duplicate rows in a table? 2. can you disable and enable primary key? 3. how do you move tables from one tablespace to another tablespace?????

2 Answers   Genpact,


As a part of your job, what are the DBCC commands that you commonly use for database maintenance?

1 Answers   IBM,


hi, suppose i created one table after few days i did some insert,update how can i know when will i did ddl or dml operation is undergone on that table

3 Answers   IBM,


What is a system database and what is a user database? : sql server DBA

0 Answers  


what is ora 24313?what is the procedure to exclude that error?

0 Answers  


Due to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down? : sql server DBA

0 Answers  


Categories