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 / sanjeev bhardwaj

Function:

Function must have a return type.
Function output can be set to the DMLstatement.
User Defined Functions (UDFs) can run an executable file
from SQL SELECT or an action query

Stored Procedure:

Stored Procedure may or may not have a return type.
Stored Procedure output can not st to any DML Statement.
Stored Procedure can run uder Execute command

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 ems sql management studio? : sql server management studio

1114


What is left outer join in sql server joins?

1045


How to truncate the log in sql server 2012? : sql server database administration

1293


Explain microsoft sql server functions?

1118


How you can find out if an index is useful to the optimizer?

941


Define outer join?

1003


How do I view a stored procedure in sql server?

984


What are sql servers used for?

1052


Tell me what are cursors and when they are useful?

956


What is Dependency Injection and provide example?

1122


what's the information that can be stored inside a bit column? : Sql server database administration

1037


Difference between primary key and clustered index?

1013


What are the types of containers in ssis?

1172


Explain raiserror in sql server?

1031


What is data set in report?

136