Kalyan Ganesan
Programmer
Can anyone tell me what all i need to create a procedure to export data to Excel...i tried using ORA_EXCEL but its giving me error
When i try something like this below
PROCEDURE'
BEGIN
ORA_EXCEL.new_document;
ORA_EXCEL.add_sheet('My Sheet');
ORA_EXCEL.add_row;
ORA_EXCEL.set_cell_value('A', 'Hello World!');
ORA_EXCEL.save_to_file('C:\EXPORT_DIR', 'example.xlsx');
END;
i get an error in the very first line ORA_EXCEL.new_document;
When i try something like this below
PROCEDURE'
BEGIN
ORA_EXCEL.new_document;
ORA_EXCEL.add_sheet('My Sheet');
ORA_EXCEL.add_row;
ORA_EXCEL.set_cell_value('A', 'Hello World!');
ORA_EXCEL.save_to_file('C:\EXPORT_DIR', 'example.xlsx');
END;
i get an error in the very first line ORA_EXCEL.new_document;