toad不会将ORA_EXCEL识别为关键字

时间:2014-02-09 10:02:21

标签: oracle toad

我想尝试这种导出数据的方式,但toad不会将ORA_EXCEL识别为关键字 任何消化?

BEGIN  
    ORA_EXCEL.new_document;  

    ORA_EXCEL.add_sheet('Employees');  
    ORA_EXCEL.query_to_sheet('select * from employees');  

    ORA_EXCEL.add_sheet('Departments');  
    ORA_EXCEL.query_to_sheet('select * from departments', FALSE);  

    ORA_EXCEL.add_sheet('Locations');  
    ORA_EXCEL.query_to_sheet('select * from locations');  

    -- EXPORT_DIR is an Oracle directory with at least  
    -- write permission  
    ORA_EXCEL.save_to_file('EXPORT_DIR', 'example.xlsx');  
END;

enter here is the original post of this way

0 个答案:

没有答案