What are the differences between stored procedure and
functions in SQL Server 2000?

Answer Posted / vampire007

1. Functions can be used inline with a select statement
while sprocs can't.

2. EXEC command can't be used inside a Function where it
can be used inside an sproc.

Is This Answer Correct ?    75 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain different types of backups avaialabe in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

589


can SSRS reports Cache results?

113


Should you normalize audio?

525


What does top operator do?

565


What is buffer cash and log cache in sql server?

593






What is the syntax to execute the sys.dm_db_missing_index_details?

582


Data is not being delivered to subscribers, what can be the possible reasons? : sql server replication

539


What is difference between Datepart() and Datename() in SqlServer?

716


How to Improve the performencs of SQL Server 2005 exclude stored Procedure and Indexes?

1574


What are entities and relationships?

550


How do you delete duplicate rows in sql server?

504


What is a group function explain with an example?

520


Define Joins?

609


How to drop an existing table with "drop table" statements in ms sql server?

550


Differentiate between SQL and ORACLE joins and write their syntax.

587