What are the blocks in stored procedure?
Answer Posted / manojbatra071
whenever we create stored procedure the syntax is:
CREATE OR REPLACE PROCEDURE proc_name
AS/IS
(declare variables inside this block)
BEGIN
perform whatever u want in stored procedure
EXCEPTION
(perform the steps if any errors occur than what to do )
END;
therefore the blocks are as/is , begin,exception and end
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
How do I remove sql developer from windows 10?
Can a commit statement be executed as part of a trigger?
What is a sql instance vs database?
What is sql dialect?
How can get second highest salary in sql?
What is normalisation and its types?
how to drop an existing table in mysql? : Sql dba
What do you understand by exception handling in pl/sql?
how can we take a backup of a mysql table and how can we restore it. ? : Sql dba
What is package in pl sql?
what are the advantages of using stored procedures? : Sql dba
What is query execution plan in sql?
If the application is running very slow? At what points you need to go about the database in order to improve the performance?
What is a relationship and what are they?
Explain sql data types?