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

What is bit data type?

622


In what three ways is the return statement used in a stored procedure?

514


What are the types of subquery?

548


do you know what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration

483


What is meant by Active-Passive and Active-Active clustering setup?

560






Suppose you want to implement the many-to-many relationships while designing tables. How would you do it?

544


do views contain data ?

587


How data can be copied from one table to another table?

511


Explain full-text indexing?

515


Explain temporary table vs table variable by using cursor alternative?

517


Differentiate between delete and truncate.

578


Can an automatic recovery be initiated by a user?

561


What is scd (slowly changing dimension)? : sql server analysis services, ssas

594


What are binary string data types in ms sql server?

656


Explain how to send email from sql database?

561