1:-How to write to update command in a procedure in oracle
which update two different table at a time
2:-How to write the select command in a procedure in oracle
which give multiple records
Answer / guneetinder singh
update query depends upon no. of column two tables contain.
declare
salary number:=&salary;
procedure guneet(s in number) as
begin
update emp set sal = sal+s;
update gesture set sal1 = sal1+s;
end guneet;
begin
guneet(salary);
end;
--------------------------------------------------------------
declare
procedure multiple() as
begin
select * from emp;
end multiple;
begin
guneet();
end;
Is This Answer Correct ? | 1 Yes | 7 No |
How to shutdown your 10g xe server?
how do u setup a replication site?
When system tablespace is created?
How to drop a stored function?
how to tune oracle sql queries pls tell me step by step. urgent pls
From the following identify the non schema object: packages, triggers, public synonyms, tables and indexes.
What is a procedure in oracle?
What are main difference between Stored Procedure and Functions.
How to estimate disk space needed for an export job?
Explain oracle instance.
what are different types of deletes?
Explain the characteristics of oracle dba?