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

How do you test your database? : sql server database administration

1060


How to use the inserted and deleted pseudo tables?

998


Mention the command used to rename the database.

1048


What is Extended user-defined?

1025


What happens if date-only values are provided as date and time literals?

1072


What is @@rowcount in sql?

1054


What is tabulation?

1010


How we create SQL Server 2005 Reporting Services ? Give me Sample

2040


What is the difference between resultset and resultsetmetadata?

1028


What is a transaction and why is it important?

1158


Your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files?

1249


What are the requirements for sql server 2016?

925


What are the new features are introduced in sql server 2012 reporting services?

160


Does a full backup include transaction log?

1043


What are partitioned views and distributed partitioned views?

1061