Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: newbies index question?
On Sun, 25 Feb 2001 19:11:26 +0100, Julien Reynier <julien.reynier_at_free.fr> wrote:
>Hi,
>
>I would like to know if I have to create index before add primary key
>constraint or not? In others words should I create my own indexes or
>should I use auto created indexes generated during primary key
>constraint setting?
>
>Thanks...
The latter
add constraint <constraint name> primary key (<columns>) using index
tablespace <your tablespace> etc
Hth,
Sybrand Bakker, Oracle DBA Received on Sun Feb 25 2001 - 12:30:25 CST