I am looking for a free tool to load Excel data sheet into an Oracle database. I tried the Oracle SQL developer, but it keeps throwing a NullPointerException. Any ideas?
相关问题
- Excel sunburst chart: Some labels missing
- NOT DISTINCT query in mySQL
- Can I skip certificate verification oracle utl_htt
- Flush single app django 1.9
- Error handling only works once
相关文章
- node连接远程oracle报错
- oracle 11g expdp导出作业调用失败,提示丢包。
- 执行一复杂的SQL语句效率高,还是执行多少简单的语句效率高
- Oracle equivalent of PostgreSQL INSERT…RETURNING *
- Get column data by Column name and sheet name
- Connection pooling vs persist connection mysqli
- programmatically excel cells to be auto fit width
- Difference between FOR UPDATE OF and FOR UPDATE
Oracle Application Express, which comes free with Oracle, includes a "Load Spreadsheet Data" utility under:
You need to save the spreadsheet as a CSV file first.
Excel -> CSV -> Oracle
Save the Excel spreadsheet as file type 'CSV' (Comma-Separated Values).
Transfer the .csv file to the Oracle server.
Create the Oracle table, using the SQL
CREATE TABLE
statement to define the table's column lengths and types.Use sqlload to load the .csv file into the Oracle table. Create a sqlload control file like this:
Invoke sqlload to read the .csv file into the new table, creating one row in the table for each line in the .csv file. This is done as a Unix command:
OR
If you just want a tool, use QuickLoad
If this is a one time process you may just want to copy and paste the data into a Microsoft access table and do an append query to the oracle table that you have setup through your odbc manager.
As you mention you are looking for a tool - you might like to check out this Oracle specific video - you can load data from any source -
http://youtu.be/shYiN2pnPbA
Another way to do Excel -> CSV -> Oracle is using External Tables, first introduced in 9i. External tables let you query a flat file as if it's a table. Behind the scenes Oracle is still using SQL*Loader. There's a solid tutorial here:
http://www.orafaq.com/node/848
There are different ways to load excel/csv to oracle database. I am giving those below:
1. Use Toad. Toad gives very fexible option to upload excel. It gives column mapping window as well. Normally from Tools -> Import, you will find the option. For details I can provide full instruction manual.
2. Load to Microsoft Access first and then pass it to Oracle from there.
Step1: There is a tab in access named "External Data" which gives excel upload to access database.
Step2: Once table is created, just click write mouse on the table and choose Export to ODBC DATABASE. It will ask for oracle database connection details. It's is free.
3. Use Oracle SQL Loader. It's a service which have datafile, control file. You need to write configuration. It is used as text/any file load which maintain one pattern.
Hope it helps. If required, I can share more details.