My Oracle Support Banner

How to Use Java to Read Data Within an Excel File? (Doc ID 1430727.1)

Last updated on JUNE 27, 2023

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.


Usually in order to read data from an Excel file stored within a Blob field, the file would have to be extracted from the Database and opened within Excel.  
There is a 3rd party JAR file that provides the ability to access the Excel file within the Blob field and extract data.

 There are a number of samples available via the web to illustrate how to do this with Java outside the database. This sample focuses on how to do this via a Java Stored Procedure.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Sample Code
 Sample Output

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.