Advertisement

09.25.2002 at 01:34AM PDT, ID: 20365592
[x]
Attachment Details

How to import & export BLOB/CLOB in Oracle

Asked by vfwong in Oracle 3rd Party Tools

Tags:

I want to do a migration from one database to another database. The question here is, how do I actually deal with the import and export of data that uses BLOB/CLOB datatype? Normally for the rest of the datatypes, I could export them in a delimiter format and then import into the new database using SQL Loader. As for BLOB/CLOB, I don't have any idea to do so. Can any expert here, provide me the approach? If possible, please include them with a comprehensive example. The migration script is written in Shell Script in UNIX platform.
Both database servers are in ORACLE and same version. I
understand that the EXPort and IMPort can only be used if the table structure did not change. As for my situation is slightly different.
Here is an example : I have a table A which need to be exported to a new db server but before that, table A need to be alter to add a new column(field). So, I need to write all the rows(records) to a delimiter format and only datatype which are NOT in CLOB/BLOB are being able to do so. Therefore, I need a suggestion from you to guide
me on how to migrate the datatype which uses this CLOB/BLOB in this scenario.
I would have to prepare a control file and uses SQL Loader to load into the the db server.
Start Free Trial
[+][-]09.25.2002 at 01:37AM PDT, ID: 7301398

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.25.2002 at 01:58AM PDT, ID: 7301486

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.25.2002 at 02:26AM PDT, ID: 7301545

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Oracle 3rd Party Tools
Tags: oracle
Sign Up Now!
Solution Provided By: hayrabedian
Participating Experts: 2
Solution Grade: A
 
 
[+][-]09.25.2002 at 08:09AM PDT, ID: 7302231

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.02.2002 at 11:56PM PDT, ID: 7312687

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.02.2002 at 11:58PM PDT, ID: 7312694

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32