Quantcast
Channel: Comments on: Create an Excel-file with PL/SQL
Viewing all articles
Browse latest Browse all 73

By: Bala

$
0
0

I ran below code, and it generated the file successfully.
But I could not open the file, when I tried it throws an error message “Excel found unreable content in ‘my.xlsx’”

begin
as_xlsx.new_sheet( ‘query 1′ );
as_xlsx.query2sheet( ‘select 1 r from dual’, p_sheet => 1 );
as_xlsx.new_sheet( ‘query 2′ );
as_xlsx.query2sheet( ‘select 2 r from dual’, true, ‘ETF_DATA_OUT_DIR’, ‘my.xlsx’, 2 );
end;


Viewing all articles
Browse latest Browse all 73

Trending Articles