0 votes
in Sql by

What do you mean by SQL Stored Procedures? How do we use it?

1 Answer

0 votes
by

A stored procedure is a collection of SQL statements that can be used as a function to access the database. We can create these stored procedures earlier before using it and can execute them wherever required by applying some conditional logic to it. Stored procedures are also used to reduce network traffic and improve performance.

Syntax:

CREATE Procedure Procedure_Name

 (

 //Parameters

 )

 AS

 BEGIN

 SQL statements in stored procedures to update/retrieve records

 END

Related questions

0 votes
asked Sep 9, 2019 in Spark Sql by ivor2019
0 votes
asked Dec 15, 2020 in Sql by SakshiSharma
...