Difference between Function and Stored Procedure?

Answer Posted / sreyasmn

1. Function must returned a value,but stored procedure is
not necessorly returned value

2. A function can be used to calculations,but sp used to
solve a business logic

Is This Answer Correct ?    36 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is clustered index

567


Where do we use trace frag?

568


What are secondary xml indexes?

562


Why are sql functions used?

616


How can windows applications connect to sql servers via odbc?

582






What are policy management terms?

556


Why use identity in sql server?

558


How to add more data to the testing table in ms sql server?

547


Issues related in upgrading SQL Server 2000 to 2005 / 2008

1499


Explain what is dbcc?

593


Explain syntax for viewing trigger?

539


How to create a new table in a given schema?

656


Explain what is lock escalation and what is its purpose?

511


How to rebuild master databse?

661


What does sql server mean?

534