Difference between Function and Stored Procedure?

Answer Posted / raj..

The difference mejor between procedure and function is that
function must return value. that should be only single and
function can pass any no. parameter but come out only one
value only using return statement.

procedure can pass any parameter and came out any no. of
values there no any RETURN word.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you identify a foreign key?

609


Explain different backup plans?

536


What is dbcc? Give few examples.

584


Explain contrast amongst grouped and non-bunched records?

524


What are the advantages of using cte?

561






How to see the event list of an existing trigger using sys.trigger_events?

575


What is change data capture (cdc) feature?

596


How to enter binary string literals in ms sql server?

588


What are the steps to follow to configure SQL*Net?

565


Explain an automatic checkpoint

571


write an SQL query to list the employees who joined in the month of January?

1157


Why and when do stored procedure recompile?

551


You are creating an application where users are asked their gender in the gender combo box you have three options: ‘male’ , ‘female’ and ‘i choose not to disclose’ these options are stored in the table as 1, 0 or null which datatype should you use?

553


How to rename an existing column with sql server management studio?

507


What is the definition for sql server 2000?

602