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.
Get Your Dream Job Now - www.vyoms.com
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 1925
Rate it!
Answers:

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.




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.



Posted by: Shailesh Rai

Contact Shailesh Rai Contact Shailesh Rai

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.



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
    Latest 20 Questions
    What are the objectives of advertising?
    Explain the elements of promotion mix.
    What is promotion?
    Explain the different distribution channels under indirect channel.
    What is the role of Financial Markets in an economy?
    What is zero level channel?
    State the types Financial Markets?
    What do you mean by channel of distribution and state the important channels of distribution.
    What is physical distribution?
    What is place or distribution mix?
    What are Depository Services?
    What is price differentiation?
    What is Demat Account?
    What is product differentiation?
    What is the advantage of online trading on a Stock Exchange?
    What are the external factors affecting pricing?
    List the internal factors affecting pricing decisions.
    Define pricing.
    What is price?
    Explain the meaning of home delivery.



    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 = 0 Seconds