How to import a csv into a remote Oracle database? - oracle

I have a dump from a database in a csv format ('|' character as the delimiter), and I want to import that into a remote Oracle database. I am using AWS and the csv is on an EC2 instance running amazon linux, and the remote Oracle database is an RDS instance. This is the first time I'm touching an Oracle database.
I expected this to be fairly simple, but trying to find info I kind of got lost. Some people say to use SQL*Loader, but I can't manage to even install that thing. Other's say that SQL*Loader is not supposed to even be installed on something that isn't the actual database server. So far I've only managed to install sqlplus and connect to the database, but no importing so far.
Basically I'm looking for an equivalent of \COPY in psql, but for Oracle. And how on earth would I use it in this context.

If you don't want to use SQL*Loader and only need to import CSV as a one time task, I would recommend using SQL Developer. If you want an automated process, SQL*Loader would probably be your best bet.
Here are some links (note that an Excel import and a CSV import are nearly identical):
How to move csv file into oracle database using sql developer? [closed]
How to Import from Excel to a New Oracle Table with SQL Developer
How to Import from Excel to Oracle with SQL Developer

Related

import data from a csv file and insert said data to oracle database using bash script

I would like to know if there is a possible way besides using sql loader to import data from a csv file and insert said data into oracle database using bash script?
Sql loader was attempted but I want to avoid installing utilities on the linux server.

How to Import .JSON file into Oracle SQL Developer

I currently use Oracle Database 11g Express Edition Release 11.2.0.2.0. And I've downloaded dataset from the internet.
Seems like I successfully imported the .JSON file. But the tables are not the same. And there is only one table in the dataset that I downloaded. In SQL developer, there are dozens of tables that I can't understand.
What should I do?
[Process of importing .JSON file]
XE is the created one.
I guess, the json file is just for the connection details to a database, and the xml might define the tables. Or the tables have been created during installation process of the database by the DBA.

How to open the datapump file (External Table Oracle)?

I am going to unload the data from my table in Oracle DB to a file using oracle datapump. I am aware that I can import the file in to a different DB using datapump but would like to know if there is any other way to import or open the file?
i.e After the file is generated, I am going to send the file to my client who has no idea about Oracle DB etc. So is there any software or UI using which my client can open the file rather than using Oracle datapump to import (if no other go I will educate the client)? The reason I am going for external table etc because I have 50 million records that client wants to view.

Import the Cognos 10 Trial GOSALES schema (with data) into Oracle Database

I have installed the Cognos 10.2 Trial version. The installation comes a sample schema called "GoSales".
I would like to import the GoSales schema into my Oracle database. This will enable me to view the GoSales Schema in a database query tool (i.e. TOAD)
My ultimate goal is to:
- Understand the GoSales schema.
- Make sure that the reports I develop using Cognos Studio are correct by checking the data in the database.
So, how can I import the "Go Sales" schema into my Oracle database?
There is a compressed file with the Cognos BI samples. I guess you can download this file from IBM. Its name is bi_smps_10.2.1_mp_ml.tar.gz.
You have to uncompress this file and execute the script ...\win\GOSaleConfig.bat (for a Windows machine). This script will ask you the connection parameters of your Oracle database and create the schemas with sample data.

How to import data using codes in SQLDEV?

How to import data using codes in SQLDEV?
I don't want to do it manually. I want to know if there's a way to import from a .csv file using codes.
The code executed in SQL DEVELOPER run on DMBS(your Oracle instalation, the server).
The IDE take your comands(click on schema browser, filters, etc) and transfrom them into commands to the server.
So, you have only Oracle code (SQL and PL/SQL(and Java, etc)) that runs on Server, you don't have code that runs in SQL Developer.
Importing a table can be done:
Using the wizard from IDE (click on table and then choose import)
Using the sqlloader on a Oracle client.
Using External Tables on Server side.

Resources