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 many scalar data types are supported in pl/sql?
In a table only one column how to update rows
Explian rowid, rownum? What are the psoducolumns we have?
What are sql indexes?
Are stored procedures faster than queries?
Explain the difference between 'between' & 'and' operators in sql
what is the use of anchoring object? what r the difference between anchoring object & enclosing object? can any one tell me all the details?
Hello All, Could any well write a query for the following scenario. Account(table name) No Name Amount 1 ABCD 2000.00 2 DEFG -2000.00 3 GHIJ 3000.50 4 JKLM 4000.00 5 MNOP 6000.00 O/p Should be in this format No Name Credit Debit 1 ABCD 2000.00 0 2 DEFG 0 -2000.00 3 GHIJ 3000.50 4 JKLM 0 -4000.00 5 MNOP 6000.00 o could any one give appropriate query for this Thnks in Advance Suneel Reddy
Where can I learn sql for free?
Explain what is a view?
What is pl sql block in dbms?
What are the benefits of triggers?