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 the difference between sqlcommand and sqldataadapter?

504


What is the current version of entity framework?

487


How to enable and disable connection pooling?

511


How to maintain the relation between two tables in ADO.NET?

540


What are the methods of XML dataset object?

615






What is ole used for?

502


Describe connection object in ado.net

543


How can we add relation between tables in a dataset?

547


What is the use of sqldatareader class?

477


Where is adodb dll located?

530


What is a datareader object?

583


What is the meaning of executenonquery?

540


What are basic methods of dataadapter?

512


What is dataadapter in ado.net?

499


What is bubbled event can you please explain?

529