Frequently Asked Questions-Sql server Questions & Answers
Here,we are providing a list of frequently asked questions and various programming interviews to developers. I have also shared my answers for these questions for quick revision and easy to understand.
Q) What are the different index configurations a table can have?
A) A table can have different types of index configurations: No indexes , A clustered index , A clustered index and many nonclustered indexes , A nonclustered index , Many nonclustered indexes.
Q) What is constraints?
A) constraints are used to specify rules for the data in a table. It can be specified when the table is created (inside the CREATE TABLE statement) or after the table is created (inside the ALTER TABLE statement). There are following types of constraints.
Unique, Default, Check, Primary Key, Foreign Key, Not Null.
Unique, Default, Check, Primary Key, Foreign Key, Not Null.
Q) What is Normalization?
A) Database normalization is a data design and organization process applied to data structures based on rules that help building relational databases. In relational database design, the process of organizing data to minimize redundancy is called normalization. Normalization usually involves dividing a database into two or more tables and defining relationships between the tables. The objective is to isolate data so that additions, deletions, and modifications of a field can be made in just one table and then propagated through the rest of the database via the defined relationships.
No comments:
Post a Comment