Subject | Re: [firebird-support] Unique index v.s. unique constraint |
---|---|
Author | Martijn Tonies |
Post date | 2008-03-31T12:28:31Z |
Hi,
Indices are a physical implementation thing, while constraints are
a conceptual relational theory thing.
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
> Unique constraint creates unique index, but it is possible to achieveUnique indices cannot be used in referential integrity constraints.
> the same creating manually unique index. What is the difference
> between unique index and unique constraint?
Indices are a physical implementation thing, while constraints are
a conceptual relational theory thing.
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