I want to execute a piece of code before calling a procedure. How to achieve it?

Answer Posted / abhisekh

we can call a procedure using 2 ways
1.using exec <procedure>
2.using anonymous block< begin <procedure> end;
now coming to ur questions answer. crate a anonymous block and add the statements u wanted to execute first then call the procedure.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is gpt format?

507


How does stored procedure reduce network traffic?

546


What are tuples in sql?

568


How many sql core licenses do I need?

509


What are the different tcl commands in sql?

620






Why use truncate instead of delete?

546


how can we find the number of rows in a table using mysql? : Sql dba

586


What are pl/sql cursor exceptions?

573


What is the execution plan in sql?

558


How do I send sql query results to excel?

581


What is rownum and rowid?

570


what is self join and what is the requirement of self join? : Sql dba

683


Which certification is best for sql?

540


How do I remove all records from a table?

568


What is sql prepared statement?

544