Data Haunting

Easy Solutions Destination


Difference between Primary Key and Unique Key in Sql Server

In Sql server Primary key and Unique Key seems identical as both identify a unique and distinct record in the database, but Primary Key and Unique Key both are different in it’s Features and behavior so logical implementation is also different . In this article we will compare Primary Key and Unique Key.


Difference between Stored Procedure and Function in Sql Server

Sql Server’s two Objects Procedure and Function seems almost same as both we used to write the query but there is huge difference between procedure and Function as per concept and logically use of both it . We will see Stored procedure (SP) VS User Defined Functions.


Procedure or function expects parameter which was not supplied

We have seen this error number of  times that is “Procedure or function expects parameter which was not supplied”  in c# and sql server . Every time reason for this error is different . Today here I will explain different reasons for this most common error.


How to find table which is used in many stored procedures

Sometimes in sql server when we change in table column or schema it is very hard or difficult to find that given table is used in how many procedure because  some time it is necessary to find and make changes in most of stored procedure related to that particular table . So i find easiest way to find all stored procedure  by using following Sql query  in Sql Server 2012.