what is difference between procedure and function

Answer Posted / venky

Function can be use in SQL queries
Procedure can't be used in SQL queries

Function call by an Expression
Procedure call by Statement

The Main diff is DML
Through procedures we can insert,update,delete data from
Table
Through Functions we can't

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

testing tools?

1979


How to move the one file from one instance to another instance? And your scripts also?

868


Pls tel me the best text book for Oracle Apps 11i Tech? & I want D2K Text book also?

1898


What is count(*) from po_vendors(any table)?

845


Tell me how to debug the report?

875


How is choreography different from orchestration?

905


q)what are the validations in sql*loader

2063


Can you differentiate between mediator and osb?

884


What are the benefits of using soa architecture?

948


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.

1969


where to define interorganization transaction charges and what are the different options?

2186


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

863


what is the difference between request group and request security in oracle apps?

5476


Can you define an erp system?

894


How do you register report in oracle apps?

889