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

Why can there be only one clustered index and not more than one?

1006


Is mysql better than sql server?

1066


what is a check constraint?

1127


How to delete exactly duplicate records from a table?

1063


Define views.

1017


List out what other servers you can use with ssrs?

139


Can you index views?

896


Why olap is used?

977


What is b tree index?

919


What is awe?

1015


What is store procedure? When do you use?

937


What is function of master database?

114


Define tool Manage Statistics in SQL Server 2000 query ?

1099


How to achieve Paging of records in SQL SERVER?

1103


Does the unique constraint create an index?

1063