Database Administration (MOSC)

MOSC Banner

syntax erroe

edited Dec 1, 2010 11:01PM in Database Administration (MOSC) 3 commentsAnswered
 Hi,

Could u plz guide me for right syntax for below query:

SQL> column UNXPSTEALCNT  heading "# Unexpired|Stolen"
column EXPSTEALCNT   heading "# Expired|Reused"
column SSOLDERRCNT   heading "ORA-1555|Error"
column NOSPACEERRCNT heading "Out-Of-space|Error"
column MAXQUERYLEN   heading "Max Query|Length"
select inst_id, to_char(begin_time,'MM/DD/YYYY HH24:MI') begin_time, UNXPSTEALCNT, EXPSTEALCNT , SSOLDERRCNT, NOSPACEERRCNT, MAXQUERYLEN
from gv$undostatwhere begin_time between to_date('','MM/DD/YYYY HH24:MI:SS') and to_date('','MM/DD/YYYY HH24:MI:SS')order by inst_id, begin_time;SQL> SQL> SQL> SQL> SQL>   2
from gv$undostatwhere begin_time between to_date('','MM/DD/YYYY HH24:MI:SS') and to_date('','MM/DD/YYYY HH24:MI:SS')order by inst_id, begin_time

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center