Update Oracle table with values from CSV file

前端 未结 5 2106
春和景丽
春和景丽 2020-12-19 05:18

I have a CSV file which contains an ID and several other columns. I also have a table in oracle where the ID identifies a row. How can I best replace the values that are in

5条回答
  •  悲哀的现实
    2020-12-19 05:42

    The "standard" Oracle tool for loading CSV-type datafiles into the database is SQLLoader. It's normally used to insert records, but the control file can be configured to run an update instead, if that's what you so desire.

    It's not the easiest tool in the world to use (read "it's a pain in the arse"), but it's part of the standard toolkit, and it does the job.

提交回复
热议问题