Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to build primary key on seperate tablespace?
ewong74_at_netscape.net wrote:
>
> Hi there,
>
> How can I create a table on default tablespace but specifiy the primary key
> column, which is also an unique index, to build on another tablespace?
>
> Thank you.
>
> Ed
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
alter table my_table
add constraint my_prim_key
primary key ( col1, col2 )
using index
tablespace my_other_tspace;
--
![]() |
![]() |