SQL SERVER 2022
INTRODUCTION Working with CORRELATED
What is a Database? SUBQUERIES
Database Architectures
SQL Server 2022 Architecture JOINS
Editions of SQL Server 2022 What is a Join?
Installing SQL Server 2022 Types of Joins
Tools and utilities in SQL Server Inner Join
2022 Outer Joins
Cross Join
CREATING AND MANAGING Self Join
DATABASES Alternate syntax for joins
Data Storage Complex Joins
System Databases
Creating User-defined BUILT-IN FUNCTIONS
Databases Aggregate Functions
Working with Databases Numeric Functions
Date and Time Functions
String Functions
SQL-The Structured Query CAST and CONVERT
Language
ADVANCED QUERIES
WORKING WITH TABLES Operators
Types of Tables LIKE, IN, ANY, BETWEEN,
Creating and Using tables UNION ALL, UNION,
Using INSERT,UPDATE and INTERSECT,EXIST
DELETE TOP and OFFSET – FETCH Filters
Differences between DELETE Working with CTE’s
and TRUNCATE Using Rank,Dense_Rank
Creating and using Partitioned Functions
Tables Using PIVOT and UNPIVOT
DATA INTEGRITY VIEWS
What is Data Integrity? What is a View?
Types of Integrity Constraints Creating and using Views
Enabling and Disabling Using Schemabinding and
Constraints Encryption
Rules and Defaults Materialized Views
RETRIEVING DATA NORMALIZATION
SELECT Statement What is Normalization?
Using WHERE Clause Normal Forms
Using GROUP BY Clause Advantages and Disadvantages
Using HAVING Clause Denormalization
ORDER BY Clause
Creating a Copy Table
RETRIEVING DATA – ADVANCED
What is a sub query?
Types of Sub Queries
T-SQL PROGRAMMING
PERFORMANCE TUNING
INTRODUCTION
Fundamentals Tuning Queries
Control-of-flow Language When to Tune?
Statements Strategies in Tuning
Scripts and Batches Evaluating Query Performance
Tuning Query Performance
TRANSACTIONS Finding out which queries to
ACID Properties Tune
Types of Transactions
COMMIT, ROLLBACK, SAVE Working with Indexes
Index Uses
STORED PROCEDURES Types of Indexes
Definition Creating Indexes
Types of Stored Procedures Index Fragmentation
Creating a Stored Procedure Tuning Indexes
Input and Output Parameters
Executing a Stored Procedure
Error Handling in Stored
Procedures INTERVIEW BASED FAQ’s
Debugging a Stored Procedure
TRIGGERS
Definition
Creating a Trigger
Types of Triggers
DDL Triggers
DML Triggers
INSTEAD OF Triggers
Setting Triggering Order
USER-DEFINED FUNCTIONS
What is a UDF?
Creating and using UDF’s
UDF’s returning a table
CURSORS
What is a Cursor?
Types of Cursors
Statements in the usage of a
Cursor
Using @@FETCH_STATUS
SECURITY
Security Basics
Authentication Modes
Creating a login
Providing permissions on a
database
Providing permissions on
database objects