Thư viện tri thức trực tuyến
Kho tài liệu với 50,000+ tài liệu học thuật
© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

Session2_Module3-4_Indexes pdf
Nội dung xem thử
Mô tả chi tiết
Indexes / Session 2/ 1 of 36
Session 2
Module 3: Types of Indexes
Module 4: Maintaining Indexes
Indexes / Session 2/ 2 of 36
Module 1 - Review
Data Integrity
Data Integrity ensures accurate and up-to-date information at any
point in time.
In SQL Server 2005, data integrity is enforced using Constraints,
Default Values, Rules and Triggers.
Types of Data Integrity
To maintain accuracy and consistency of data in a relational
database.
Four types of integrity checks: Entity Integrity, Domain Integrity,
Referential Integrity, User-defined Integrity.
Integrity Constraints
To ensure validity and consistency of data in a database.
SQL Server 2005 supports UNIQUE, CHECK, PRIMARY and
FOREIGN KEY constraints on columns in a table.
Indexes / Session 2/ 3 of 36
Module 2 - Review
Index is used for faster retrieval of data. When an index
is created on a table, the index creates an order for the
data rows or records in the table.
All indexes are structured in the form of B-Trees.
Indexes types
Clustered indexes
Non-clustered indexes
XML indexes