SQL Server FAQ
Backup [4 types] :-
1.Full backup
2.Differntail backup
3.Transcation log backup
4. Fill out & File group backup Full backup : it's take full databaseDifferential backup : what are the changes made after fullback up to current backup is called differential backup
Close [4 types]
1.Shared (S) Used for operations that do not change or update data (read-only operations), such as a SELECT declaration.
2. Update (U) Used on resources that can be updated. Prevents a common form of deadlock that occurs when multiple sessions are reading, locking, and potentially updating resources later.
3. Chic (X) Used for data-modification operations, such as INSERT, UPDATE, or DELETE. Ensures that multiple updates cannot be made to the same resource at the same age.
4. Intent Used to establish a lock hierarchy. The types of intent locks are: intent shared (IS), steady exclusive (IX), and shared with intent exclusive (SIX).
View If we have several tables in a db and we want to view only specific columns from personal to tables we can go for views. It would also suffice the needs of security some times allowing specific users to see only specific columns based on the franchise that we can configure on the view. Views also reduce the effort that is required for writing queries to access specific columns every period
Primary key is a unique id for each table. This prevents duplication of records cannot be null. Each table can have a single primary key. It can be referenced by any tables as a transatlantic key
INDEX – [2types] are physical address of data, its is same just we Have indexes in our Book. through this we can make our search much faster. in Between assignments way always try to make Indexes on that Column which have Integer Value(i.e. Not on text type).There are two types of Indexes in SQL SEREVR
1. Clustered Hint.(Create automatically if there is a Primary key on Table)
2. Non Clustered Index -249
ISOLATION...






