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 is the difference between the export /import functions in sql studio and standalone sql manager? : sql server management studio

1182


What is a synonym for manipulation?

1044


What is difference between delete & truncate commands?

1138


What are out-of-range errors with date and time literals?

1091


What is right outer join in sql server joins?

1213


What is bookmark link in ssrs?

251


How to make a remote connection in a database?

1019


How to fetch the next row from a cursor with a "fetch" statement?

1109


Explain use of expression builder.

1067


what is isolation level at dead lock?

2207


What is 2nf in normalization?

1052


What are the rules to use the rowguidcol property to define a globally unique identifier column?

1073


Do you know what is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?

1049


How to query multiple tables jointly?

1039


Do you know the policy based administration feature of sql server 2008?

998