LOBs from afar

Posted by

This has always been a nuisance.  There you are – getting all the bells and whistles with LOBs…until a database link enters the room Smile

-- Database: DB11
SQL> create table t ( id int, c clob );

Table created.

SQL> insert into t values (1,rpad('x',32000,'x'));

1 row created.

SQL> select * 
  2  from   t;

        ID C
---------- --------------------------------------------
         1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

-- Database: anywhere except DB11
SQL> select * 
  2  from   t@db11;

ORA-22992: cannot use LOB locators selected from remote tables


Well that sucks. But look what has snuck its way into 12.2 !

SQL> select * 
  2  from   t@db122;

        ID C
---------- --------------------------------------------
         1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


There is a whole chapter on it here in the official docs.  Very nice indeed.

One comment

  1. Awesome! I’m really keen on jumping the 12.1 release and off to 12.2 directly for most of our 11.2 dbs!
    So far all I’ve seen looks excellent!

Got some thoughts? Leave a comment

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.