Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

South Africa
2 Posts

Posted - 10/09/2012 :  07:50:35  Show Profile  Reply with Quote
Why do constraints use indexes?

Most Valuable Yak

15732 Posts

Posted - 10/09/2012 :  09:26:14  Show Profile  Visit robvolk's Homepage  Reply with Quote
Unique and primary key constraints use indexes to maintain uniqueness, foreign keys, check and default constraints do not. Index structures make it easier to navigate key values and are more efficient if you have to search for a possibly duplicate value.

SQL Server uses B+ Trees as their index structure, you can read about them here:
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000