Press "Enter" to skip to content

How to Import XML File in Oracle SQL Developer?

In Oracle SQL Developer, if you will try to import an XML file using the Import menu option, then you will not find a choice to import as XML. There are only three options exists in Oracle SQL Developer even in the latest version 18.2, and they are CSV, Delimited and the Text format. So if you want to import an XML file, then you need to convert it first into a CSV file. The following are the steps to import an XML file in Oracle SQL developer.

Import an XML File into Oracle Table Using Oracle SQL Developer

  1. First, convert your XML file to CSV, by clicking on the following link Convert XML to CSV. Paste your XML file contents into the text box of the website, and then you would be able to download the CSV file. The following is the example XML and converted CSV file contents.
<?xml version="1.0" ?>
<!DOCTYPE main [
    <HIRE_DATE>2005/03/24 00:00:00</HIRE_DATE>

CSV Format

"151","David","Bernstein","DBERNSTE","011.44.1344.345268","2005/03/24 00:00:00","SA_REP","9500","0.25","145","80"
  1. When the file is in CSV format, you can import it by using the import option of Oracle SQL Developer. To invoke the Import window, right-click on the table in which you want to import the data and then choose Import Data option.
  2. In the Import Data window, specify the file in File field, choose Skip Rows 1 because CSV file has a header row. Then click on the Next button and complete all the steps as per your CSV file to import the data.

Import an XML file in Oracle SQL Developer

See also:

Vinish Kapoor

Hi, I am a full stack developer and writing about development. I document everything I learn and help thousands of people. is created, written, and maintained by me; it is built on WordPress, and hosted by Bluehost. Connect with me on Facebook, Twitter, GitHub, and get notifications for new posts.

Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *