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 Stored Procedure , Function
and Package,
1. how many blocks in Package and what are they.

Answer Posted / bunty_18

1>Stored procedure is pre-executed block of code whereas
function is not.
2>Stored procedure may return zero,one or more than one value
whereas function always return one and only one value..
3>We can use try catch block in stored procedure whereas
function doesn't support try catch block...
4>We can't use stored procedure in select statement whereas we
use function in select statement..

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different methods available under sqlcommand class to access the data?

1056


What is model database in sql server?

1001


What is advantage data architect?

864


How do you create type- insensitive operator?

989


What is cross join in sql server joins?

1071


Write an sql query to find first weekday of the month?

861


Can an automatic recovery be initiated by a user?

941


What is subquery in sql?

986


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

989


What are system databases into sql server (2005/2008)?

952


What is a cache in ssrs?

126


what type of index will get created after executing the above statement? : Sql server database administration

917


Explain what is the purpose of sql profiler in sql server?

1004


Tell me when is the update_statistics command used?

1015


Does dbcc checkdb requires db to be in single_user mode? : sql server database administration

912