Does anyone know how i can change the tablespace of a table that uses blobs. I want to change the tablespace for the LOB Storage but have so far been unsuccesful. I am using the following SQL statement:-
ALTER TABLE IMAGE MOVE TABLESPACE XSU001
But when i go and check the table the tablespace being used for the LOB_STAORAGE is the old one and the tablespace being used for the Table is XSU001. But ideally i would like the whole database in 1 tablespace.
I tried the export and import method mentioned but that did solve the problem as it still looked for the old tablespace name because the LOB segment was stored in the old tablespace.
I'll have a look at the link mentioned above and try that.
well according to the lin k i should be using the following syntax:-
alter table image_data move lob(image) store as tablespace xsu001;
But when i run this command it gives me the following error message
ERROR at line 1:
ORA-14133: ALTER TABLE MOVE cannot be combined with other operations
Originally posted by hummy I tried the export and import method mentioned but that did solve the problem as it still looked for the old tablespace name because the LOB segment was stored in the old tablespace.
I'll have a look at the link mentioned above and try that.
It is impossible, if you create object and import data with option ignore=Y, you will not get any errors at all.
Originally posted by hummy well according to the lin k i should be using the following syntax:-
alter table image_data move lob(image) store as tablespace xsu001;
But when i run this command it gives me the following error message
ERROR at line 1:
ORA-14133: ALTER TABLE MOVE cannot be combined with other operations
Anyone any ideas?
Hi, try this:
ALTER TABLE image_data MOVE TABLESPACE xsu001 LOB (image) STORE AS lobsegment (TABLESPACE xsu001);
Oracle Certified Master
Oracle Certified Professional 6i,8i,9i,10g,11g
email: ocp_9i@yahoo.com
Bookmarks