Differences between functions and stored procedures?

Answer Posted / purushotam bhardwaj

FUnction use when you want to return any value only
but SP is best for all

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of subqueries are there in sql server?

471


How to view existing indexes on an given table using sp_help?

600


When does the auto update index statistics feature in sql server turn itself on?q) what specific conditions database should meet, before you can bulk copy data into it using bcp?

584


what is an extended stored procedure? : Sql server database administration

505


what is database replication? : Sql server database administration

537






What is scheduled job and how to create it?

556


What is used to replicate sessions between instances in coldfusion clusters?

588


What is system stored procedures?

593


What will happen if a column containing char type data is changed to the nchar data type?

629


What does truncate do?

535


can a table be moved to different filegroup? : Sql server administration

553


Why use update_statistics command in sql server?

560


How do you delete a data source?

556


When you should use a low fill factor?

529


Is it ok to shrink transaction log?

521