exceloracle-databaseplsqldeveloper

How to import data from Excel to PL/SQL Developer


I need to compare data from tables in Oracle with data from tables in excel, how can I import data from excel. How can I import data from excel to test table in oracle pl/sql dev?


Solution

  • There are two options:

    Option I:

    SELECT t.*, t.rowid FROM test t;
    OR
    SELECT t.* FROM test t for update;
    

    Option II: In excel you can compose INSERT query referencing data cells with help of Excel's concatenation (using & ) and execute all INSERT in PL/SQL developer.