What is difference between function and procedure?

Answer Posted / nafaji

1. Function can return only one value but procedure can return more than one, or may not return any value.

2. Function can be called from sql statements where as procedure cannot be called from the sql statements.

3. We can use functions in select statement but we can not use procedure in select statement.

Is This Answer Correct ?    10 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi, how can we check or avoid the memory leakage in QTP9.2?

1710


What ate the Technologies supported by QTP?

648


What is test object model in quicktest professional (qtp)?

551


what is review

1616


whow much strong on VB and C?

1488






How many add-ins comes by default with qtp?

547


How you will rate urself in QTP in the range of 0 to 5

1750


How to customize qtp?

614


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

621


Explain the concept of object repository and how quicktest professional recognises objects?

560


What is the parameterization?

581


How many types of run modes are there in qtp?

590


Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!

1756


What is the difference between Keyword Driven test and Data Driven test?

1775


How many types of recording modes in qtp? Describe each type with an example where we use them?

619