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 can you know that statistics should be updated?
Is pl sql and postgresql same?
Why we use cross join?
What is set transaction?
What are the various restrictions imposed on view in terms of dml?
What is sql exception?
List the ways to get the count of records in a table?
what are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql
Why schema is used in sql?
What is function and procedure?
Is left join faster than join?
how to analyze tables with 'mysqlcheck'? : Sql dba
What is meant by user defined function?
Can a primary key be a foreign key?
What is trigger and stored procedure in sql?