adspace
Answer Posted / Ramesh Chanda
"Stored Procedure": It's a prepared SQL code that can be saved and reused. To create a stored procedure, you use the CREATE PROCEDURE statement. Here's an example:
CREATE PROCEDURE CalculateAverage ( @a INT, @b INT )
AS
SELECT AVG( @a + @b )
EXECUTE CalculateAverage 5, 10
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the current version of postgresql?
What is your daily office routine?
how to escape special characters in sql statements? : Sql dba
how to use regular expression in pattern match conditions? : Sql dba
what are all the common sql function? : Sql dba
Can delete statement be rollbacked?
Can we rollback truncate?
what is bcp? When does it used? : Sql dba
What is the current version of sql?
what is schema? : Sql dba
Can we use distinct and group by together?
how many tables will create when we create table, what are they? : Sql dba
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
what are the advantages of sql ? : Sql dba
what is dbms? : Sql dba