How to execute multiple sql statements in a single annonymous
block irrespective of the sql statement result?

Answers were Sorted based on User's Feedback



How to execute multiple sql statements in a single annonymous block irrespective of the sql statem..

Answer / krina

we can execute multiple sql statement inside the procedure

Is This Answer Correct ?    0 Yes 0 No

How to execute multiple sql statements in a single annonymous block irrespective of the sql statem..

Answer / gourav joshi

hi,
For eg u want to insert 3 data at a same time so u can use
annonyoums block for eg emp_id,Name,Salary u want to insert
data in a table u can use this annoynomous blck

Begin
Insert into table name values(1, 'gourav',2000);
Insert into table name values(2, 'joshi',6000);
Insert into table name values(3, 'ram',4000);
end;

then execute

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More SQL PLSQL Interview Questions

What sql database should I use?

0 Answers  


what is meant by databases

4 Answers  


How can we solve sql error: ora-00904: invalid identifier?

0 Answers  


HOW TO TUNE ORACLE SQL QUERIES GIVE ME STEP BY SREP

1 Answers   TCS,


Why do we use sql constraints?

0 Answers  






How can I speed up sql query?

0 Answers  


What are the most important ddl statements in sql?

0 Answers  


How do I count records in sql?

0 Answers  


how to concatenate two character strings? : Sql dba

0 Answers  


What is difference between pls_integer and integer?

0 Answers  


Show code of a cursor for loop.

0 Answers  


What is a database event trigger?

0 Answers  


Categories