I need to add an indexed column to an existing table.
I get confused with the different types of indexes and my reference book doesn't make things any clearer.
If I was adding it using the manager I would set it as a regular index but what is the equivalent in the required SQL statement?
This creates the column
but how do I create a regular index.
Is it a candidate, unique, primary key or whatever?
Keith
I get confused with the different types of indexes and my reference book doesn't make things any clearer.
If I was adding it using the manager I would set it as a regular index but what is the equivalent in the required SQL statement?
This creates the column
Code:
ALTER TABLE ORDER2 ADD COLUMN REC N(8)
but how do I create a regular index.
Is it a candidate, unique, primary key or whatever?
Keith