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
What is user in sql?
What is procedure function?
How can you load multi line records? : aql loader
What is the largest value that can be stored in a byte data field?
When is the explicit cursor used ?
What are the differences between implicit and explicit cursors?
what is cross join? : Sql dba
Can variables be used in sql statements?
Is there a 64 bit version of ssms?
Can a table contain multiple foreign key’s?
How do I enable sql encryption?
What is sql integrity?
What is primary key and foreign key with example?
Explain 3 basic parts of a trigger.
How is data stored on a disk?