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 you concatenate in sql?
What is nested table in pl sql?
How many parts of a pl sql block are optional?
Is it possible to read/write files to-and-from PL/SQL?
What are pl/sql cursors?
How do you use join?
Is mariadb a nosql database?
How to use distinct and count in sql query? Explain
What does (*) mean in sql?
how can we find the number of rows in a table using mysql? : Sql dba
How can you select unique records from a table?
Is a view faster than a stored procedure?
what are integrity rules?
What is sql query limit?
What are the types of triggers in sql?