Computer Science, asked by janaviga800, 11 months ago

Function क्या है? यह Procedure से अलग कैसे है? functions और Procedure के लिए सिंटेक्स समझाइए।

Answers

Answered by realakv
0

Function: It is one among the fundamental thought in the computer programming. It is used to calculate something from a given input. Hence it got its name from Mathematics. Function can be either user defined or prewdefined. The function program has a block of code that performs some specific tasks or functions.

Difference: Function is used to calculate something from a given input. Hence it got its name from Mathematics. While procedure is the set of commands, which are executed in a order.

Syntex: A procedures or function is a group or set of SQL and PL/SQL statements that perform a specific task." A function and procedure is a named PL/SQL Block which is similar . The major difference between a procedure and a function is, a function must always return a value, but a procedure may or may not return a value...

Similar questions