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

List the different types of joins?

969


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

1022


How to create hyperlink from returned sql query ?

1116


What are partitioned views and distributed partitioned views?

1015


What are the types of resultset?

959


Explain a differential backup?

1001


What are the properties of sub-query?

1063


How to backup SQL Server Reporting Services ?

148


Why do you want to join software field as you have done your BE in Electronics?

2137


Which are the third-party tools used in sql server and why would you use them?

892


How to retrieve error messages using mssql_get_last_message()?

1037


If we delete pack Spec what will be the status of pack Body ?

1469


Do you know what is openxml in sql server?

1063


How to execute function in stored procedure sql server?

1138


Explain about extended stored procedure?

923