What is procedure?

Answers were Sorted based on User's Feedback



What is procedure?..

Answer / kiran kumar

---- is a named pl/sql block to perform a specific task.
---- A procedure may have DML statements.
---- It may or may not return a value.
---- Procedure can return more than one value.

Example for procedure
1)To accept the year as a parameter and list emp belong to
the year?
Create or replace
Procedure empy(y number) is
Cursor emp_cursor is
Select * from emp where to_char(hiredate,?yyyy?)=?y?;
Emp_record emp%rowtype;
Begin
For emp_record in emp_cursor loop
Print (emp_record.empno);
Print (emp_record.ename);
Print (emp_record.sal);
End loop;
End;
Output :
var empx number;
Begin
:empx := ?1234?;
End;
Exec empy(:empx);
Print empy;

Is This Answer Correct ?    1 Yes 0 No

What is procedure?..

Answer / nidhi

Procedure consist of set of the PL/SQL statments that are
grouped togather as a unit to solve a specific problem or
perform set of related tasks.
-->May or may not return the value.
-->can not use in teh sql queries because returns more than
one value.

Is This Answer Correct ?    0 Yes 0 No

What is procedure?..

Answer / chandrasekhar

procedure is subprogram in pl/sql that contains a set of
SQL and PL/SQL statements.Subprograms once we executed can
be used in any no.of applications

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle Apps Technical Interview Questions

What does appl_top directory contain?

0 Answers  


Difference between triggers and procedures?

2 Answers  


In which directory your flatfile is given?if u connected different instance where it is find?

3 Answers  


what are version control tools used in oracle apps?

1 Answers   Cap Gemini, Sony,


when will formula,place holder and summary columns fire in reports?

1 Answers   TCS,






Tell me some thing about SQL-LOADER.

2 Answers   IBM,


In sequence i want to 11 and 15th values how we will write?

0 Answers  


What is responsibility?

5 Answers  


Can u give the Documentation of Custom.pll in oracle apps

0 Answers  


what is pay run id ?

0 Answers  


which parameters passed in report in oracle developer how to pass

1 Answers   Wipro,


WHAT IS USE OF APPS API?

3 Answers  


Categories
  • Oracle Apps Technical Interview Questions Oracle Apps Technical (547)
  • Oracle Apps Financial Interview Questions Oracle Apps Financial (793)
  • Oracle Apps Manufacturing Interview Questions Oracle Apps Manufacturing (53)
  • Oracle Apps HRMS Interview Questions Oracle Apps HRMS (169)
  • Oracle Apps CRM Interview Questions Oracle Apps CRM (9)
  • Oracle Apps SCM Interview Questions Oracle Apps SCM (141)
  • Oracle Install Base Interview Questions Oracle Install Base (62)
  • Oracle Service Contracts Interview Questions Oracle Service Contracts (101)
  • Oracle Apps AllOther Interview Questions Oracle Apps AllOther (114)