SQL Interview Question | Procedure Vs Function

Published: 15 August 2021
on channel: DataGuru Naval
63
5

For database related videos, please subscribe channel
   / @datagurunaval  

SQL Interview Question | Procedure Vs Function

Stored Procedure

A Stored Procedure is nothing more than prepared SQL code that you save so you can reuse the code over and over again. So if you think about a query that you write over and over again, instead of having to write that query each time you would save it as a Stored Procedure and then just call the Stored Procedure to execute the SQL code that you saved as part of the Stored Procedure.


User Defined Functions

Like functions in programming languages, SQL Server User Defined Functions are routines that accept parameters, perform an action such as a complex calculation, and returns the result of that action as a value. The return value can either be a single scalar value or a result set.


On this page of the site you can watch the video online SQL Interview Question | Procedure Vs Function with a duration of hours minute second in good quality, which was uploaded by the user DataGuru Naval 15 August 2021, share the link with friends and acquaintances, this video has already been watched 63 times on youtube and it was liked by 5 viewers. Enjoy your viewing!