Primary Keys and Unique Indicies
Posted in 1997
I'm curious if one should expect better performance by using a primary key
as opposed to an index. ie
ALTER TABLE closed ADD CONSTRAINT PRIMARY KEY (casenmbr) CONSTRAINT closed_key;vs
CREATE UNIQUE INDEX closed_idx on closed (casenmbr);
I'm interested in both 5.x and 7.x engines, SE and On-Line
Thanks
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Scott Holmes <sholmes@pacificnet.net> Informix Applications
4GL -- SQL -- New Era
http://www.pacificnet.net/~sholmes
---- There are more things in heaven and earth, Horatio, ----
---- Than are dreamt of in your philosophy. ----
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -