Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between Function and Stored Procedure?

Answer Posted / deepak

1)Functions cannot affect the state of the database which
means we cannot perform insert,delete,update and create
operations on the database.
Stored Procedures can affect the state of the database by
using insert,delete,update and create operations.

2)Functions are basically used to compute values
stored procedures are basically used to process the task.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is spatial and temporal data?

1004


What is clr ddl trigger?

965


How to apply cascading referential integrity in place of triggers?

1034


Explain difference between control flow and data flow?

965


Explain user defined views?

963


What is the difference between row_number and dense_rank?

881


How to create database with physical files specified in ms sql server?

993


Do you know what is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting is possible?

1038


Can you leave a union at any time?

1061


What are the drawbacks of reporting in ssrs?

149


How to stop a loop early with break statements in ms sql server?

1020


What is nolock?

983


What is a result set object returned by odbc_exec()?

1028


Can you pass expressions to stored procedure parameters?

1032


What is the library index called?

1059