diffrence between function and procedure

Answer Posted / srinivas k

Function should always return a value, where as Store Proc
may or may not return values.
Functions can be part of DML statements, where SP cannot be.
SP are precompiled and functions are not.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to compare the top two records using sql?

769


What does it mean to normalize a database and why would you do it?

532


what is raid? : Sql server database administration

559


what is a self join? Explain it with an example? : Sql server database administration

503


Why I am getting "the microsoft .net framework 2.0 in not installed" message?

516






Do you know what are different types of replication in sql server?

515


Can you import Microsoft Excel data to SSRS?

89


What is the largest component inside a field?

534


What are the different types of backups avaialabe in sql server 2005?

630


Explain about integration services of Microsoft SQL server?

593


Please illustrate physical database architecture? : SQL Server Architecture

538


How does SSIS(Sql Server Integration Services) deffer from DTS(Data Transformation Services)?

601


How to add an address record into adventureworkslt?

574


What do you mean by table and field in sql?

558


Define Joins?

614