Hi expert,
I want to move table sapsr3.mseg to new tablespace PSAPSR3MSEG. Now I create the new tablespace PSAPSR3MSEG with brtools tool.
Then I run the sql statement to move the table to the new tablespace.
SQL> ALTER TABLE SAPSR3.MSEG MOVE TABLESPACE PSAPSR3MSEG;
Table altered.
Now the table MSEG has been moved to the new tablespace. But the index of table mseg cannot be moved to the new tablespace. The system issued the error when I run the sql statement:
SQL> ALTER INDEX SAPSR3.MSEG~0 REBUILD TABLESPACE PSAPSR3MSEG;
ALTER INDEX SAPSR3.MSEG~0 REBUILD TABLESPACE PSAPSR3MSEG
*
ERROR at line 1:
ORA-00911: invalid character
Can any expert help me? How can I move the index of table mseg to the new tablespace?