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 can we solve sql error: ora-00904: invalid identifier?
What are the advantages of pl sql?
What SQL keyword must immediately follow the UNION ALL statement? 1. SELECT 2. INTO 3. ORDER 4. WHERE 5. JOIN
How to create a table using constraints... IF i change the PARENT KEY value ,then CHILD KEY table will also to change in the another table... plz reply ur answers @ mak2786@gmail.com Arunkumar
What are the string functions in sql?
What is the plv (pl/vision) package offers?
what is the stuff function and how does it differ from the replace function? : Sql dba
How many clustered indexes can be created on a table?
What are the operators used in select statements?
what is the output of this query selet * from employee where 1=2 ??
Explain the order of sql statement execution?
Does normalization improve performance?
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)