LOAD DATA INFILE equivalent in Oracle

前端 未结 2 868
野的像风
野的像风 2020-12-11 04:29

I just was wodering if there\'s an equivalent to MySQL LOAD DATA INFILE statemnent in Oracle? I need it because I want to read from a huge textfile into a database table.

2条回答
  •  臣服心动
    2020-12-11 05:04

    Oracle gives the SQLLoader commandline utility. But it relies on a proper formatting of the data file.

    You can try to look at Oracle External Tables (e.g. you can link a csv file as an external table and see it as a table within Oracle).

    Both solutions have pros and cons, but the big cons is that they still rely on data input format (so if you have a file ready for mysql, you may need to tweak it a bit).

提交回复
热议问题