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
Answer / krina
we can execute multiple sql statement inside the procedure
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
What jobs use sql?
Mention what are the benefits of pl/sql packages?
How do you assign Construct the where clause without concatenating Field,value pairs?
Mention what plvcmt and plvrb does in pl/sql?
Is mariadb a nosql database?
Is it possible to access the current value in a session before accessing next value?
what are null values? : Sql dba
Why we use cross join?
Give an example of any procedure.
5 Answers Accenture, iFlex, Wipro,
I have a CURSOR then why we need BULK COLLECT again?
What makes a good primary key?
write a query to display diference between two dates in sql server
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)