简体   繁体   中英

(SQL ORACLE) How to generate html output, given select statement?

I'm working on oracle and taking report from database Oracle.

SELECT OPERATION, OBJECT_TYPE, CPU_COST, IO_COST FROM SYS.V_$SQL_PLAN;

I want to take a html output in oracle. I have this table in output but I want to see html formate. Is there any way to see that?

This can be done from SQL* Plus

SET MARKUP HTML ON
SELECT OPERATION, OBJECT_TYPE, CPU_COST, IO_COST FROM SYS.V_$SQL_PLAN;

Check This link for more options to format the output as desired.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM