ChrisQuick
Programmer
When you create a table in Oracle 8.0.5 like so:
CREATE TABLE TEST
(
TEST_SEQ_NUM NUMBER NOT NULL PRIMARY KEY,
TEST_NAME VARCHAR2(25)
)
Does it make sense to also do:
CREATE INDEX TEST_PK ON TEST (TEST_SEQ_NUM)
Doesn't declaring a column as a primary key, automatically create an index on that column as well?
CREATE TABLE TEST
(
TEST_SEQ_NUM NUMBER NOT NULL PRIMARY KEY,
TEST_NAME VARCHAR2(25)
)
Does it make sense to also do:
CREATE INDEX TEST_PK ON TEST (TEST_SEQ_NUM)
Doesn't declaring a column as a primary key, automatically create an index on that column as well?