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 is difference between commit and rollback when used in transactions?
I have all the primary data files, secondary data files as well as logs. Now, tell me can I still restore the database without having a full backup? : sql server database administration
What is format parameter in ssrs?
How to select some specific columns from a table in a query in ms sql server?
Is sql different from sql server?
What is a transactions?
Define cursor locking
Which data type columns are the best candidates for full-text indexing?
What is single-user mode and what are the steps you should follow to start sql server in single-user mode?
Explain error and transaction handling in sql server?
What is optimization and its types?
What is the difference between upgrade and migration in sql server?
How to drop existing indexes in ms sql server?
What is isnull() operator?
How to disable triggers using "disable trigger"?