What is the syntax for increasing the size of a BL

2019-08-18 17:21发布

问题:

Docs say :

ALTER TABLE <table name>

ADD (<lobcol> <LOBTYPE> <LOB_clause_same_as_for_create>) |

MODIFY LOB (<lobcol>) (

            [PCTVERSION <version_number>]

            [ { CACHE | NO CACHE [{LOGGING | NOLOGGING}]

                      | CACHE READS [{LOGGING | NOLOGGING}]

              }

            ]

) |

MOVE [ONLINE] [<physical_attributes>] [TABLESPACE <tablespace_name>]

[LOGGING | NOLOGGING] [<LOB_clause_same_as_for_create>]

With an example of:

ALTER TABLE test_lob

MODIFY LOB (image) (

    STORAGE (NEXT 1M)

    CACHE

);

I tried this with my table and column names:

ALTER TABLE  <table name>

MODIFY LOB (<column name>) (

    STORAGE (NEXT 10M)

);

But I get an ORA-25150 ALTERING of extent parameters not permitted error.

What am I doing wrong?

回答1:

table name is missing from your code

ALTER TABLE

MODIFY LOB (<column name>) (
STORAGE (NEXT 10M)

);

should be

ALTER TABLE TABLE_NAME
MODIFY LOB (<column name>) (

STORAGE (NEXT 10M)

);