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...

what is the difference between procedure and function.

Answer Posted / plabana

1.StoreProcedure may return avalue may not return a value
but Function returns the value.
2.SttoreProcedure can be called independently using exec
keyword ,Function are called using select stmt.
3.StoreProcedure can create a table but can't return a table
where as Function can return a value.
4.Transaction related stmt can be handeled by StoreProcedure
Where as it can;t be handeled by Function.

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is postgresql server?

946


Define ACID properties in a Database?

1008


How to trouble shoot if unable to connect SQL Server

1942


what is denormalization and when would you go for it? : Sql server database administration

1123


What protocol does sql server use?

894


What is open database communication (odbc)?

1010


What is a View ? Can we insert, Update and delete a view?

945


Can you explain different types of joins?

889


What is the difference between clustered index and primary key?

876


Ways to improve the performance of a SQL Azure Database?

123


How to create a dml trigger using create trigger statements?

981


What is explicit mode in sql server?

1021


How to modify an existing stored procedure in ms sql server?

1027


what are acid properties? : Sql server database administration

938


What is 2nf in normalization?

954