What is difference between function and procedure?
Answer Posted / kamal pratap singh
Difference between Functions and Stored Procedure:
1. Function always return value, but procedure may return
value or not.
2. Function return only one value, but procedure return one
value or more than one value.
3. In Function, we can insert a value through parameter
passing like IN. but in procedure, we can insert value using
IN or get a value using OUT or both insert and get value
through single parameter using INOUT.
4. Function are used to perform computation, but procedures
are used to perform business logic.
5. Function are needed to compile when they are called, but
procedures are compiled only one time, so procedures are no
need to compile again. Because the procedure are in pre
compiled format.
6. Function can be called with SQL query but procedure can
not be used with SQl query.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How would you export a script from one pc to another in qtp?
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
What are the types of properties that quick test learns while recording?
Explain how Selenium is different from UFT?
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
What are the trigger events in qtp?
what is actually contain test report? can anybody post the test report
What are the ordinal identifiers in web page?
What are the views available in quicktest professional?
Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
Diff b/w Health care domain and Banking Domain?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
How to check feasibility of the appliction?in automation testing?