what is the difference between procedure and function

Answer Posted / ramesh babu maldakal

1 Function returns the values but not procedure
2 We can call the functions in select statement but not
procedures
3 In procedures we can perform the DML operations but not
in Functions

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can i print random rows in plsql table

1936


Which oracle apps version you are very confident in?

705


What do you understand by soa?

693


Do you know what is applysys in oracle application database schema, what is apps?

674


What are the different components you should consider while defining a responsibility in oracle apps?

640






How many schemas we have? how many you have used?

1612


Do you know where we can check the status of po?

637


What are the benefits of using soa architecture?

709


How can a process be deployed in soa?

697


List the types of flexfield?

605


Can we create tables in apps schema?

622


What is instead of trigger in where we will use?

675


WHAT IS CUSTOM VIEW AND CUSTOM COMPONENT?

2591


What is sca and how is it useful?

660


A program must be written which accepts date parameter. The date parameter will accept data in the format DD/MM/YYYY. This data has to be validated and post validation, the following details have to be displayed for this date parameter 1. Input date must be defaulted to sysdate, It can be overridden by any other date. 2. Financial year should be displayed for this date parameter. Eg: If the input date is 30/11/2010, the financial year must be displayed as 1. From Date : 01-Aprr-2010 To Date: 31-Mar-2011 3. Calendar year and Calendar month must also be displayed. 4. The next payment cycle (say for EB), must be displayed based on this date parameter. 5. The previous payment must also be displayed based on this date.

1677