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 are the types of database schema? : sql server analysis services, ssas

1124


Explain datetime2 data type in sal server 2008?

898


What is the difference between clustered and a non-clustered index?

1016


How many types of functions are there in sql server?

934


What is a filestream?

984


Determine when an index is appropriate?

1068


Can an entity have two primary keys?

976


How to use transact-sql statements to access the database engine?

1054


Where can you find the error log information? : sql server database administration

1019


Using the customer, and order table in northwind database, please write a query to produce xml?

1065


How to include text values in sql statements?

1029


Explain the rules for designing files and file groups in sql server?

981


Where is my database stored on the hard disk in ms sql server?

1054


What is the default sql server instance name?

1026


How to encrypt data between dialogs?

1094