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

It is a SQL question. Write a query to find top three salaries in an EMP TABLE?

7 Answers  


What is the syntax for how to call one script from another?

1 Answers  


what's the difference in between function and sub and give some code as well

3 Answers   Patni,


How many ways we can parameterize data in quicktest professional (qtp)?

1 Answers  


can u explain relative path architecture framework in qtp?

1 Answers   Mindlance,


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1 Answers   HCL,


I have a web table,in that web table in 3rd row 4th coloumn i have a link how to click it with descriptive programming? I have a webedit without entering any value how to calculate the size of that field? I have a DB table , how to find the 5th highest salary? write query.

2 Answers   3i Infotech,


Can you write User defined function for WebEdit ? Note1: This function can be used for all web edits in all pages Note2: Don't use Child objects method

1 Answers   IBM,


when i try to recognise a winmenu item it does not allow me to do that but recognises it as window..i am using qtp 9.2 could someone help with this

3 Answers  


LINUX environment supports QTP or not? LINUX environment supports QC or not?

4 Answers  


I used Child objects to get the count of the no of weblist present in the page.now i need to select the item in the weblist..Please send me full code

1 Answers  


how we connect oracle or sql data server database to qtp. Hi Ram I was your answer for this. Can you kindly let me know in details steps on How we can connect to database. i am using QTP9.2 and SQL Server Database. I am new for QTP and this would be of great help.Thanks

2 Answers  


Categories