Skip to content
March 16, 2015 / doganay

IMPORT A TABLE EXCLUDING LOB COLUMNS

create or replace package clear_blob_pack as
 function clear_blob (old_blob in blob) return blob;
 end;
/

create or replace package body  clear_blob_pack as
 function clear_blob (old_blob in blob) return blob
 is
  b1   blob := empty_blob ();
begin
    return  b1;
 end;
end;
/

expdp tables=mustafad.table1
--import excluding blobs
impdp tables=mustafad.table1 remap_data=mustafad.table1.blob_col1:clear_blob_pack.clear_blob

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: