Import excel file into database with plsql

The operation steps are as follows:

  1. Prepare data: construct the required data in excel

    

2. Save the data in excel as a text file (separated by tabs)

    

3. Import the data newly saved to the text file into pl*sql

      Select tools-->text importer in pl*sql, select "Data from Textfile" in the window that appears, and then select "Open data file",

    In the pop-up file selection box, select the text file with the data saved, and you will see the data to be imported displayed in the data from textfile

    

4. Make the following configuration in the configuration

    

Note: If "Name in header" is not checked, the field name will also be imported into the database as a record, resulting in data errors

    

5. Click data to oracle, select the table into which the data will be imported, and associate the fields in the text with the fields in the table in fields

    

6. Click the import button to import

    

7. View imported data

    

OK, so far the data import is successful.

 

Reprinted to: http://zhidao.baidu.com/link?url=TdeLDVjS92-0_QjrIXJSO-wfRVuAOrMBdFWc0VaAwd3S0BFp8I3roR4NmXnHfKL9bpoTMUthAUDy61RiFsN14q

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326793381&siteId=291194637