SQL Tutorial

Sub Queries in SQL with Best 1 Example

Syntax Select * fromWhere condition operator ( select column_name from inner_table_name) Better to read the previous topic to get good understanding on the above points.Stored Procedure in SQLFunction in SQLStored Procedure vs Function Correlated Sub Queries If the sub query depends on the outer query for it’s values, then that sub query is called as …

Sub Queries in SQL with Best 1 Example Read More »

Stored Procedure vs Function

in this topic we will look into one most common question in interview that is, what are difference between Stored Procedure vs Function. Let’s see the below points for these differences. What are difference between Stored Procedure vs Function? Stored Procedure Function The function must return a value.Functions can have only input parameters.Functions can be …

Stored Procedure vs Function Read More »

Types of User Define Function in SQL with Best 5 Example

In this article we will learn about Types of User Define Function in SQL Server with different examples. Let’s start Types of User Define Function Introduction SQL functions are simply sub-programs, which are commonly used and reused in SQL databases to process or manipulate data in SQL quires or stored procedures. SQL functions are small …

Types of User Define Function in SQL with Best 5 Example Read More »

Complete Stored Procedure in SQL with Top 10 Interview Question

In this article we will learn one of must important topic Stored Procedure in SQL Server with different examples. What is a stored procedure in SQL? Why do you use a Stored Procedure ? Important Note When naming user defined Stored Procedures. Microsoft recommends not use SP_ as a prefix. All system Stored Procedures prefixed …

Complete Stored Procedure in SQL with Top 10 Interview Question Read More »