what is the diff between Procedure and function

Answers were Sorted based on User's Feedback

what is the diff between Procedure and function..

Answer / nath .t

Procedure doesn't return any value.
Function return only one value.

Is This Answer Correct ?    5 Yes 1 No

what is the diff between Procedure and function..

Answer / denish

procedures may are may not return the value,
function must return the value,
procedurs and function can call other functions, but
it doesn't call procedures

Is This Answer Correct ?    1 Yes 1 No

what is the diff between Procedure and function..

Answer / jigs

Procedure return more than one values.
function return only one value.

procedure is a complied code stored in database
function are called at compile time.

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More QTP Interview Questions

What the genaric function to connect Sql Server using Sql Server Authentication and Windows Authentication

1 Answers  

can any body tell me all of the release dates of QTP?????..... thanks in adv!

3 Answers  

Which property do you use to retrieve or assign data into a cell in a Data Table object?

1 Answers  

What all challenges you have faced during automation and how you have resolved it?

2 Answers   Genpact,

How can i select multiple values from drop down list using vb script in qtp? and wt is the script for clicking msg box box automatically with a specific time. Thanks in advance...Kalyani.

2 Answers   Accenture, CSC,

This is Ajay i have few douts if anybody know pls give me reply. 1. i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording

3 Answers   Symantic Space,

Hi All. Can you please explaing what is checkpoint? How it Will Work? what is meaning of "check checkpoint ("proprtname").how it will compate with expected value? Thanks in Advance............... Lakshmi

3 Answers   TCS, ITC Infotech,

How do you data drive an external spreadsheet?

1 Answers  

How can I find out whether a word in a string is existed or not for example "QTP IS A POWERFULL TOOL FOR AUTOMATION" How can i find out whether "powerfull" is existed in the above string or not Could anyone answer it?

7 Answers   Livetek,

How to Import data from a ".xls" file to Data table during Runtime.

1 Answers  

In an application you have a web table. You are provided with an external Excel sheet with the same structure as that of the web table. How will you retrieve all data from the web table and compare it with corresponding data available in the excel sheet, using QTP? How will you report the results in QTP?

1 Answers  

regular expression

2 Answers   Wipro,