What are the blocks in stored procedure?
Answer Posted / pronobesh
Actually there are 3 blocks
1) Declartion Block - Starts with AS right after CREATE
PROCEDURE <Proc Name>
2) Execution Block - Starts with BEGIN and ends with END
ahere the actual execution happen.
3) Exception Block - Where we catch the procedure error.
Hope this clarifies.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a sql trace file?
how to install mysql? : Sql dba
What is the difference between having and a where in sql?
Can you upgrade sql express to full sql?
explain mysql aggregate functions. : Sql dba
Is not equal in sql?
What is the difference between sql and isql*plus?
Can I call a procedure inside a function?
Whis is not false in primary key?
What does (*) mean in sql?
What is program debugging?
Can cursors be part of a trigger body?
What is the trigger in sql?
What is sql analyzer?
what is sub-query? : Transact sql