In Sql server if we want to be sure that specific column exists in given database table or not than you can check either manually or using query for large number of columns of table. In this tutorial we will see how to check if column exist in database table.
Recently I have faced this question in interview that how to add or insert multiple rows in a single query at once. So I have find out two different solutions for this query. Let’s see the solutions.
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.
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.
We have seen this error number of times that is “Procedure or function expects parameter which was not supplied” in Asp.net c# and sql server . Every time reason for this error is different . Today here I will explain different reasons for this most common error.
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.