PL/SQL (MOSC)

MOSC Banner

SQL output control question

edited Jul 17, 2018 7:24AM in PL/SQL (MOSC) 4 commentsAnswered

Hi there,

I am a system administrator in a federal agency, so I am not that good with SQL.  However, as federal government is cutting the budget, I have to take on some project from Treasury.  I have a SQL output question.  Let's say I have two columns and 3 rows and the output is following (I will use DBMS_OUTPUT.PUT_line to arrange them):

A, 1

A, 2

B, 3

I just wonder if it is possible to make the output like this (it is not a suppression and the 1st column/2nd row has nothing, not a null value) :

A, 1

     2

B, 3

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