Difference between Function and Stored Procedure?
Answer Posted / arvind kumar
1-Function can not return the value but store procedure
return value
2-Store procedure is pree-compile statement but function is
not pree-compile satement.
3 function fallowed by select statement but store procedure
fallowed select, insert,update statement.
| Is This Answer Correct ? | 2 Yes | 40 No |
Post New Answer View All Answers
What is a with(nolock)?
What are user-defined functions (udfs) in sql server?
How to use the inserted and deleted pseudo tables?
What is single-user mode and what are the steps you should follow to start sql server in single-user mode?
How to create a new login name in ms sql server?
How can you find out which stored procedures are recompiling?
Suppose you want to implement the many-to-many relationships while designing tables. How would you do it?
Tell me what do you understand by a view? What does the with check option clause for a view do?
What is the difference between ‘having’ clause and a ‘where’ clause?
Explain the difference between clustered and non-clustered index?
How can delete duplicate records in cte in sql server?
How many types of functions are there in sql server?
Why use “nolock” in sql server?
Explain primary key?
what is spatial nonclustered index