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

How to use column default values in insert statements in ms sql server?

1097


Explain what are various ways to enhance the ssrs report?

1097


How to compare the top two records using sql?

1409


What is the Control Flow in SSIS

1144


explain extended properties

1036


Explain what are the database objects? : SQL Server Architecture

1142


What is logshipping and its purpose?

1065


How can you hide the sql server instances?

1066


What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?

1042


What is unique key constraint?

1117


Does union all remove duplicates?

1123


tell me what is blocking and how would you troubleshoot it? : Sql server database administration

941


How do you rename a table in sql server?

1098


Explain difference between cross join and full outer join?

1064


Why can there be only one clustered index and not more than one?

1040