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

How to Insert multiple rows with a single insert statement?

1008


What is the Difference Between Primary and Foreign Key?

964


What is stored in the mssqlsystemresource database? : sql server database administration

994


What are the operating modes in which database mirroring runs?

1038


What are the different types of columns types constraints in the sql server?

1021


What is public role in sql server?

1076


what is checksum in sql server.........???

1635


What is the need for indexing?

895


How do I debug a stored procedure in sql server?

1039


Explain what is dbcc?

972


What is the difference between varchar and nvarchar datatypes?

1043


what is normalization? : Sql server database administration

1027


How to create an multi-statement table-valued function?

944


When would you prefer to have a minimum number of indexes?

849


How are the unique and primary key constraints different?

1013