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

What is data source object?

559


What is the name of the system variable that returns the number of rows affected by a SQL statement?

574


What is sql or structured query language?

691


How use inner join in sql server?

621


How to include date and time values in sql statements?

636






What is built-in function?

552


How can we rewrite sub-queries into simple select statements or with joins?

532


What are the different types of indexes?

613


what is the difference between writing data to mirrored drives versus raid5 drives. : Sql server administration

544


Explain can you implement data mining in ssrs?

106


How can you start sql server in different modes?

513


what is a sub-report?

96


Explain the difference between delete,drop and truncate in SQL Server?

596


How do I start sql server 2017?

537


What is isolation levels?

574