Differnce between Stored procedure and user defined functions?

Answer Posted / shivendra pandey

stored procedure is precomplied and not return value by
default but function compile each time and use return
statement simply.
if u r using database then use stored procedure for
pefmance n if u are working with simple pl for some
calculation go for function

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we serialize the dataset object?

562


What is commandbuilder in ado.net?

526


Can we create Synonymns in MS Acess,My Sql Server,Sql Server? But iam we can create in oracle!

1640


What is data relation?

500


Is ado.net an orm?

518






Does executenonquery return a value?

540


What is connection string?

529


how can implement dropdownlist in particular of dataset when try to update?

2308


Which object of ado contains datarow datacolumn collection?

517


How do you connect to sql server database without using sqlclient?

562


Explain how to copy the contents from one table to another table and how to delete the source table in ado.net?

456


What is the executescalar method?

582


What are two important objects of ADO.Net?

556


What are the Data providers in ADO.Net?

553


Define atomicity?

580