CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Interview Success Kit - Get Success in Job Interviews Interview Success Kit - 30,000 Interview Que. & Ans.
Covers 30,000+ Interview Questions asked in actual MNC Interviews - all with model answers.

Sponsored Links

Interview Questions
Our Services

INTERVIEW QUESTIONS DATABASE STORED PROCEDURES DETAILS
Question :
what is the difference between stored procedures and stored functions in ORACLE


Category Stored Procedures Interview Questions
Rating (3.0) By 71 users
Added on 8/12/2011
Views 1935
Rate it!


Answers:

Source: CoolInterview.com

Both(functions and Procedures) are the Oracle Objects that work explicitly towards database objects like Tables,Views.

The diff. b/t Stored Procedures and Functions

1) The procedures doesn't return values. whereas the function returns value.

2) The procedures accept more than one argument whereas the functions not.

Source: CoolInterview.com



Source: CoolInterview.com


Diff between Function and Procedure
1)Procedure is used in PLSQL block as a statment whereas Function is used as expression in the PL/SQL block.
2)Function can be used in SQL (with some restriction) but procedure can't.
3)Procedure cann't returns any value but fuction has to return a value.
Source: CoolInterview.com



Posted by: Shailesh Rai

Contact Shailesh Rai Contact Shailesh Rai

Source: CoolInterview.com

Procedure & function both are database object that works explicitly
The main Difference Between Procedure & function is;
1)Function should return a value But procedure may or maynot return value.

2)Function doesn't accept parameter where as procedure accept parameter.
Source: CoolInterview.com



Posted by: pranab kumar mishra

Contact pranab kumar mishra Contact pranab kumar mishra

If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification Enter the above shown code: *
    Inform me about updated answers to this question

    Related Questions
    View Answer
    What are external procedures ? Why and when they are used?

    View Answer
    What is stored procedure?

    View Answer
    What is the difference between stored procedures and stored functions in ORACLE

    View Answer
    What is the difference between "IS" and "AS" while creating procedure. Ex:- create procedure IS or AS

    View Answer

    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL Stored Procedures Interview Questions & Answers

    User Options
    India News Network

    Latest 20 Questions
    What is a Link?
    Who gave the positive aspect of science? a)Alfred Marshall b)A.C. Pigou c)Adam Smith d)Robbins
    Micro economics is concerned with: a)Consumer behaviour b)Product pricing c)Factor pricing d)All of the above
    Which one in the following is not correct? a)There are limited wants b)Means are scarce c)Resources have alternative uses d)Economics is science
    What is the RESTeasy framework?
    What is the Jersey framework?
    What is the Restlet framework?
    What is WADL?
    What is the difference between SOAP and other remote access techniques?
    What is the wsgen tool?
    What is the wsimport tool?
    What is encoding rules for header entries?
    What are 2 styles web service?s endpoint by using JAX-WS?
    What does SOAP encodingStyle attribute defines?
    What is the SOAP encoding?
    What is a SOAP envelope element?
    What is XOP?
    What is MTOM?
    What is JAXB?
    What is JAX-WS?



    Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

    Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

    MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
    MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

    GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

    IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
    IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

    SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
    SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |




    Copyright ©2003-2016 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions



    Cache = 7.902344 Seconds