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

What is an inner join?

530


How will you make an attribute not process? : sql server analysis services, ssas

586


How to execute stored procedure in select statement sql server?

538


How to copy data from one table to another table?

544


I applied Transactional with updatable subscriptions replication on 2 tables now i want to delete those 2 tables but i cannot delete those tables as replication is running how can i stop replication for those 2 tables(but i don't want to delete those replicated tables but i need to stop the replication) how can i do that

1444






How to include date and time values in sql statements?

631


Do you know the capabilities of cursors?

533


What is a subquery in a select query statement in ms sql server?

591


What is sqlservr.exe - process - sql server (sqlex?press)?

602


How to handle error or exception in sql?

532


What the different topologies in which replication can be configured?

558


What is the osql utility?

539


What is purpose of normalization?

529


Can we add our custom code in ssis?

554


Why are you getting errors when creating a new odbc dsn?

591