Quantcast
Channel: SqlHints.com » Stored Procedure
Browsing all 6 articles
Browse latest View live

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 Article


Image may be NSFW.
Clik here to view.

How 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 Article


Difference 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 Article

How 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


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 Article
Browsing all 6 articles
Browse latest View live