Difference between Function and Procedure-in general?

Answer Posted / sudhindra

A Function is always returns a value using the return
statement. A Procedure may return one or more values
through parameters or may not return at all.

Is This Answer Correct ?    28 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we check locks in database? If so, how can we do this lock check?

519


Once setting replication, can you have distributor on sql server 2005, publisher of sql server 2008?

582


Describe different Processing Modes offered by SSRS?

164


You want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition?

528


What is policy management?

575






How each E-R model constructs can be mapped to the relational model?

547


Does sql server use t sql?

513


How would you use user_constraints table in DB?

581


What is sql server profiler trace data file?

575


Why use view instead of a table?

510


Differentiate between SQL and ORACLE joins and write their syntax.

579


What is @@error in sql?

616


what is a live lock? : Sql server database administration

484


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

520


What is the difference between stored procedure and user defined functions?

613