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

Explain user defined views?

579


Explain the steps to use transact-sql cursor?

530


What is a trace frag?

648


What is the difference between the export /import functions in sql studio and standalone sql manager? : sql server management studio

592


What is SQL Azure Firewall?

116






Find first and last day of current month in sql server

599


What are the differences between ms sql server & oracle?

530


what are user defined datatypes and when you should go for them? : Sql server database administration

544


Why normalization is used?

558


What is a constant or literal in ms sql server?

603


What is the difference between stored procedure and functions?

604


What is enhanced database mirroring in sql server 2008?

519


what are isolation levels? : Sql server database administration

498


What is efficiency data?

527


What are the advantages of using a stored procedure?

562