What are the differences between stored procedure and
functions in SQL Server 2000?
Answer Posted / vijayabhaskarreddy
there are 3 main differences between sp and function.
1 sp takes input,output parameters, function takes only
input parameters.
2 temparary variables required to store return values of
sp. in functions temparary variables will be optinale.
3 sp can not be called directly into DML statements ,
functions can be called directly into DML statements.
| Is This Answer Correct ? | 64 Yes | 19 No |
Post New Answer View All Answers
how you can get the list of largest tables in a database? : Sql server administration
Can we call future method from queueable?
Where does the copy job runs in the log shipping primary or secondary? : sql server database administration
Types of Authentications in Sql Server? How user gets authenticated through windows authentication?
Hi all, can any one please tell me the difference between sql server 2008 and orace 9i
How to provide values to stored procedure parameters in ms sql server?
How do you implement session management in SQL Server mode?
Can sql servers linked to other servers like oracle?
What happens if null values are involved in string operations?
When to use Inner join & when to use subquery?
What are the steps you will take to improve the performance of a poor performing query?
What is an index in sql?
what are candidate key, alternate key and composite key? : Sql server database administration
What is the current limitation of the size of SQL Azure DB?
After removing a table from database, what other related objects have to be dropped explicitly?