SQL Language (MOSC)

MOSC Banner

Formatting of SQL output

edited Mar 17, 2014 10:52AM in SQL Language (MOSC) 4 commentsAnswered

Hello All,

As part of capacity planning we are trying to analyze tablespace usage details based on AWR tables. I have a problem in formatting the output which makes everyone simple to understand on the difference. Using following SQL for details and it shows output like -

DAYS       TSNAME      CUR_SIZE_MB USEDSIZE_MB

---------- ------------ ----------- -----------

07-03-2014 TOOLS        1600.00     .13
08-03-2014 TOOLS        1600.00     .13
09-03-2014 TOOLS        1600.00     .13
10-03-2014 TOOLS        1600.00     .13
11-03-2014 TOOLS        1600.00     .13
12-03-2014 TOOLS        1600.00     .13
13-03-2014 TOOLS        1600.00     .13
14-03-2014 TOOLS        1600.00     .13
15-03-2014 TOOLS        1600.00     .13
07-03-2014 UNDO        40004.0016271.44
08-03-2014 UNDO        40004.0016279.44
09-03-2014 UNDO        40004.0016151.44
10-03-2014 UNDO        40004.0016215.44
11-03-2014 UNDO        40004.0016303.44
12-03-2014 UNDO       

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