How to import excel files into the database

How to import excel files into oracle database, I introduce two methods:

1. You can use select * from table name for update 
 and then unlock the lock, copy and paste the data in excel directly.

Be careful when copying, and reserve an empty column in front, otherwise it will be serialized.
Second, convert to txt and use sqlload to
load into the database . Method 1 Save excel as txt format, select unicode text (*.txt) format, and name it 11.txt
2 At this time, the data in the 11.txt file is tabulated At this time, you need to replace the tab character with a delimiter that sqlload can recognize.
3 Open the file 11.txt with the word open method, then you will see the form of word.
4 Use the search and replace function in word to replace'^t' with'|', so that the data in txt is separated by'|', and can be stored with sqlload

Guess you like

Origin blog.csdn.net/zhaoxiangchong/article/details/8280046
Recommended