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 / jeetu

Function can be used inside the queries but Store procedure never used inside the queries For Example Given below:

select avg(salary) from employee;// allowed here

avg(): is function

Select sp(salary) from employee // Not allowed here

sp(): is stored Procedure

Thanks

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what's the maximum size of a row? : Sql server database administration

1012


How can I change procedure name in sql server?

973


How to get the definition of a stored procedure back?

919


What is indexed view? How to create it?

931


How to connect to a sql server using odbc_connect()?

1094


What is the difference between a check constraint and a rule?

1131


How do you create a clustered index?

998


Can we insert data into view sql server?

883


what is spatial nonclustered index

943


What are the 7 disadvantages to a manual system?

907


Why is replication required on the sql server?

1007


What is left outer join in sql server joins?

969


Is null in sql server?

939


How can I get data from a database on another server?

933


What do you understand by sql server agent?

906