Stored Procedure
SQL Server Stored Procedure Overview: A stored procedure is nothing more than Pre-Prepared SQL code that you save so you can reuse the code over and over. So if you think about a query that you write...
View ArticleHow to find all the Stored Procedures having a given text in it?
Recently, I was needed to search for all the Stored Procedures having a given text in its definition. So, as usual did the g gling, most of the top results returned were suggesting to use...
View ArticleDifference between Stored Procedure and User Defined Function in Sql Server
Below are the some of the major differences between User Defined Function and Stored Procedure in Sql Server. To know more on the User-Defined functions with examples please visit the article:...
View ArticleHow to Insert Stored Procedure result into a table in Sql Server?
Today, I was needed to dump the Stored Procedure result into a temp table. Below example illustrates how this can be achieved: First let us create a stored stored procedure which returns result set:...
View ArticleHow to check if a Stored Procedure exists in Sql Server
Many a times we come across a scenario where we need to execute some code based on whether a Stored Procedure exists or not. There are different ways of identifying the Stored Procedure existence in...
View ArticleStored Procedure
SQL Server Stored Procedure Overview: A stored procedure is nothing more than Pre-Prepared SQL code that you save so you can reuse the code over and over. So if you think about a query that you write...
View Article