What is the difference between a Stored procedure and function?

Answer Posted / madhavi latha

stored procedute can return only one integer value.while
function can return more than one value.

we can not use select statement with storedprocedures like
select <spname> where as UDF can.

storedprocedures can not return tables.where as UDF can
return more than one tables.

we can use functions inside the stored procedure but in UDF
we can not use storedprocedures.

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the significance of routing? : asp.net mvc

536


Explain difference between friend and protected friend?

524


How may clustered index we can create in table?

562


Differentiate between early binding and late binding.

573


in which protocol ASP.NET WEB API Work?

611






What is difference cookie and session?

525


What are the Types of objects in ASP

579


How u refer webservices?

1492


What parameters can you pass in the url of the api?

659


What is the differences between a primary key and a unique key in sql server?

534


Is it possible to write code in many languages in one asp.net project?

555


What is the purpose of App_Code folder in ASP.NET? Why we this?

608


How to Separate background image and front image from original picture....

552


hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.

1263


Explain what is an assembly?

554