what is the difference between procedure and function.

Answer Posted / hitesh

1.Procedure can call a function but Function cannot call
the function.
2.Procedure may or may not return the value but function
must return a scalar value.
3.Procedure can have any statements and function can have
only select like thing

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What xml support does the sql server extend?

724


Do you know what is raid and what are different types of raid configurations? : SQL Server Architecture

732


How many cores do I need for sql server 2016?

670


How many primary keys are possible in a table?

680


what is the Ticketing tool used in Wipro technologies at Bangalore...???

7811






What is log shipping? Can we do logshipping with SQL Server 7.0 - Logshipping is a new feature of SQL Server 2000. We should have two SQL Server - Enterprise Editions. From Enterprise Manager we can configure the logshipping. In logshipping the transactional log file from one server is automatically updated into the backup database on the other server. If one server fails, the other server will have the same db and we can use this as the DR (disaster recovery) plan.

2534


What is transaction server explicit transaction?

747


Differentiate between truncate vs delete in mssql?

684


How do I get to sql server configuration manager?

695


What are the different types of replication you can set up in sql server?

716


Do you know what guidelines should be followed to help minimize deadlocks?

721


What is PROJECTION Operation?

767


What is the difference between left and right outer join?

709


how can you select rexcord(rows) from table A which is not present in Table B . Id being the FK in Table B referencing to ID Table A

1416


Explain about Joins?

764