Subject Re: [firebird-support] Does the primary key constraint create an index ?
Author Martijn Tonies
> I just wondered about the Firebird PK constraint. Will my PK column(s)
> be indexed automatically when I create it?
> (alter table xyz add constraint PKNAME primary key)
> Or do I have to create an additional unique index, in order to speed up
> querys asking for the PK column(s) ?

An index is created automagically.

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com