0% found this document useful (0 votes)
16 views

SQL SERVER Course Content

Uploaded by

BAJI DANABOINA
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

SQL SERVER Course Content

Uploaded by

BAJI DANABOINA
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

SQL SERVER

SNO TOPICS
SQL
1 Introduction to File Management System
 Advantages of FMS
 Disadvantage of FMS

2 Introduction to DBMS & Models


 Hierarchical Model (HMS / HDBMS)
 Advantages of HMS
 Disadvantage of HMS
 Network Model (NDBMS)

 Advantages of NDBMS
 Disadvantage of NDMS
 Relational Model (RDBMS)

 ORDBMS
 OORDBMS

3 SQL SERVER Versions & Data types In SQL SERVER


4 SQL Sublanguages

 DDL(Data Definition Language)

 CREATE,
 ALTER,
 RENAME,
 TRUNCATE,
 DROP

5  DML(Data Manipulation Language)

 INSERT,
 UPDATE,
 DELETE
 MERGE

6  DRL(Data Retrieval Language)

 SELECT
7  TCL(Transaction Control Language)
 COMMIT,
 ROLLBACK
 SAVEPOINT
 SAVE TRANSACTION

8  DCL(Data Control Language)

 GRANT
 REVOKE
9 Operators In SQL SERVER

 Assignment operators
 Arithmetic operator
 Comparison Operators
 Logical Operators( AND,OR ,NOT)
 Special Operators(IN, NOT IN, BETWEEN, NOT BETWEEN, LIKE, NOT LIKE, IS
NULL, IS NOT NULL)
 Set operators (UNION, UNION ALL, INTERSECT, EXCEPT)

10 Pre-Defined Functions In SQL SERVER

 Number Functions
 Character Functions
 Date Functions
 Conversion Functions
 Special Functions
 Analytical Functions

11 Clauses In SQL SERVER

 Where
 Order by
 Group by
 Having
 Rollup
 Cube
 From
 Over
 Partition by

12 Constraints

 Declarative Integrity
 Procedure Integrity
 NOT NULL
 UNIQUE
 CHECK
 PRIMARY KEY
 FOREIGN KEY
 ON DELETE CASCADE
 ON UPDATE CASCADE
 ON DELETE SET NULL
 ON UPDATE SET NULL
 DEFAULT
13 Composite Primary Key

14 Adding Constraints in Column Level and Table Level

15 Joins

 Equi Join / Inner Join


 Non-Equi Join
 Cartesian Product / Cross join
 Natural Join
 Outer Join
 Left Outer Join
 Right Outer Join
 Full Outer Join
 Self Join

16  Sub-Queries
 Simple Sub-Queries/Single Row Sub-Queries
 Multi-Row Sub-Queries
 Co-Related Sub-Queries
 Exists Operator
 Not Exists Operator
 Derived Tables and CTEs
 Scalar Subqueries

17 VIEWS

 Simple Views
 Complex Views
 With Check option

18 Sequences
19 Synonyms
20 Indexes

 What is an Index?
 Types of Indexes
 Simple & Composite indexes
 Unique index
 Clustered Index
 Non-Clustered Index
T/SQL
21 Introduction to T/SQL
Advantages of T/SQL
T/SQL Data types
Working with variables
T/SQL Blocks
 Anonymous Blocks
 Named Blocks

22 Condition and Unconditional Statements

 Simple if,
 If…else,
 Nested if,
 if…else ladder
 Selection Case, Simple Case

23 Iteration Control Statements

 While LOOP

24 Cursor Management in T/SQL

 Implicit Cursors
 Explicit Cursors
 Cursors with while loop
 Dynamic & Static Cursors
 Forward & Scroll Cursors

25 Procedures in T/SQL

 Stored Procedures
 Procedure with Parameters(IN, OUT)
 Procedure with Cursors
 Dropping Procedure

26 Function in T/SQL

 Differences between Procedures and Functions


 User Defined Functions
 Nested Functions
 Dropping Function

27 Exception in T/SQL
28 Triggers in T/SQL

 Introduction to Triggers
 DML triggers
 After Triggers
 Instead of Triggers
 DDL triggers

29  DETACHING & ATTACHING METHODS


 CREATE BACKUP & RESTORE BACKUP

30 NORMALIZATION IN DB

You might also like