Difference between Function and Stored Procedure?

Answer Posted / sreyasmn

1. Function must returned a value,but stored procedure is
not necessorly returned value

2. A function can be used to calculations,but sp used to
solve a business logic

Is This Answer Correct ?    36 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of local tables are there in sql server?

510


What is data set in report?

97


How many clustered indexes there can be on table ?

602


what is difference between NULL and ISNULL in SQL Server 2008?

579


How to generate create function script on an existing function?

590






Explain about merge replications?

594


How to use clusters?

553


What command is used to rename the database?

529


What are the advantages of using cte?

555


What is failover clustering overview?

593


How to include date and time values in sql statements?

630


Hi, I Created 3 Tables Person(PersID[prkey],Name,Email,Password), Project(ProjName,ProjID[prkey],ProjLeader,ProjManager) & ProjectInvolvement(EntryDate,ProjID[frkey],PersID[frkey],ProjDuration). For this how can i INSERT,UPDATE & DELETE Through PROCEDURE? Please Post the Answer for me. Desai.

1425


How to delete a login name in ms sql server?

536


Do you know what is blocking?

543


Explain the cursor lock types?

555