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

What are unicode character string data types in ms sql server?

599


How the authentication mode can be changed?

602


What is the difference between the 2 operating modes of database mirroring?

572


What is row_number()?

576


Can you explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

523






What is the query and subquery?

616


How to create a Master database in SQL server ?

549


What does the not null constraint do?

575


What is data source view or dsv? : sql server analysis services, ssas

553


Explain throw statement in sql server 2008?

581


What is the cpu pressure?

562


How to override dml statements with triggers?

576


What is 1nf normalization form?

589


Do you know what are the restrictions applicable while creating views? : SQL Server Architecture

550


What is the maximum size of a row in sql server?

523