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

What is difference between sqldatareader and sqldataadapter?

490


Can datareader hold data from multiple tables?

678


What are all the different authentication techniques used to connect to MS SQL Server?

546


What we do with the object of ado.net dataset after using it?

524


Explain the role of data provider in ado.net?

546






What is executequery?

497


Explain how to bind the controls(best practice) comboboxes to the data in the dataset?

560


What is difference between Dataview and Datatable?

530


What is the difference between DataReader and DataSet in ADO.NET?

592


What is fill method in ado.net?

543


Explain why canot we use multiple inheritance and garbage collector paralelly in .net?

595


What is sqldatareader in ado.net?

505


What is Data view?

564


What is an ado?

527


How to store data in memory?

508