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
what's the maximum size of a row? : Sql server database administration
How can I change procedure name in sql server?
How to get the definition of a stored procedure back?
What is indexed view? How to create it?
How to connect to a sql server using odbc_connect()?
What is the difference between a check constraint and a rule?
How do you create a clustered index?
Can we insert data into view sql server?
what is spatial nonclustered index
What are the 7 disadvantages to a manual system?
Why is replication required on the sql server?
What is left outer join in sql server joins?
Is null in sql server?
How can I get data from a database on another server?
What do you understand by sql server agent?