Differnce between Stored procedure and user defined functions?

Answer Posted / suresh mandala

1>Stored Procedure returns morethan one value where as
Function returns only one value
2>stored procedure we may use return statement.. but in
userdefined function we should use return statement
3>stored procedure is precomplied but function compile each
time we call it.

If u have any quieries ask me ,i will try

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a column variable?

503


What is the difference between ado.net and oledb?

483


Explain the overview of ado.net architecture?

519


What is ado.net in mvc?

501


What is read only and forward only in ado.net?

518






What is the difference between an ADO.NET Dataset and an ADO Recordset?

550


Which is faster dataset or datareader?

528


Is ado.net dead?

540


What is difference between executequery and executeupdate?

500


What is the executescalar method?

582


Why do we use sqldataadapter?

485


What is a dataview?

539


What is ado full form?

506


I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, how do you check whether all the 10 records were present while updating the data(which event and steps) and throw the exception 28 can datareader hold data from multiple tables?

553


What are the ado.net components?

527