Difference between Function and Stored Procedure?

Answer Posted / arvind kumar

1-Function can not return the value but store procedure
return value
2-Store procedure is pree-compile statement but function is
not pree-compile satement.
3 function fallowed by select statement but store procedure
fallowed select, insert,update statement.

Is This Answer Correct ?    2 Yes 40 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

please differentiate between delete and truncate?

560


Describe how to use the linked server?

602


Explain a differential backup?

575


What does normalization do to data?

547


How to create percentile function?

108






When we should use and scope of @@identity?

548


Do you know what is sql injection?

545


What is the difference between the application object and session object?

600


Do you know what are the steps to process a single select statement?

534


What is exclusive locks?

537


How to create a trigger for insert only?

601


Explain what are various ways to enhance the ssrs report?

572


what is raid and what are different types of raid configurations? : Sql server database administration

538


How can we solve concurrency problems?

570


What is difference between standardization and normalization?

532