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 does it mean if @@cursor_row returns a negative number?

992


How to check if a table is being used in sql server?

962


What are the different types of Indexes available in SQL Server?

1008


Where sql server user names and passwords are stored in sql server? : sql server database administration

1056


Explain about temporary stored procedure?

1018


Does index slows down insert statements?

999


Explain the different types of backups available in sql server? : sql server database administration

925


what are the types of indexes? : Sql server database administration

1122


What is compression - row-level and page-level compression?

918


you notice that the transaction log on one of your databases is over 4gb the size of the data file is 2mb what could cause this situation, and how can you fix it? : Sql server administration

976


what's the maximum size of a row? : Sql server database administration

1086


What are the different types of lock modes in sql server 2000?

949


Is it safe to delete log files?

919


What is the fastest way to permanently delete a 1 million row table named customers?

1255


What are the diifferences between the ms sql server vs mysql?

1175