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...

Differnce between Stored procedure and user defined functions?

Answer Posted / ranjanimanuel

1.UDF can't use a nondeterministic functions such as Getdate
(),RAND() where as StoreProcedure cn use such a functions.
2.UDF must return a value or a single resultset . Store
Procedure can return a value or even multiple resultsets,
but doesn't have to
3. UDF can be used in anywhere sql statements like
where/having/Select sections where as store procedure
cannot be.
4.UDFs that return table can be treated as another rowset.
This can be used in JOINS with other table

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between dataset and datatable?

1186


What are the benefits of ADO.NET?

1122


What are the usages of the command object in ado.net?

1024


What are basic methods of dataadapter?

978


Explain the architecture of ado.net?

1070


Describe the disconnected architecture of ADO.NET’s data access model.

1065


How to creating a SqlCommand Object?

1149


How do you update database through dataset?

992


What are the features of ado.net?

1046


What are the methods of XML dataset object?

1028


What is ado.net code?

938


What are the advantages of ado.net?

915


What is the difference between dataset and datatable?

1016


Explain the differences between oledb sql server, oledbdotnet provider?

1017


What is execute reader in ado.net?

968