Difference between a "stored procedure" and a "procedure defined in package

Hi,
Is there any difference between a "stored procedure" and a "procedure defined in package"
thanks in advance

http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_packages.htm#sthref779
Steps
http://www.oracle.com/pls/db102/homepage
http://www.oracle.com/pls/db102/search?word=stored+procedure+package
5th result

Similar Messages

  • Difference between use of IS and AS while creating a Package or Procedure

    Hi,
    Had an interview in one of the company.
    They asked me this, "What is the difference between using IS and AS while creating Package or Stored Procedure ?".
    I checked creating package with same IS and AS, but there is no issues.
    Kindly clarify me on this.
    Lots of thanks in advance.
    Regards,
    Shiva

    >
    Had an interview in one of the company.
    They asked me this, "What is the difference between using IS and AS while creating Package or Stored Procedure ?".
    >
    Quite frankly my first response to them would be: why do you even care?
    That would be quickly followed by: do you have any meaningful questions you would like to ask? Perhaps something that might actually be relevant to what you do here?
    I personally don't care if someone has memorized the syntax required to create DDL/DML. I care whether they know how and when to use it.
    Check the docs for the syntax diagram and from at least 9i on it will be similar to this from 9i
    http://docs.oracle.com/cd/B10501_01/appdev.920/a96624/08_subs.htm
    >
    A procedure is a subprogram that performs a specific action. You write procedures using the syntax:
    [CREATE [OR REPLACE]]
    PROCEDURE procedure_name[(parameter[, parameter]...)]
    [AUTHID {DEFINER | CURRENT_USER}] {IS | AS}
    [PRAGMA AUTONOMOUS_TRANSACTION;]
    [local declarations]
    BEGIN
    executable statements
    [EXCEPTION
    exception handlers]
    END [name];
    >
    Here is the link for 11g
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/create_procedure.htm
    Note that the syntax for some objects requires one or the other and will not accept both.
    >
    CURSOR x IS ...
    TYPE x IS ...
    SUBTYPE x IS ...
    CREATE TABLE x AS subquery
    SELECT x AS "y" FROM z AS "w"
    WITH x AS (SELECT ...

  • What is difference between tax procedure and pricing procedure?

    Dear Gurus,
    Would you please let me know the difference between tax procedure and pricing procedure?
    Why it is necessary to maintain them separately?
    Thanks in advance,
    Ranjan

    Hi
    Tax procedure settings
    OBBG - Assign Country to calculation procedure.
    OBCO - Specify structure for Tax Jurisdiction code. For country like U.S.A.
    LG -> character length of first level of hierarchy within your tax jurisdiction code structure.
    LG -> Second level of hierarchy as above.
    LG -> Third level of hierarchy as above.
    LG -> Fourth level of hierarchy as above.
    TX -> Tick if you want the system to determine taxes on a line by line basis instead of determining them on a cumulative basis
               per tax jurisdiction code.
    OBCP - Define Tax Jurisdiction code
    Dil -> Tick if you do not want tax amounts included in the based amount used for calculating cash discounts.
    Txl -> Tick if you want the cash discount amount deducted from the base amount that is used to calculate taxes.
    FTXP - Define Taxes on Sales/Purchases Code.
    OBCL - Allow Tax codes for non-taxable transactions.
    In MM module, pricing procedure is used during RFQ and PO creation. Total value of material based on all addition and subtraction like discount, surcharge, tax, freight, etc. In this we are defining pricing procedure and linking to vendor and purchase department through the virtual schemas. 
    Following steps for pricing procedure as,
    1. Define conditions.
    2. Define pricing procedure.
    3. Define virtual purchase organization and vendor.
    4. Info Record.
    Regards,
    Raman

  • Difference between Tax Procedure and Pricing Procedure

    What is the major difference between tax procedure and pricing procedure. Can any one explain in detail.

    Procedures are used, for example, in the following applications:
    Pricing in sales and distribution
    Applying overhead in Product Costing (costing sheets) and for CO internal orders
    Calculating accrued costs in Profitability Analysis
    Output control (printed confirmations, EDI messages, electronic mail)
    Account determination
    Calculating taxes on sales/purchases
    Calculating accruals in Cost Center Accounting
    Pricing for resource planning

  • Differences between Roles, Schemas, Users and Logins.

    I need differences between Roles, Schemas, Users and Logins. Can anyone help me. Thanks in advance

    Roles:
    I think of creating roles in the database to group users of like
    function.  Roles are granted certain permissions in the database.  You
    should become familiar with the fixed database roles since these will be
    utilized once you start creating users within the database.  Also, once
    you see the type of permissions that are granted to each role, is makes
    more sense.
    Schema: there can be several schemas in a database,
    which will house different types of objects such as tables, indexes,
    stored procedures, functions,  etc.  Users own schemas.  Looking into
    the AdventureWorks database illustrates this concept, with several
    schemas like HR, Production, etc.
    Login: Think about login as
    gaining access to the SQL Server instance.  If a user account is not
    granted any permissions within the instance, you basically just were
    able to unlock the door and enter the room, by creating a user you then
    grant access to the database objects or principals, and can begin to
    work with them. 
    Users:  Users own schemas, and as such will be
    able to manipulate the objects they own.  Some of the manunipulations
    are very permissive, such as creating tables, indexes, stored
    procedures, functions, etc.  These are developers and administrators.
    Users
    are created and granted permissions for application use, which will
    have select, update, insert, and delete and execute permissions  to a
    finite set of objects in the schema, for which the application will need
    to function properly.
    In a client server database, as an
    example, of the structure.  Roles were defined which provides the
    permissions to the database objects in the database, which only has one
    schema 'dbo'. One SQL server login was created with the same username,
    and dbo is the assigned default schema, and the roles assigned to that
    username. 
    In the application, each specific user is given there own
    "application" login which is mapped to the one defined sql server
    login.
    Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

  • There is a difference between the document total and its components

    Hi!
    I have an error message "There is a difference between the document total and its components" when I want to create an InventoryGenEntry
    the problem arises from time to time and my customer must do the document two or three times before it is created.
    I have seen in this forum and in notes that this is probably being caused by a Rounding.
    I am using 2 digits for amounts, 4 digits for prices, 6 digits for rates and 3 digits for quantities.
    For information my customer use SAP 2005 and the patch level 46.
    This problem happened only in InventoryGenEntry. how can I modifiy parameters to resolve this problem?
    thank you for your help.
    Best Regards
    Séverine

    Hi Séverine,
    Do you find any additional code added to SBO_SP_Transaction stored procedure. A similar issue with stock transfer fixed in later patch. Please test in latest patch.
    Regards,
    Vijay kumar
    SAP Business One Forums Team

  • Difference between Oracle Testing Center and Prometric?

    what is the Difference between Oracle Testing Center and Prometric?

    Notes for an Oracle Testing Center are here:
    [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=51&p_org_id=1001&lang=US#4]
    The cancellation policies are possibly harder than a Standard Testing Center Vendor.
    I would suggest that Oracle Testing Centers possilbly offer exams more on an event or batch basis; (Oracle Openworld is an example; though thats not what one would think of as an Oracle Test Center).
    In general I suspect most people will find it just as easy to take the exam through a prometric(or new testing vendor) center. and there will often typically be more slots available. And the testing center will be typically be examing for other testing suppliers, perhaps mosting microsoft and cisco, but there's a mryiad of others out there as well. So the'll probably be well set up for it.
    Here in the UK (south) we have a fairly (very) dense population. I've used 4 centers myself:
    One 5 miles from me, a college, thats dual Pearson VUE/Prometric; though there only offering Pearson VUE at present until they moved to a bigger suite, with 4 stations. Nice and friendly. 5 days week.
    One 25 miles from me, a training center, that offer dual Pearson VUE/Prometric; 4/8 stations; very friendly, cup of coffe offered; I usually go by Puff Puff to this one.
    One 10 miles from me, maybe a 12 workstation suite, they offer usually prometric (but not oracle) on one a week. Felt Conveyor like compared to other two above; but very friendly and efficient.
    One 35 miles from me, Prometric only including oracle only, maybe a 12 workstation suite, CRT's, and not necessarily of the best quality. This one really felt conveyor like to me, though staff were friendly. This is effectively a drive for me. Also whereas the others I've usd sit one down to sign the forms in a room this one was done at building reception.
    The city center ones can sometimes be a little noisy and earplugs are recommended, though the one city center one I've used has provided them others don't have to.
    In general from once I used a particular center I feel more comfortable; I'll know exactly where it is; where I have have a quick cup of coffee (with sugar) beforehand going over notes. This all helps me to be a little less anxious before the exam. When I get that prepartion wrong, and I certainly did once, if probably cost me maybe 2/3/4 %.
    Getting to know your local test center and routine is one reason why I encourage people to take 1z0-007 and 1z0-051 proctored so they know the procedure and get to know a local Promteric etc Test Center before taking a more advanced and expensive exam.
    Rgds -bigdelboy.
    PS: I expect comments from some people who live 100 (+) miles from a test center and have no alternative choice. And those in some places will probably say they feel they are treated like cattle by the test center.

  • Re: DIfference between Schemas, PCRS' FUnctions and Operations

    Dear SAPExperts,
    Can anybody pls tell me what is difference between Schemas, PCRS' Functions and Operations.
    Thanx in advance
    Regards
    Aniruddha

    Hi Aniruddha
    When the payroll driver is executed (for ex: PC00_M40_CALC for INDIA is executed) the schema IN00 (standard schema) is executed and it calls certain functions (functions may use Rules. Rules contain Operation) and also subschemas.
    Functions could be of four types
    1. Performing some payroll computations (E.g. INEPF function calculates the PF amount of an employee during payroll run)
    2. Calling rules (E.g. P0045 function calls a rule INLN to compute the loan details of a personnel number).
    3. Getting data from Infotypes (E.g. P0581 will get the data from Infotype-581 for payroll processing).
    4. For some decisions. (E.g. IF & ENDIF function is used to execute as per the true and false decisions) etc.
    When the PY is executed SAP uses lot of Internal Tables to store data and also provides data to other internal tables.
    The read and change access to Internal Tables is enabled using functions that are executed in a personnel calculation schema and using operations that are executed in personnel calculation rules.
    The following is just an attempt to provide some info on how Functions are processed during the PY Run. For ex: (functionality of subschema XIN0 and INBD)
    1. INITIALIZATION OF PAYROLL: When the Payroll is executed first the subschema XIN0 is called,   This subschema comprises the following main steps:
    I.     Specify program type (payroll or evaluation)
    II.     Set switch for database updates (YES/NO) all database updates are controlled via this switch (otherwise simulation)
    III.     Only infotypes from the HR master record which apply to the selected personnel number are read.
    IV.     All Time Management infotypes are imported.
    V.     Specify check against control record PA03 (test or live).
    2. READ BASIC DATA: Once the Initialization of Payroll is successful, the subschema INBD is called. This subschema reads the Basic data of an employee who is there in the Payroll execution. Basic Data includes, determining Employee Name, Reading Work Center/Basic Pay Data, Setting Financial Year Dates and Allowance Grouping Tables, Reading Previous Employment Tax Details, Reading Housing (HRA/CLA/COA), Reading Exemptions, Reading Income from Other Sources, Reading Section 80 Deductions, Reading Investment Details (Sec 88), Reading Provident Fund Contributions, Reading Other Statutory Deductions, Reading Car and Conveyance, Reading Long Term Reimbursements, Read ID Details. Function GON checks whether all the master data has been imported, no further processing of schema will occur unless certain data is present.
    The Subschema INBD calls the following functions in order to read the Basic Data:
    ENAME :
    Function ENAME reads the last valid name of the employee in the payroll period. The formatting used for the country in question is used when displaying this name.
    WPBP
    If an employee receives a pay increase within a payroll period, the Basic Pay infotype (0008) is changed and delimited as of a specific date. Two data records exist for one payroll period.
    During payroll, the system writes the Basic Pay wage type to the results table with two different indicators. These split indicators are a link to the WPBP table that contains the relevant values. The system takes into consideration both data records for the corresponding partial periods when calculating remuneration.
    ININI
    P0580
    P0581
    P0582
    P0584
    P0585
    P0586
    P0587
    P0588
    P0583
    P0590
    P185I
    GON :
                    Function GON checks whether all the master data has been imported. No further processing of the schema will occur unless certain data is present. Checking procedures vary from country to country. There must always, however, be a work center (P007).
    [Def. of Functions, Rules and Operations (copied from Raju's answer)
    Schema is a collection of functions
    A Rule is a collection of operations.
    An operation is a very basic piece of logic that is used, mostly, to manipulate wage types
    Best Regards
    Reddy

  • The difference between the upgrades with and without MO?

    I did many upgrades without maintenance optimizer.
    But I did not use maintenance optimizer so far.
    Could you summarize the differences between the upgrades with and without MO?
    Thanks!

    The upgrade is the same, procedure is the same, glitches are the same, tools are the same. The only difference is, that you MUST use maintenance optimizer to confirm the supportpackages in your download basked before you're able to download them.
    Nothing else is changing
    Markus

  • Difference between CON-SU3-3945 and CON-SNT-3945E

    Hi,
    Can somebody explain me the difference between CON-SU3-3945 and CON-SNT-3945E, as far as I am concern that first one is cisco service for IPS and other one is smartnet service for IPS, or CON-SU3-3945 is itself IPS bundle i.e. software IPS and  CON-SNT-3945E is smartnet service for  CON-SU3-3945.
    also kindly share if anybody has the sample config or configuration procedure for  CON-SU3-3945 (If this is an IPS).
    Regards,
    Mukesh       

    Hi Mallardnathan,
    The first answer to your question is, yes, you need purchase two service contracts for each Cisco Small Business product.
    These service contracts CON-SBS-SVC1, CON-SBS-SVC2, CON-SBS-SVC3 include the following:
    Three-year support for Cisco Small Business products
    Unlimited telephone and online chat support with Cisco engineers, 24 hours daily in English, business hours in 12 other languages
    Next-business-day advance hardware replacement in more than 65 countries
    Major and minor software releases
    Online service request tools
    The service contract CON-SBS-SVC3 includes all of the above except instead of Next-business-day hardware replacement, it is same day replacement and it is only available in certain countries.
    A service contract is assigned to each product.  For example, a basic SF100D-08 unmanaged switch will have service contract CON-SBS-SVC1, while the SG500X-48P Stackable Managed Switch will have service contract CON-SBS-SVC3.
    For your two products,  RV180 and SG200-08, you will need to order CON-SBS-SVC2 for each of them.
    Regards,
    Cindy
    Small Business Community Manager
    twitter: https://twitter.com/CiscoSBsupport
    Instagram: http://instagram.com/ciscosmallbiz/

  • What is the difference between generate partner profile and creat partner

    What is the difference between generate partner profile and creat partner profile ?

    Create Partner ProfilesAlthough partner profiles are usually created automatically, because of the unusual inbound and outbound profiles needed on the same system, the manual generation of certain profiles is required.
    The following subsections describe the partner profile settings for the standard client (assumed here to be ALExxxCyyy), as well as for the corresponding dummy client (assumed to be DUMxxxCyyy). The dummy client partner profiles should have been generated by the automatic generation process completed previously. Nevertheless, these should be checked to ensure that all profiles exist.
    Generation of Partner Profiles
    The following messages should be added to the 4xx-ORDR model for ALExxxCyyy to DUMxxxCyyy on the reference client:
    • ORDERS
    • ORDCHG
    • ZINVRV
    • ORDRSP
    • INVOIC
    • FIDCMT
    • The partner profiles should first be generated using the standard auto-generation procedure on the reference client (for SYNCH messages to be created).
    • This model should now be distributed to the both ALExxxCyyy and DUMxxxCyyy.
    • The partner profiles should now be generated on the client being configured (i.e. yyy) using the auto-generation procedure defined in the standard ALE configuration procedures.
    Generate partner profiles for sending system. (Can only do this if at least 1 message type exists against the sending system's LS). This automatically generates the port if the LS and RFC name are the same.
    generate partner profiles tcode BD82
    creating partner profiles tcode WE20
     There are two methods for maintaining the partner profile:
     Maintain partner profile manually:
    To navigate to the partner profile in the sender system, choose Partner profile -> Partner type of Logical System and click on the required Target system. Under Outbound parameters, choose the Create outbound parameters icon, and enter the values for the outbound parameters according to the slide Sender: Partner Profile (outbound).
    To navigate to the partner profile in the sender system, choose Partner profile -> Partner type of Logical System and click on the required Sending system. Under Inbound parameters, choose the Create inbound parameters icon and enter the values for the inbound parameters according to the slide Sender: Partner Profile (inbound).
     Generate partner profile:
    Prerequisite: The current distribution model is distributed to all participating systems.
    In the sender system, choose: Generate Partner Profile, then check the result in the partner profile (outbound)
    In the sender system, choose: Generate Partner Profile, then check the result in the partner profile (inbound)
    Regards
    Vasu

  • What is the difference between Recon. Account and Alternative Recon. Accoun

    hi
    any body please tell me . What is the difference between Recon. Account and Alternative Recon. Account.

    Hello sairama,
    Reconciliation account- For each subledger account , you must keep at least one reconciliation account in the general ledger. When you post to an account in the subledger, the system automatically posts to the corresponding reconciliation account. The "Receivables from goods and services" account is an example of a reconciliation account for customers. Enter Customer in the Reconciliation account for account type field. Enter a Vendor in this field for a vendor reconciliation account. Using the reconciliation account procedure, it is possible to create a balance sheet and a profit and loss statement at any time, since the amounts posted to subledger accounts are also posted automatically in the general ledger.
    During regular reconciliation, you check whether the balance of the reconciliation account matches the balance of the corresponding subledger account.
    You define reconciliation accounts by specifying in the G/L account master record the account type (such as fixed assets, vendor or customer) for which the account is to be used. In this way, the account can only be assigned to accounts in the corresponding subledger. You set the assignment of the subledger account to a reconciliation account in the master record of the subledger account. You cannot post to reconciliation accounts manually .
    ============================================================
    Alternative Reconciliation account- Special G/L transactions are identified by a special G/L indicator. The system uses the specifications (posting key and special G/L indicator) to determine the alternative reconciliation account.
    When you post a special G/L transaction, the system does not post to the normal reconciliation accounts but instead automatically to alternative accounts, that is, special G/L accounts. Consequently, you do not transfer the balances of these accounts either. Instead, the system posts to the appropriate accounts automatically when the open items are transferred.
    Hope I had been able to help you. Please assign points.
    Rgds
    Manish

  • Which difference between a PChar parameter and OCIString parameter ?

    Hello, I have some questions concerning the external procedures under Oracle 9i :
    Which difference between a PChar parameter and OCIString parameter ?
    When does one use PChar?
    When does one use OCISstring?
    In a wrapper, can one declare a parameter with a default value?
    Thanks in advance.
    Laurent Dardenne

    The rows retrieved from the database are filtered, if you define
    a parameter. You can see the parameter conditions getting added
    to the SQL, when you view the sql with sql inspector.
    On the other hand, with the page item, the filtering does not
    take place at the database level but at the discoverer level.

  • Difference between nio-file-manager  and nio-memory-manager

    Hi,
    what's the difference between nio-file-manager and nio-memory-manager? The documentation doesn't really discuss the differences as far as I know. They both use nio to store memory-mapped files don't they? What are the advantages/disadvantages of both?
    When to choose the first one and when the second when storing a large amount of data? Can both be used to query data with the Filter API? Are there size limits on both?
    Best regards
    Jan

    Hi Jan,
    The difference is that one uses a memory mapped file and one uses direct nio memory (as part of the memory allocated by the JVM process) to store the data. Both allow storing cache data off heap making it possible to store more data with a single cache node (JVM) without long GC pauses.
    If you are using a 32 bit JVM, the JVM process will be limited to a total of ~3GB on Windows and 4GB on Linux/Solaris. This includes heap and off heap memory allocation.
    Regarding the size limitations for the nio-file manager Please see the following doc for more information.
    With the release of 3.5 there is now the idea of a Partitioned backing map which helps create larger (up to 8GB of capacity) for nio storage. Please refer to the following doc.
    Both can be used to query data but it should be noted that the indexes will be stored in heap.
    hth,
    -Dave

  • What is the difference between lock mode E and X.

    what is the difference between lock mode E and X.

    Hi
    The lock mode controls whether several users can access data records at the same time. The lock mode can be assigned separately for each table in the lock object. When the lock is set, the corresponding lock entry is stored in the lock table of the system for each table
    Lock modes:
    S (Shared):
        Several users (transactions) can access locked data at the same time in display mode. A request for another shared lock is accepted, even if it comes from another user. An exclusive lock set on an object that already has a shared lock will be rejected.
    E (Exclusive).
    An exclusive lock protects the locked object against all types of locks from other transactions. Only the same lock owner can reset the lock (accumulate).
    X (eXclusive non-cumulative):
      Exclusive locks can be requested several times from the same transaction and are processed successively. In contrast, exclusive but not cumulative locks can be called only once from the same transaction. Each further lock request will be rejected.
    O (Optimistic):
      Optimistic locks initially behave like shared locks and can be converted into exclusive locks.
    If it is helpful rewards points.
    Regards
    Pratap.M

Maybe you are looking for

  • How to install Oracle Developer Suite 10g on Windows 7 (64-bit)

    Hi, I have windows 7 (64-bit) installed on my laptop. I want to install Oracle developer suite 10g R2 on this machine but when I run the Oracle Universal Installer, it gives me error stating "operating system version: must be 5.0, 5.1, 5.2. Actual 6.

  • After update, my firefox reverted to my old and unusable bookmarks leaving me with numerous lost bookmarks. How do I get them back?

    I recently updated my firefox and when I opened it, all of my bookmarks that I've made over the past several updates are gone. My current page shows bookmarks that I have deleted a long time ago or are no longer working. Even bookmarks that I have sa

  • How to Validate.

    After inserting the Process Order and plant range. its show the range of a process order. but when we click on process order it's shows all RESB-MATNR value of all process order(All range). How to validate? Plz help soon. TABLES: aufk, afko, makt, re

  • PLD Issue

    Hi all, I need a variable for Remarks column under outgoing payment transaction & Incoming Payment transaction. As it is showing variable 1 which is not right. and kindly let me know how to check variable no's for these type of fields.. Regards Shash

  • Data Content management in KM

    Hi All,   I would like to know how the following as we are planning to implement this strategey for one of our clients who has huge volume of data to be stored, 1.  Maximum Storage capacity of KM server 2.  Data content management/Data Archiving Rgds