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 a stored procedure and a user
defined function in sql server?

Answer Posted / kumar.t

1. Stored Procedure to return the output parameter.
but function only return single values no output
parameter.

2. Select Clause we cann't use stored procdure. but
fucntion we can use.

3. XMl Clause contain we can use stored procdure. but
function we cann't use.

4. Whenever to execute function at present any error in the
function automatically to exit from the function. but
stored procudure to ignore the error then go to next line.

By
Kumar.T

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a heap?

1034


Write a sql query to delete duplicate records from a table called table1

1037


Once setting replication, is it potential to own a publisher as sixty four bit sql server and distributor or subscribers as a thirty two bit sql server?

1012


What are the transaction properties?

1016


What is a coalesce function?

1195


Do you know spatial data types - geometry and geography in sql server 2008?

1033


What are the types of user defined functions in sql server?

1049


What new changes are being made in SQL Server?

1188


Can we delete data from a view?

924


List down some advantages of sql stored procedure?

966


Where can you add custom error messages to sql server?

1125


Explain transaction server consistency?

976


What are the advantages of mirroring?

995


How to find the service pack installed? : sql server database administration

1023


What is “asynchronous” communication in sql server service broker?

1034