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 |
How much ram can sql express use?
What is varray in pl sql?
How is use pl and sql?
Which version of sql do I have?
what is the use of HASH, LIST partitions?
How to access the current value and next value from a sequence?
What are the ddl commands?
What does “select count(1) from tab” result?
Can we join tables without foreign key?
When we can declare a column as Unique and Not Null both at the same time. What is the use pf Primary Key then?
2 Answers Accenture, Unisoft Infotech,
Explain the insert into statements in sql?
Explain the steps needed to create the scheduled job?
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)