Oracle
 sql >> Database >  >> RDS >> Oracle

visualizzazione dei risultati verticalmente in Oracle

Uso Procedura print_table di Tom Kyte

Ad esempio:

SQL> exec print_table('select * from emp where empno=7839')
EMPNO                         : 7839
ENAME                         : KING
JOB                           : PRESIDENT
MGR                           :
HIREDATE                      : 17-nov-1981 00:00:00
SAL                           : 100
COMM                          : 500
DEPTNO                        : 10
-----------------

PL/SQL procedure successfully completed.