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 Userdefined function and
stored procedure? Explain and give the example also

Answer Posted / manoj

1. function always run with select command while stored
procedure execute with execute command

2. function not provide output parameter facility
while stored procedure provide output facility

3. function always execute means it execute more than one
time while store procedure execute only one time

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the dirty pages?

996


How can you fetch alternate records from a table?

952


Is it possible in sql table to have more than one foreign key?

1022


What is dml command?

951


What is command parameter in ssrs?

161


How do I know if localdb is running?

941


What is a cursor, index in sql?

1064


Distinguish between nested subquery and correlated subquery?

1035


What is the difference between lock, block and deadlock? : sql server database administration

1034


Define tool Manage Statistics in SQL Server 2000 query ?

1077


Sql server reporting services vs. Crystal reports.

131


Find columns used in stored procedure?

983


how you can list all the tables in a database?

1020


What is the purpose of sql profiler in sql server? : sql server database administration

1096


List few advantages of stored procedure.

979