How do I add a datafile to a tablespace with '-' in the name [message #202550] |
Fri, 10 November 2006 05:26 |
aidi-h
Messages: 45 Registered: November 2005
|
Member |
|
|
I want to add a datafile to my 'TEST-OF-MAIN' tablespace but get the following error,
alter tablespace TEST-OF-MAIN add datafile '/oracle/oradata/dba/test-of-main4.ora' size 1500M autoextend off
*
ERROR at line 1:
ORA-02142: missing or invalid ALTER TABLESPACE option
I presume this is the '-' in the tablespace name as I tried an almost identical sql on a talespace 'TEST' and this worked.
Is there anyway that I can add this datafile to the tablespace or would a resize command have to be used instead. (i haven't tried that as yet).
|
|
|
|
|
|
|
|