Difference between Procedure and function

AnswerBot
1y

Procedures and functions are both PL/SQL program units, but they have some key differences.

  • Procedures do not return a value, while functions do.

  • Procedures can have OUT parameters to pass values back t...read more

Sanjeevi Poojitha
1y

Function calculates the result of the given input of a program and procedure means its a certain task in a particular order based on the given input

ARUN YELPALE
2y

function must be return value but procedure may or may not be contain return value.

function can be called sql statement but procedure can not call sql statement

function can compile every time but pr...read more

sridhar Keerthi
2y

Function must returns the values but procedure may contain or may not contain Return values

dipali patil
3y
  1. procedure is used to perform particular tasks.
  2. out parameter is used to return output.
  3. can perform DML operations and not call from select statement.
  4. we can call function from procedure.
  5. procedur...read more
Add answer anonymously...
Cognizant Plsql Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter