Difference between Function and Stored Procedure?

Answer Posted / raj..

The difference mejor between procedure and function is that
function must return value. that should be only single and
function can pass any no. parameter but come out only one
value only using return statement.

procedure can pass any parameter and came out any no. of
values there no any RETURN word.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many categories of functions based their return modes?

592


What is database white box testing?

671


what is the difference in login security modes between v6.5 and 7.0? : Sql server database administration

647


How do you implement session management in SQL Server mode?

552


In what version of sql server were synonyms released?

502






How can you set the threshold at which sql server will generate keysets asynchronously?

561


Why Master database is required?

596


Is it possible to run multiple publications and different type of publications from the same distribution database? : sql server replication

569


I have triggers,views,functions,stored Procedures for a table. When I am dropping that table which objects are deleted?

595


What are the different types of upgrades that can be performed in sql server?

687


what is a transaction and what are acid properties? : Sql server database administration

522


What is attribute hierarchy? : sql server analysis services, ssas

514


How to Check if table exists in sql server?

617


Can sql servers linked to other servers like oracle?

540


How to defragment table indexes?

546