Posts

Extraction part 1 - SP

FOREIGN KEY - THINGS TO KNOW (MS SQL SERVER)

Primary key - things to know (MS sql server )

Column adding -ms sql server

Index- unique and non unique

Index - Advantage and Disadvantage.

Index - Non-Clustered Index - similar to index of a text book's table of content which is always in separate page, similarly non clustered index creates sperate table to store the indexing

Index -Clustered Index- for faster Findings - similar to book index but not in separate page but for faster finding arranging the data into organized way from unorganized(mess).

FOR XML CLAUSE IN SQL SERVER

Limitations of views.- cant parameters, rules and default, Order by unless Top or For XML, cant temp table

Views -- Indexed views-- not suitable for OLTP --suitable for OLAP

Views --updatable view -- dont update view directly if the view is composed of multiple tables-- use instead of trigger for updating such table

Disable trigger querry

LogOn Triggers. - limiting sessions anything you want regarding logon .. with this you can limit sessions

DDL TRIGGERS - stopping procedure table to be modified or created

triggers-DML- instead of triggers

Exit Control Loop -Do while

Entry Control Loops