What is difference between function and procedure?
Answer Posted / sudipta kumar dhal
1.Function is a subprogram that returns a value.
2.Procedure is a subprogram that performs a specific action.
3. Function can return only one value but procedure can return
more than one, or may not return any value.
4. Function can be called from sql statements where as
procedure cannot be called from the sql statements.
5. We can use functions in select statement but we can not use
procedure in select
6.You can have DML(insert,update, delete) statements in a
function.
7.You can have DDL(create,alter,drop) statements in a
procedure.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how to write xml output check point bu useing descriptive programing .means without useing output check point
When Recovery scenario actually starts while testing the application?
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
wht type of User defined functions or Java Releated functions Do we write in VB scripting
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
what is the difference between IE & Netscape in web testing on a log in page
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?
1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)
Explain quicktest professional testing process?
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
Discuss the QTP Environment?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!