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 / anil sharma

Userdefined function can used in select statement.

It must return a values but in store procedure it is
optional.

Store procedure can use using sqlparameter but in
userdefined function it is not used.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is store procedure?

1040


What are the different types of locks in the database?

909


How do I view a stored procedure in sql server query?

911


How do I determine how many instances of sql server are installed on a computer?

982


What is a scheduled job or what is a scheduled task?

943


What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors?

1158


Is candidate a key?

930


Describe how to use the linked server?

1124


Which is the main third-party tool used in sql server?

924


What is lock escalation and what is its purpose?

962


What is the use of for clause?

1089


Explain the Ways to improve the performance of a sql azure database?

82


What is the difference between functions and stored procedures?

1135


What is the purpose of self join?

951


How to modify an existing stored procedure in ms sql server?

1057