You can have two stored functions with the same name?

Hi all

You can have two stored functions with the same name?

My version of DB - connected to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0

Thank you.

You can have the same name as long as they are within a package and with different parameters

create or replace package test_pkg

as

function my_func (p1 in number)

return number;

function my_func (at number p1, p2)

return number;

end test_pkg;

/

create or replace package body test_pkg

as

function my_func (p1 in number)

Return number

as

Start

return 0;

end;

function my_func (at number p1, p2)

Return number

as

Start

return 0;

end;

end test_pkg;

/

Tags: Database

Similar Questions

  • How can I search all subjects in my guide? and if this is not possible, how do I get books have not not subjects with the same name?

    How can I search all subjects in my guide? and if this is not possible, how do I get books have not not subjects with the same name?

    "People need be able to find these without having to look inside each book TOC.

    Sorry, but I'm not a big fan or user of this sensitive arrangement "New kid on the block. Therefore, it may be that I am simply misunderstanding because I do not regularly use it. Of what you say, it seems to me that if you (or more precisely your users) are not able to click on the right side, where he says 'Getting Started' or 'List of Email Campaign' and see these topics open and view the content with search terms highlighted?

    Regarding the "bookmarks", those that are normally visible by the user and will be not viewable unless the name of the bookmark appears also as text within the topic. Although, if the two are different, you could probably get there by adding the name of the bookmark as a keyword search in the properties of the section.

    In any case, I feel that at this point, I can just be frustrating you and you may need someone else to try to help that probably better understand the issue.

    Sorry, I was not able to help.

    See you soon... Rick

  • I can't save a PDF with the same name

    I can't save pdf files with the same name on the network drive in our society. I have full control over this network drive and can do anything create/read/write/change. Other programs work fine, but not Adobe Reader. I can save a pdf file with a different name, but when I try to save as in XI or replace as in DC had an error: the file is read-only or opened by someone else. Save the document under a different name or in a different folder.

    By the way, Acrobat Pro, I got the same message.

    reader_error.png

    Hi igorp74028164,

    Please provide the exact point of the software & OS installed on your system. Also check if it is there any update available for the software after crossing "" help > check updates "»

    Follow this thread to reset the preferences for the acrobat software. : - How to reset preference settings in Acrobat format.

    Also please check if this file is saved to the network drive or local, if its network on Please save it on local disk & then check. Make sure also that this preview pane must be closed in windows Explorer.

    Kind regards

    Christian

  • WIN OR LOSE ON THE 'GAME OF CHECKERS' YOU CAN'T PLAY ANOTHER GAME WITH THE SAME PERSON. IT IT IS POSSIBLE TO DO?

    PLEASE ANSWER MY QUESTION?  IS IT POSSIBLE TO PLAY ANOTHER GAME OF CHECKERS WITH THE SAME PERSON AFTER YOU HAVE PLAYED AGAINST THEM ONCE?

    Hi charles andrasko,.
     
    If you're talking about Internet ladies, yes you can.
     
    When a game is over, you can replay the same person, or you can play someone else by clicking the game menu, and then clicking on find a new opponent.
     
    Reference:
     
    Ladies of the Internet: how to play

    Kind regards

    Shinmila H - Microsoft Support

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • You can apply two condition tags to the same content?

    We must apply the two condition tags to the same content. A condition tag is for the version of the product (for example, full vs of lite), and the other condition tag is for the output (vs. Administrator's guide online help). Is it possible within the framework to apply two condition tags to this topic? We want a topic to have the full conditions of the Administrator's guide.

    If this is not possible, we can create a condition that is full tag and guide the administrator, but we have thought that we would check to see what is possible. Thank you!

    > So we need to use conditional expressions for this?

    If inclusive - or show, that's what you want, no.

    Otherwise, probably - I have not used cond-exps myself yet.

    Even in FM9/10, it is probably still a good idea to overlap do not conditions. Brainwashed MIF can fix, tho.

  • It is possible to have two tables with the same name in Oracle!

    Oracle Version: 10 gr 2

    MS Access 2007, I had to use the 'Export' by which I copy a table (and its data) to an Oracle schema via an ODBC connection. Later, I realized that, during the copy of tables with a mix of lower and upper case names, the table does not copied (exported). But MS Access will give you the message that table obtained export successfully.

    MS-Access mess around Oracle data dictionary.

    When you issue
    SQL>select * from tab;
    
    TNAME                          TABTYPE  CLUSTERID
    ------------------------------ ------- ----------
    AMStates                       TABLE
    Version                        TABLE
    You will see the names of the tables. But when you try to DESCRIBE or SELECT this table, you will
    SQL>desc Version
    ERROR:
    ORA-04043: object Version does not exist
    You can even create another table with the same name in the schema
    SQL>create table VERSION (X NUMBER);
    
    Table created.
    Why this is happening and how can I bring these items 'non-existent '?

    Hello

    Use

    SQL > desc 'Version '.

    Or

    SQL > select * from 'Version '.

    Or

    SQL > drop table 'Version '.

    To overcome the problems of mixed-case.

  • IMessage Apple Watch has two interviews separated with the same person?

    My new Apple Watch has a problem with iMessage and I know how to fix this on my iPhone but not watch?

    On my iPhone, that my ID apple is connected to more than 10 devices and sometimes when a new device is added, it adds the addresses on my apple for iMessage and FaceTime ID and I always fix by unchecking the addresses that I don't want in the application settings under "Messages" and "FaceTime." However, this isn't the same thing to watch because there is no option in the settings on the Apple Watch and the watch App on my iPhone.

    I would like to help please?

    Hello

    Apple Watch uses the same parameters (for how you can be reached and how new conversations are started) for Messages as your iPhone.

    If you have two interviews separated with the same person, the following steps may help:

    • On your iPhone, check if there is more than one contact form in Contacts of this person (if so, remove duplicates).
    • Delete old Messages conversations with this contact on each of your iPhone and watch:
      • iPhone: app Messages > swipe to the left on a message thread > delete.
      • View: Open the Messages app (from the home screen, which is accessible by pressing the digital Crown) > swipe to the left on a message thread > tap on Trash / delete.
    • On your iPhone in the app Watch: Watch My > general > reset > press reset sync data:
      • You won't see anything happen after pressing it (the process runs in the background, invisible to the user).
      • Leave a minute or two to allow the course ends.
    • Restart your iPhone and your watch (turn the two together off the coast, then restart your iPhone first):
  • VRA unable to create groups of companies with the same name in different tenants with vRO

    vRA 6.2.2 Build - 2754020

    vRO 6.0.1

    Through the vRA GUI I can create groups of companies with the same names in different tenants as follows:

    Tenant1: BusGroup1, BusGroup2, BusGroup3

    Tenant2: BusGroup1, BusGroup2, BusGroup3


    However, to create business groups with the same names in different tenants via the vRO, specifically the workflow plugin Library / vCloud Automation Center / Administration / Business groups / create a group of companies, fails in the second tenant with the below error:


    [42106] the specified condition is not respected for 'name '. (Name of the dynamic Script Module: createBusinessGroup #12)

    If I change the naming convention to be different by tenant, then I have no problem. I thought it might be a restriction in the product, but as said I was able to create with the names of same origin through the user interface.

    Anyone experience the same thing?

    This is a known problem within IaaS API the plugin vRO uses to manage groups of companies through business groups workflows. You don't have the same problem of the vRA UI because the user interface (according to the 6.x) does not use the same API IaaS to manage groups of companies.

    The only alternative to 6.x for now is to directly use the helper generic entity Manager plug-in itself. You can take a look at the first example in example CRUD Infrastructure tasks management Scripts.

    I hope it helps.

    Sergio

  • You can have two printers connected to a computer

    You can have two printers connected to a computer

    Yes you can have
    What is the connection method you use (usb or wireless)
    response with the models of printers

  • If we have 2 remote sites with the same shared storage, can we mount a drive shared on remote site?

    Dear Experts,

    If we have 2 remote sites with the same shared storage, can mount us a drive on remote site?

    • Assume that the oracle database is on the shared disk (for example HP 3PAR)
    • Primary Oracle server with storage as a common drive (storage shared on sites geographical apart) have all the files database.
    • failure, it is possible to mount the drive even at the remote site and mount the database oracle it?

    There must be no effect on the as it should the same disk that has dismantled master site.

    Thank you and best regards,

    IVW

    Thanks a lot mseberg

    Is it a design valid ?

    • We have remote sites and want to set up DR. As we only SE pare data is therefore no choice.
    • We think of the SAN replication option.

    Have you ever seen / configured such architecture or design?

    Can you please throw some light on this. Thanks in advance for your ideas.

    Thank you best regards &,.

    IVW

  • Recommendation req - how two database with the same name can exist on a single server

    Description of the problem: I have a database named 'aaa' (9i db) in production and we need a copy of it to create 'aaa' in the same server with the same name, but an 11g database.

    9i 'aaa' is an exixting database in an AIX 5.3 Server.
    You will need to create a copy of this database 11 g named 'aaa' on the same server. I use the utility exp and imp db, but not sure how far it is recommended to have the same db names in a single server. Not sure about listener etc. problems.

    Any suggestions on this would be appreciated!

    Create this database for a specific application, test and cut classes to prod.

    The goal is admirable.
    The proposed plan makes me shudder.
    V11.2 must be installed on system new/other, IMO; to reduce the risk of wrong operation on the basis of incorrect data.

  • Two objects with the same name

    Hi all

    In my production database, there is a materialized view and a table with the same name. The two objects have the same number and type of columns.

    Record from user_object table

    OBJECT_NAMESUBOBJECT_NAMEOBJECT_IDDATA_OBJECT_IDOBJECT_TYPECREATEDLAST_DDL_TIMETIMESTAMPSTATUSTEMPORARYGENERATEDSECONDARYNAMESPACEEDITION_NAME
    TEST_OBJ151373151373TABLE22/06/201222/06/20122012-06 - 22:15:39:30VALIDNNN1
    TEST_OBJ152287MATERIALIZED VIEW22/06/201208/03/20122012-06 - 22:16:08:46VALIDNNN19

    I have another mode to normal display, TEST_NORMAL_VIEW, which selects the data of TEST_OBJ.

    Then, on which table data select. Please give some input on this subject.

    Kind regards

    Matondo

    A materialized view has 2 objects internally for her

    1. the materialized view (it is more of a model)

    2. the table that stores the actual data.

    So when you create a materialized view, you can see 2 objects created by querying the USER_OBJECTS.

    See this

    SQL> create materialized view my_test_mv as select * from emp;
    
    Materialized view created.
    
    SQL> select object_type, object_name, data_object_id from user_objects where object_name = 'MY_TEST_MV';
    
    OBJECT_TYPE        OBJECT_NAME          DATA_OBJECT_ID
    ------------------- -------------------- --------------
    TABLE              MY_TEST_MV                  1638964
    MATERIALIZED VIEW  MY_TEST_MV
    

    Now, you may notice that DATA_OBJECT_ID has null for the MV. DATA_OBJECT_ID is the Segment where the data is stored. As MV object is just a model and does not have data to null.

    The user has no direct access to the MY_TEST_MV table. See this

    SQL> drop table my_test_mv;
    drop table my_test_mv
               *
    ERROR at line 1:
    ORA-12083: must use DROP MATERIALIZED VIEW to drop "KARTHICK"."MY_TEST_MV"
    

    Also, you can associate an existing table to a materialized using the clause ON TABLE PREDEFINED view.

    Here is an example

    SQL> drop materialized view my_test_mv;
    
    Materialized view dropped.
    
    SQL> create table my_test_mv_new as select * from emp;
    
    Table created.
    
    SQL> select object_type, object_name, data_object_id from user_objects where object_name = 'MY_TEST_MV_NEW';
    
    OBJECT_TYPE         OBJECT_NAME          DATA_OBJECT_ID
    ------------------- -------------------- --------------
    TABLE               MY_TEST_MV_NEW              1638967
    
    SQL> create materialized view my_test_mv_new on prebuilt table as select * from emp;
    
    Materialized view created.
    
    SQL> select object_type, object_name, data_object_id from user_objects where object_name = 'MY_TEST_MV_NEW';
    
    OBJECT_TYPE         OBJECT_NAME          DATA_OBJECT_ID
    ------------------- -------------------- --------------
    TABLE               MY_TEST_MV_NEW              1638967
    MATERIALIZED VIEW   MY_TEST_MV_NEW
    
    SQL>
    

    Once you associate a Table with a MV direct Table access is limited. You can directly access only the MV.

  • Return of the mistake of MUSE: why do we not have several files with the same name?

    Well - I thought I had all this worked and fixed, but I met the download error 'Why do we have several files with the same name' once again.  (I downloaded all the files several times today in order to 1) works the way it worked the last time and 2) get an OAM file that is not loading for some reason any load again and the download takes about an hour to transfer all the files manually.

    To recap:

    (1) an option "Upload only modified files" returns the 'Muse has encountered an error and closes.  Why do we have several files with the same name? "error just as before.

    (2) a full download will work but takes forever and is NOT a substitution for work changed files option.

    Please advise with possible solutions!

    -Dave

    Is it possible to have two .oam different files in different folders on your computer where the .oam files have the same name? I'm theorizing that there may be a bug in the treatment to ensure the folder created for a .oam placed on the server receives a unique name, particularly in the case of a partial update of the site on the server.

    Please send us the .muse file and all the files in .oam related to [email protected] along with a link to this topic for the context so we can attempt to reproduce this error and isolate the root cause. If files are larger than 20 MB, you'll need to use a service such as Adobe send & Track, Dropbox, creative cloud, WeTransfer, etc. file sharing. Thank you.

  • Is it possible to use two different computers with the same adobe - ID and the same adobe license?

    Is it possible to use two different computers with the same adobe - ID and the same adobe license?

    Hi Morten,

    Yes, you can have your subscription or your license installed on two different computers with the same adobe id, however use one at a time.

    Please let us know if you have any questions, more about it.

  • Ran Malwarebytes & two threats were each one with the same name: PUM. Disabled.SecurityCenter. fact that associated with MSSE PUM & the boxes unchecked in MS security Center.

    Original title: PUM. Disabled.SecurityCenter

    I recently removed "patch system" of my Dell computer XP. Malwarebyte s was the only software to do. MSSE caught, but couldn't fix it. I then updated & ran MSSE on my Toshiba - no threats not found. I then ran Malwarebytes & two threats were each one with the same name: PUM. Disabled.SecurityCenter both at the Date of the registry in HKLM\SOFTE\Microsfot\SecurityCenter\AntiVirusDisableNotify & HKLM\SOFTWARE\Microsfot\securityCenterFirewallDisableNotify.  These two have been listed bad: Good (0) (1).  In the Malwarebytes wesite, I read that this has something to do with MSSE. In a commentary, he says it occurs if, in the MS Security Center, the notification "Notify me if my computer might be at risk because of my virus protection software settings" is unchecked.  I then went ahead & check all 3, firewalls, viruses & automatic updates. My computer seems to work well, except that the fan runs all the time (there are a lot of processes running & the CPU usage is very--often 100%, but the computer works fast).

    My questions are: 1) the PUM associated MSSE & the boxes unchecked in MS security Center; (2) should I click on "ignore" in the Malwarebytes scan? 3) was right to check all the boxes in the center of security - "altert me if my computer may be at rist b/c of my xxx software settings?  Thanks in advance for your help.

    PC fan2

    Hello

    (1) is associated with MSSE PUM & the boxes unchecked in MS security Center;

    The following thread might answer this question: http://forums.malwarebytes.org/index.php?showtopic=69859

    (2) should I click on "ignore" in the Malwarebytes scan?

    Yes

    3) was right to check all the boxes in the center of security - "altert me if my computer may be at rist b/c of my xxx software settings?

    Only, run antivirus software at the same time. Firewall must be performed, evil-ware bytes can be run at your pleasure.

Maybe you are looking for