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 are the differences between stored procedure and
functions in SQL Server 2000?

Answer Posted / vijayabhaskarreddy

there are 3 main differences between sp and function.
1 sp takes input,output parameters, function takes only
input parameters.
2 temparary variables required to store return values of
sp. in functions temparary variables will be optinale.
3 sp can not be called directly into DML statements ,
functions can be called directly into DML statements.

Is This Answer Correct ?    64 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Create a dts package to produce a text file using the ‘update statistics’ command for the tables in a database with obsolete statistics.

1023


When to use null data driven subscription?

204


Which autogrowth database setting is good?

1048


Explain the difference between cross join and full outer join?

972


What is difference statement and preparedstatement?

972


What is attribute? : sql server analysis services, ssas

1012


How to list all stored procedures in the current database using ms sql server?

1119


Why truncate is ddl?

1076


Does group by sort data?

887


Why main is user defined function?

1003


What are “lock” hints?

1050


How to delete multiple rows with one delete statement in ms sql server?

991


What are views used for?

1008


Explain sql server service broker?

967


What are some of the pros and cons of not dropping the sql server builtinadministrators group? : sql server security

969