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 |
10)In an RDBMS, the information content of a table does not depend on the order of the rows and columns. Is this statement Correct? A)Yes B)No C)Depends on the data being stored D)Only for 2-dimensional tables
What is connection pool in oracle?
What is connection pooling in oracle?
Difference between pre-select and pre-query
What is dual table oracle?
can we insert any row to dual table if i got the permission from DBA
How to omit columns with default values in insert statement in oracle?
What is a directory object?
How to pass a parameter to a cursor in oracle?
sql query to get zero records from a table
What are a cluster and non-cluster index?
Is rowid unique in oracle?