Global_names parameter.  True or false?

Hello,
One of my projects has a live database and a test database, where both have been set up through the DBCA in exactly the same way. I have set up a remote database link for each one successfully.
Only question is one of them i have set the global_names parameter to true and it works fine, while the other database the remote database link would only work when the global_names parameter was set to false. This was after i attempted to create the database link with the same name as the target database.
Can anyone throw any light on why this is the case please?
Thanks in advance

GLOBAL_NAMES specifies whether a database link is required to have the same name as the database to which it connects. If the value of GLOBAL_NAMES is FALSE, then no check is performed. Oracle recommends setting this parameter to TRUE to ensure the use of consistent naming conventions for databases and links.

Similar Messages

  • ORA-02069: global_names parameter must be set to TRUE for this operation

    I have 10g database and a schema 'TMAPP'
    And I have two table in TMAPP as
    create table user_menu_privs
    company_code           varchar2(5),
    bu_code      varchar2(12),
    user_group      varchar2(30),
    user_group_type      varchar2(1),
    menu_option_code number(5),
    enabled varchar2(1),
    query_only varchar2(1),
    default_lang varchar2(3),
    created_by      varchar2(10),
    created_on      date,
    updated_by      varchar2(10),
    updated_on      date,
    constraint pk_user_menu_privs primary key (company_code,bu_code,user_group,user_group_type,menu_option_code),
    constraint fk_user_menu_privs foreign key (company_code,bu_code,user_group,user_group_type)
    references user_group(company_code,bu_code,user_group,user_group_type)
    create table user_dst
    company_code           varchar2(5),
    bu_code      varchar2(12),
    userid varchar2(10),
    user_group      varchar2(30) ,
    user_group_type      varchar2(1) ,
    font_size      number(2) ,
    font_name      varchar2(100) ,
    address_id number(10),
    created_by      varchar2(10),
    created_on      date,
    updated_by      varchar2(10),
    updated_on      date,
    constraint pk_user_dst primary key (company_code,bu_code,userid,user_group,user_group_type),
    constraint fk_user_dst foreign key (company_code,bu_code,user_group,user_group_type)
    references user_group(company_code,bu_code,user_group,user_group_type)
    I have another database 11g with a schema TMAPP.
    Here I have created a database link 'to_dev' is connecting to the 10g db
    using this I can connect and see the data from 10g TMAPP
    I have created two views
    create or replace view user_menu_privs as
    select *
    from user_menu_privs@to_dev
    where user_group in
    (select user_group from user_dst
    where user_group_type='F');
    create or replace view user_dst as
    select * from user_dst@to_dev;
    and I executed
    delete from user_menu_privs
    where menu_option_code=108;
    I am getting the error
    ORA-02069: global_names parameter must be set to TRUE for this operation
    after that I set the global_names in 11g as TRUE
    then I am getting another error as
    ORA-02085: database link TO_DEV connects to DEV.REGRESS.RDBMS.DEV.US.ORACLE.COM -- that means link is not wokring
    Please help
    Dennis
    Edited by: DJ on Mar 13, 2012 5:49 AM
    Edited by: DJ on Mar 13, 2012 5:51 AM
    Edited by: DJ on Mar 13, 2012 5:53 AM
    Edited by: DJ on Mar 13, 2012 5:55 AM
    Edited by: DJ on Mar 13, 2012 5:56 AM

    OP wrote
    >
    But you said
    create a database link in 11g database with 11g database global name and put 11g database global_name=true.
    and put 10g database golba_name=false;
    >
    That isn't what I said at all. Reread my first reply. The first part is a copy of what you had stated.
    >
    ORA-02069: global_names parameter must be set to TRUE for this operation
    after that I set the global_names in 11g as TRUE
    >
    And then I said
    >
    That is because when global_names is TRUE, the database link name MUST be same as the global db name of the database to which the link connects to.
    You need to drop the database link and recreate it using the global name of the database it connects to.
    'link name MUST be same as the global db name of the database to which the link connects to.' - I didn't say 11g.
    And I didn't say 'put 11g database global_name=true' because you had already done that! 'after that I set the global_names in 11g as TRUE.
    1. 11g - global_names MUST be TRUE
    2. 11g - database link name MUST be the same as the global db name of the database to which the link connects to - 10g global db name
    3. 10g - gloibal_names setting is irrelevant

  • Parameter Query for True or False values

    I have what seems like a painfully simple task and it has me stopped dead.  I reviewed a similar thread, and the answers there don't seem to apply. Working in Crystal 11.5 with an MS SQL database.
    I am pulling data from vwCommmittees.  There is a field in this view called IsActive.  I want to create a committee list report that will allow the user to select only the active committees or all committees.
    A SQL select statement that says where dbo.IsActive = '1' will return only the active committees.
    In Crystal reports, if I place the IsActive field on the report, it returns with "True" or "False."
    When I create a parameter for this field, I find that 1) I can't see the parameter in the report expert -- my only choices are Is any value, Is true, Is false or Formula.
    I've made several attempts to create a formula and nothing is working. It's not clear to me wheter I should be creating a static or a dynamic parameter.  When I choose boolean as the type, that doesn't seem to help.  I tried a dynamic parameter which gave me true and false values, but don't seem to work.
    Any pointers on dealing with this kind of parameter query would be greatly appreciated.
    Sincerely,
    Ridge (in New Joisey)

    Hi..
    Create a static parameter and give the default values like
    0 and 1
    In Record Selection check like..dbo.IsActive = {?parameter}
    If the above is not working for you, then create a formula
    like..
    If dbo.IsActive = '1' then
    "Active"
    Else "In Active"
    Place this formula on your report and create a static parameter with default values Active and In Active.
    In record selection filter the above.
    Thanks,
    Sastry

  • Last parameter in the raise_application_error  (true or false)

    Hi everyone,
    I have a question reagrding the last parameter in the raise_application_error clause.
    The last parameter says
    true: purge error stack
    false: do not purge error stack.
    I raised an exception and captured it with both parameters.
    In the case of false(do not purge previous errors) I could see the exect error no and msg (like No data found).
    But in the case of true (purge previous errors) i got an exception, but not the exact error msg.
    Is this the difference.
    In the case of true, it should purge previous errors, why is it purging the most recent error also.
    Is there anything more to true and false. Please highlight.
    And is there a way i can see the error stack.
    I am so keen to see that.
    It always says error is placed on the stack of previous errors.
    I want to see the previous errors.
    Can I.
    Any ideas.
    meenakshi

    See:
    http://www.oracle.com/technetwork/issue-archive/2005/05-mar/o25plsql-093886.html
    DBMS_UTILITY.FORMAT_ERROR_BACKTRACE

  • How to modify the parameter csi/enable      from TRUE  to false

    i install ce7.1 ,and i can visit the http://myip:50000/sap/admin/public/index.html ,in the page ,i just want to
    change the Content Filter settings
    csi/enable     TRUE 
    modify TRUE  to false ,how to change the parameters
    thanks

    Hi ,
    Set the profile parameter csi/enable to the value 0 in transaction RZ11. You can also use prefixes to filter individual paths (for example, if users enter data there) or exclude individual paths from filtering (for example, is users cannot enter any data there). This value is immediately active and you should therefore use this method.
    Also please check below link may help you out for your query in better way::
    http://help.sap.com/saphelp_nw04s/helpdata/en/37/676642991c1053e10000000a155106/frameset.htm
    Thanks..
    Mohit

  • Global_names parameter in pfile

    please say to me ,what is this parameter.
    if i change its value from 'true' to 'false' , what will be happen where.

    GLOBAL_NAMES parameter enforces that a dblink has same name as the db it connects to.
    please say to me ,what is this parameter.
    if i change its value from 'true' to 'false' , what will be happen where.

  • SharedObject.getRemote secure true or false?

    Hello,
    I've been looking for answers to a problem that we are having in my project and it has been imposible to find something clear.
    Actually we have a Flash movie which is connecting to a Flash Media Server to record audio.
    We were using this
    rec_so = SharedObject.getRemote("recordings", conection.uri, true);
    to get the instance and then
    rec_so.connect(conection);
    to connect.
    We were having no problems and we  have been around 4 years working like this. From a week ago more or less this connection is not working, I tried to change the parameter "secure" to false:
    rec_so = SharedObject.getRemote("recordings", conection.uri, false);
    and then it worked.
    I took a look and this parameter theoretically should be used for SWFs under HTTPS connection, what is curious is that we haven't had HTTPs connection never, maybe the fact to use this parameter was not correct at the beginning and I was wondering why it was working before and why is not working now?
    Thank you very much for your help and greetings,

    the 3rd parameter is a persistance parameter, not the secure parameter (which is 4th and defaults to false).
    persistence:Object [optional] — Specifies whether the attributes of the shared object’s data property are persistent locally,       remotely, or both. May specify where the shared object will be stored locally. Acceptable values are:      
    null or false specifies that the shared object is not persistent on the client or server; the default      
    true specifies that the shared object is persistent only on the server      
    full or partial local path to the shared object indicates that the shared object is persistent on       the client and the server. On the client, it is stored in the specified path. On the server, it is stored in a subdirectory within the Flash Media Server applications directory. For more information, see the Flash Media Server documentation.      

  • Display Yes / No instead of True or false for radio buttons in SSRS 2008R2

    Hi All,
    I have one report with two radio buttons as parameters. In the report display I see True / false beside the radio buttons. Is there a way where I can display it as
    YES instead of True and NO for False beside radio buttons?
    Thanks,
    RH
    sql

    Hi sql9,
    According to your description, you want to show "Yes" and "No" in Boolean parameter instead of "True" and "False". Right?
    In Reporting Services, it doesn't has any property for the text of radio button in a Boolean parameter. So we can't modify the "True" and "False" into "Yes" and "No". For your requirement, a workaround is changing the type into drop down
    list and put the "Yes" and "No" into values.
    Reference:
    SSRS boolean
    parameter Yes and NO instead of True and False in prompt area
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • True Or False Game

    Hi all
    A total newbie to director and need some help as i'm really
    stuck,
    For part of my college work I am trying doing a True or False
    game based on 10 questions but unsure how to script this, what game
    involves is when a question has been answered correctly the user is
    sent to a marker named "Right", showing an animation telling them
    they have answered it correctly, if they have answered the question
    incorrectly they get sent to another marker named "Wrong" again
    showing an animation telling them they have answered incorrectly.
    The way I have decided to do this is by importing the
    questions from text file that hold 10 question, the current script
    i have for Director to load the questions is.....
    on mouseUp me
    openAndReadText
    end
    but wanting to randomize them.
    I also have 2 buttons named True and False, and because 5
    questions are true and 5 are false, the only code i have so far in
    different scripts is
    on startMovie
    Answer
    end
    on Answer
    global gQuestions
    gQuestions = True
    end
    global gQuestions
    on mouseUp me
    if gQuestions = True then
    go to "Right"
    else
    go to "Wrong"
    end if
    end
    and dont know what code i needs to be added to determine
    which correct answer goes to the correct marker
    Thanks ifor any help in advance
    Chris

    Consider the low tech aproach.
    If you don't have a big library of questions that have to be
    imported
    dynamically, I would suggest going with a less programatic
    intensive
    approach, in which each question is contained in a predefined
    text
    member displayed in a separate score marker.
    Again the simplest least programatic approach would have the
    actions for
    the True False answer buttons assigned separately for each
    individual
    question, that is in question number 3 you might have the
    True button go
    to the wrong marker.
    You could avoid writing any lingo code by using the navigate
    to marker
    behavior from the library palette to access a marker from a
    series you
    already have setup in the score.
    A hard coded series of markers might look like:
    question1
    right1
    wrong1
    question2
    right2
    wrong2
    question3
    right3
    wrong3
    They would all show up in the parameter popup menu in the
    behavior.
    A score script at the start of the right wrong markers could
    increment
    the global question tally
    on exitFrame
    global rightCount, totalCount
    totalCount = totalCount + 1
    rightCount = rightCount + 1 -- this line is only in the righ
    marker
    script
    end

  • Applescript help with true or false script

    I'm in need of a applescript that will run two different scripts based on the outcome of an existing file.
    I have a folder called Status. Inside this folder is a simple text file called Good.rtf
    I would like a script that would run one or the other script base on the true or false output.  If file exists then:
    true will
    run script A
    false will
    run script B
    I have been searching the web for two days looking for something to help me get started on this and have not had much success.
    Please help me.   I really would appropriate any help or guidance. 
    Thanks....
    Ron

    Ron
    AppleScript calls this kind of script a "Conditional" = if this > then that
    Some templates are in MacintoshHD/Library/Scripts/Script Editor Scripts/Conditionals
    You don't need a value for "false" in binary as it is merely "not true" (else)
    if true then
        -- insert if actions here
    else
        -- insert else actions here
    end if
    If you already have your Scripts A & B working, copy>pastethem into the "insert actions here" part as appropriate
    ÇÇÇ

  • The case structure is not working well on comaring two strings using true or false string matching VI

    I need an execution of commands after the reply from the instrument matches with the string I provided for that i used true or false string match VI on which the true string the matching command and the string is the reply from the instrument. And I put the further executionable commands in frame after frame of sequence loop in the true of the case structure. Amd finally I given all the output strings to the concatenate string to get all the replies as one loop. But when I execute the program the desired result is not available. So kindly please help me to overcome this problem.  
    Attachments:
    basic serial with changes.vi ‏24 KB

    You VI makes absolutely no sense and I would recommend you start with a few simple LabVIEW tutorials before trying to tackle this.
    What is the point of the FOR loop with 1 iteration, it might as well not even be there, same difference.
    Why is there an abort primitive in the FOR loop, this mean the program will unconditionally stop abort before any downstream code will ever go into action. The program will never get past the FOR loop.
    You created a circular data dependency and LabVIEW inserted a feedback node automatically, making things even worse. (see also)
    You need to learn about dataflow, execution order, and data dependency.
    You need to learn about the various types of tunnels (plain, autoindexing, etc.)
    There is a tremendous amount of duplicate code. Large code sections are the same, differeing only by a string. You should only have one copy of that code inside a proper state machine. Have a look at the design templates and examples that ship with LabVIEW.
    LabVIEW Champion . Do more with less code and in less time .

  • [Help plz]Can't set a boolean attribute to true or false

    Hello,
    I'm new in NWDS development. I need to develop a download functionality
    I used a FileDownload UIElement for that and I created a node context (ExcelExport) with 3 attributes :
    - ExcelFile
    - ExcelIcon
    - And ExcelEnabled (Boolean type)
    My problem is that everytime I try to set the attribute ExcelEnabled to true or false, it return me a java.lang.NullPointerException
    I'm binding this attribute with "Enabled" property of the UIElement.
    Have anyone got this error before? Thanks a lot for your help.
    Kind regards,
    Safae.

    Hello Safae,
    Have you tried to put true/false value for the enabled property? I mean without using a context attribute?
    Also try to create the attribute out of the node.
    Regards,
    ImaneA.

  • How to set render true or false in java class

    Use case:
    i have a page in which i have one inputListOfValues attributes and two LOV .initial the LOV render attribute value is false .it means it show only one attribute in run time .inputListOfValues is content two value .suppose if first value A then the first LOV have to show and is it value is B then Second LOV have to show .i bind my LOV to class .but i do not know how to set render attribute at java class.

    <af:inputListOfValues label="Branch Name"
    popupTitle="Search and Result Dialog"
    id="ilov1"
    model="#{pageFlowScope.organizationLOV.param['bindings.Organization'].listOfValuesModel}"
    converter="#{pageFlowScope.organizationLOV.param['bindings.Organization'].convert['latinDesc']}"
    valueChangeListener="#{viewScope.salaryBenefitsReportForm.branchChange}"
    binding="#{viewScope.salaryBenefitsReportForm.branchName}"
    rendered="true" visible="false"/>
    <af:inputListOfValues label="Department Name"
    popupTitle="Search and Result Dialog"
    id="ilov2"
    model="#{pageFlowScope.objectLOV.param['bindings.Department'].listOfValuesModel}"
    converter="#{pageFlowScope.objectLOV.param['bindings.Department'].convert['latinDesc']}"
    valueChangeListener="#{viewScope.salaryBenefitsReportForm.departmentChange}"
    binding="#{viewScope.salaryBenefitsReportForm.departmentName}"
    rendered="true" visible="false"/>
    this is code in jsff .
    and class code are following
    public void reportBy(ValueChangeEvent valueChangeEvent) {
    String value=(String)valueChangeEvent.getNewValue();
    System.out.println(value);
    if(value.equals("Branch")){
    branchName.setVisible(true);
    departmentName.setVisible(false);
    AdfFacesContext.getCurrentInstance().addPartialTarget(branchName);
    AdfFacesContext.getCurrentInstance().addPartialTarget(departmentName);
    if(value.equals("Department")){
    departmentName.setVisible(true);
    branchName.setVisible(false);
    AdfFacesContext.getCurrentInstance().addPartialTarget(departmentName);
    AdfFacesContext.getCurrentInstance().addPartialTarget(branchName);
    }

  • Is this TRUE or FALSE ?

    Hi all,
    Pls tell me whether this sentence is true or false.
    A transaction used by a BMT bean MUST have been started by the bean.
    In book this question is marked as false, but as far as I think it should be true.
    Pls update.
    Regards,
    Sanjeev

    As it's written I would say it's true as well.
    Bean-managed transactions are only allowed for session beans(stateful and stateless) and message-driven beans. Furthermore, if there is any client transaction context propagated on the call to the BMT bean, the container is required to suspend the client tx before calling the business method. So, BMT beans cannot inherit client transactions.
    For BMT stateless session beans and message-driven beans, there cannot be an active user transaction when the business method completes. If there is, the container is required to treat it as an error.
    The slightly more interesting case is for stateful session beans. For BMT SFSBs, it's o.k. for the transaction to still be active when the business method returns. In that case, the container suspends the tx and assoicates it with the SFSB. Whenever the SFSB is invoked again, the previously associated transaction is resumed before the business method is called. ( The same rule holds for client transactions. If there is one, it will be suspended and resumed when the business method completes. ) However, even if the container resumes a previously suspended transaction before invoking the SFSB, it can only be a transaction that was started by that bean.
    --ken

  • Can we save a True or False state in Labview?

    I'm using Labview 4.01 and I'm trying to control my testing process. In
    this case, I have 3 gas cylinders and every one of them can be turned on
    or off through the digital out lines. After one tank is empty, I can
    turn it off and turn on another one. My question is, how we can save
    this status either it's true or false so next time, we can open the
    other one instead of this empty one. After this one is turned off, I can
    show its state with an indicator, but the program can not read an
    indicator, so we still can not check the state of this tank. Any one
    have a solution for this problem?
    Thanks in advance,
    Guangde Wang

    Guangde Wang wrote:
    >
    > I'm using Labview 4.01 and I'm trying to control my testing process. In
    > this case, I have 3 gas cylinders and every one of them can be turned on
    > or off through the digital out lines. After one tank is empty, I can
    > turn it off and turn on another one. My question is, how we can save
    > this status either it's true or false so next time, we can open the
    > other one instead of this empty one. After this one is turned off, I can
    > show its state with an indicator, but the program can not read an
    > indicator, so we still can not check the state of this tank. Any one
    > have a solution for this problem?
    >
    > Thanks in advance,
    >
    > Guangde Wang
    Your version is too old. So I believe that saving data in any kind of
    configuration file will
    do the job (like .ini or .conf).
    It also depends on if you are closing application between your vi runs.
    If you don't remove the vi from memory, you have a chance to use global
    or functional global to store your state.
    In latest versions you can do it another way.
    Sergey Krasnishov
    Automated Control Systems
    National Instruments Alliance Member
    Moscow, Russia
    [email protected]
    http://acs.levsha.ru

Maybe you are looking for

  • How to connect my apple tv to my 27 inch iMac?

    I have all the cables connected to my iMac, but I can't bring up apple tv. Please help!

  • Network.interface file not there!  Solaris 10 x86

    OK I know I can simply create it, but as what? network.[?] When I try to plumb my best guess (qfe0) I get no joy. I haved a 3Com EISA Etherlink III, VERY standard. How can I tell if the OS knows of it's existance? In the /dev directory there is nothi

  • Muse fundamental isn't available

    When I click place on the file tab , muse fundamental isn't available.  I searched my entire computer.  Is this a separate download?

  • Descarga C6 extended

    Adquirí el CS6 Extended en Apple store, ya dispongo del nº de serie pero no encuentro el link para descargar el programa. Ruego me lo faciliten. Saludos

  • String too long, how to auto-truncate it?

    Is there any general purpose add-on which can detect a string is too long to insert/update for a database field, and truncate the string to insert/update instead of getting ORA-01401 exception?