How to execute multiple sql statements in a single annonymous
block irrespective of the sql statement result?
Answer Posted / 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 View All Answers
How to prepare for oracle pl sql certification?
How many types of normalization are there?
What are aggregate and scalar functions?
What is rowid in sql?
what are ddl statements in mysql? : Sql dba
how to return query output in html format? : Sql dba
What is input buffer in sql*plus?
how many columns can be used for creating index? : Sql dba
What is mutating sql table?
what is normalization? : Sql dba
When you have to use a default "rollback to" savepoint of plvlog?
What is the maximum number of columns in sql table?
Can we use update in sql function?
If the application is running very slow? At what points you need to go about the database in order to improve the performance?
What is sql exception?