Introduction To DBMS History and Features of TSQL
File Management System And Its Drawbacks Types Of TSQL Commands Database Management System (DBMS) and Data o Data Definition Language (DDL) Models o Data Manipulation Language (DML) o Physical Data Models o Data Query Language (DQL) o Logical Data Models o Data Control Language (DCL) Hierarchical Data Model o Transaction Control Language (TCL) (HDBMS) o Database Network Data Model (NDBMS) Creating Database Relational Data Model (RDBMS) Altering Database Object Data Model (ODBMS) Deleting Database Object Relational Data Model Data Types In TSQL (ORDBMS) Data Definition Language (DDL) Conceptual Data Models Create o Entity – Relationship (E-R) Model Alter Introduction To SQL Server Drop Advantages and Drawbacks Of SQL Server Truncate Compared To Oracle And DB2 Data Manipulation Language (DML) o Connecting To Server Insert, Update & Delete Server Type Differences Between Delete and Truncate Server Name MERGE command Authentication Modes Sql Server Data Query Language (DQL) Authentication Mode Select Windows Authentication Where clause Mode Predicates Login and Password o Between Sql Server Management o In Studio and Tools In o Like Management Studio Order By Clause Object Explorer Distinct Clause Object Explorer Details Column aliases Query Editor Computed columns TSQL (Transact-Structured Query Language) Built In Functions Introduction To TSQL o Numeric Functions o Character Functions Identity o Conversion Functions Generating sequence numbers using identity with o Date Functions SEED, INCR o Special functions o Aggregate Functions o Ranking Functions Sequences Set Operators creating, altering, dropping sequence Union TSQL Programming Intersect Drawbacks Of TSQL that leads to TSQL Except Programming Joins Introduction To TSQL Programming Inner Join or Equi Join Control statements In TSQL Programming Outer Join o Conditional Control Statements o Left Outer Join If o Right Outer Join o Full Outer Join Looping Control Statements Non-Equi Join o While Cursors Self Join Working With Cursors Cross Join Types Of Cursors ANSI joins o Forward Only and Scrollable Cursors Sub Queries o Static, Dynamic and Keyset Cursors o Single Row Sub Queries o Local and Global Cursor o Multi Row Sub Queries Exception Handling o Any or Some o Implementing Exception Handling o ALL o Adding and removing User Defined Error o Co-Related Sub Queries Messages To And From SQL Server Error Exists and Not Exists Operators Messages List o Derived Tables & CTEs o User defined exceptions o Scalar Subqueries Stored Sub Programs Transaction Management Advantages Of Stored Sub Programs compared to Introduction Independent SQL Statements Begin Transaction Stored Procedures Commit / Rollback Transaction o Creating , Altering and Dropping Save Transaction o Input and Output Parameters Role Of Log File In Transaction Management o Permissions on Stored Procedures Implicit Transactions User Defined Functions Security o Creating, Altering and Dropping SQL Server Authenticated Login o Types Of User Defined Functions Windows Authenticated Login Scalar Functions Login Creation Table Valued Functions Inline Table Valued User Creation Functions Granting Permissions Multi Statement Table Revoking Permissions Valued Functions Roles o Permissions On User Defined Functions Triggers Views o Purpose of Triggers Purpose Of Views o Differences Between Stored Procedures Simple and Complex Views and User Defined Functions and Triggers o Creating, Altering and Dropping Triggers Encryption and Schema Binding Options in creating o Magic Tables views Indexes o Instead Of Triggers Working With XML Data Type Non Clustered Index Backup and Restore Of Database Unique Index Exporting & Importing Data Clustered Index Attach and Detach of Database Normalization