How to determine Oracle_Home default from multiple home installation?

Does anyone know how to determine the current Oracle Home default in the registry when multiple Oracle Home exists?
Both 8i and multiple 9i Version X's exist on a client machine. We need to determine the current default oracle home to determine path for various drivers.
In analyzing the Oracle Home registry keys I have been unable to find a means for identifying the current Oracle Home default.

Thank you for you reply, your advice is good. Unfortunately our application has to deal with all kinds of Oracle configurations and one of those is the multi-home issue. We have looked throughout the registry particular in the HKLM\SOFTWARE\ORACLE|ALL_HOMES\
but have not found any entry that would indicate a default home. One two different system installation of multiple client installations there is no DEFAULT_HOME. We do have the HOME0, HOME1, ... HOME4 but, these are just sequencial based on when they where installed not on the order of preference or any default setting. Problem is our application needs to know the default home to locate the appropriate drives to use and appropriate connects service to look-up(tnsname) also.
Thanks.

Similar Messages

  • How to get the data from multiple nodes to one table

    Hi All,
    How to get the data from multiple nodes to one table.examples nodes are like  A B C D E relation also maintained
    Regards,
    Indra

    HI Indra,
    From Node A, get the values of the attributes as
    lo_NodeA->GET_STATIC_ATTRIBUTES(  IMPORTING STATIC_ATTRIBUTES = ls_attributesA  ).
    Similarily get all the node values from B, C, D and E.
    Finally append all your ls records to the table.
    Hope you are clear.
    BR,
    RAM.

  • How do I display data from Multiple Queries in a spreadsheet?

    I am running Oracle forms 10g as a kicker to export a report (rdf 10.1.2.0.2) to PDF or Excel Spreadsheet - User's choice.
    Doesn't matter if I have desformat = SPREADSHEET, DELIMITEDDATA, or DELIMITED; I still get only the first query displayed when I run in spreadsheet format.
    How do I display data from Multiple Queries in a spreadsheet? Is this possible?
    Thanks in advance!

    Hi adam,
    did you search the forum? You will find a lot of threads handling the problem of Excel file access.
    In short: you need to use ActiveX (the RGT also uses ActiveX under the hood)!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How do I get files from multiple DVDs that are using thesame file names?

    How do I get files from multiple DVDs that are using thesame file names? Message says "file already exists in catalog"
    Message was edited by: marcr56

    marcr56
    I am viewing your question from different perspective, that is, the issue that you face when you are ripping VOBs from a second DVD-VIDEO on DVD disc using Premiere Elements,
    It is best to give the Premiere Elements version and computer operating system that it is running on. In the absence of that, I will generalize.
    Assuming that you are using
    Premiere Elements 12
    Add Media
    "DVD Camera or Computer Drive"
    Video Importer
    Typically the Video Importer Save In: is C:\Users\Owner\Videos
    Each of your DVD discs is going to have the same names for the ripped VOBs (VTS_01_1.VOB and so on depending on the duration of the movie). Consequently, after the ripping of the first DVD's VOBs and their save to Videos, you will end up with that "files already existing..." block for the ripping of the VOBs from the second DVD.
    The answer is, for each DVD disc VOB ripping, to plan ahead and create and set for different folders in Videos in the Save In field of the Video Importer.
    Please review and then let us know if that works for you. Please do not hesitate to ask if you need clarification on anything that I have written.
    Thank you.
    ATR.

  • How to create an invoice from multiple sales doc.

    Hi,
    how to create an invoice from multiple sales doc.
    thanx,
    sourav

    hello, friend.
    assuming that your settings in VTFA and VTFL allow, you can create 1 invoice for many sales orders or deliveries by using VF04.  choose all documents that apply and click "collective billing document". 
    you can also click on "simulation" if you want to test if the combination is possible and the system will give you a split analysis if this is not possible.
    regards.

  • How do i change default from adobe to preview

    how do i change default from adobe to preview?

    Control mouse click a file type you want to open with Preview (or right mouse click if available) Open With -> Other...  Navigate to Preview and select Always Open With, before clicking open.

  • How to manage data aggrigation from multiple systems.

    Hi,
    How to manage data aggrigaion from multiple system which should support paging too.
    please suggest me , best possible soluntion.
    Thank You

    what is ment by aggrigation? what is the difference between Inheritance and aggrigation ? How can it implement as part of the programm

  • How can I hide icon from my home screen?

    How can I hide icon from my home screen?

    Hi pearlyxiel,
    If you have apps on your Home Screen that you don't use regularly and would like out of the way, you may want to create a folder for them and move them to a later screen. You can either do this from iTunes or directly on your iPhone, as outlined in the following articles:
    Arrange apps on your iPhone - Apple Support
    iTunes 12 for Mac: Sync and organize iOS apps
    Random,
    - Brenden

  • How do you download music from your home computer to your ipod?

    How do you download music from your home computer to your ipod?

    Connect it to your omputer; iTunes should open; select the files you want on your iPod in the various categories (music, podcasts, photos, etc); click on Sync.
    Read the annual: http://support.apple.com/manuals/#ipod

  • How to set a default "from" field on outgoing Mail message

    i read through the last few pages of this support forum and googled my topic but i havent found a suitable solution.
    in Mail v 3 (3.4) there is a "From:" field in any outgoing mail. very useful for those of us with multiple non-accounts and/or .Mac aliases. i generally set a specific outgoing mail server (so that field is removed from outgoing email).
    my problem is how to set a default outgoing email address so that my recipients always get from a certain (eg work) email address when i am at work. at work, anything i send, i want to show my work email without always having to manually select the "FROM" field in the outgoing email.
    ( aside: i had read that Mail version 3 was supposed to auto-select any reply so that the reply would come from the same email i orginally sent as. this does not work on my mac.)
    This problem is exacerbated as Mail auto-rotates between my 4 email accounts/aliases (which are all listed (correctly) in the FROM field. it would be great if this list could be fixed with a default FROM address.
    eg i send an email from my work email address (FROM: [email protected]) the next email i send will be rotated through my list of .mac aliases. i.e. the next email i send will not be from [email protected], but from [email protected] the next time it might move on to [email protected] or it might revert to [email protected]
    any thoughts on how to fix?
    i have tried deleting the home/library/preferences/com.apple.mail.plist. that is fine, but any .mac aliases (which i do use, but i dont want to be listed in the "FROM" field) are listed in the "FROM" field, and are auto-switched through my Mail again.
    i looked through Rules and Automator, but no obvious help there. any thoughts?

    Did you try Preferences > Accounts > Account Information and entering these other email aliases in the Email Address: field, separated by commas? That would give you a pop-down menu in the New Message window letting you choose which alias to use when sending an email.
    If you go to Preferences > Composing, there should be a pop-down menu near the middle of that window labeled "Send new mail from:" which will let you choose any email address you have entered in the Account Information field mentioned above, or "Account of last viewed mailbox" as the default.
    Mulder

  • Looking for a better way to determine string variable from multiple options

    Hi,
    I trying to figure out a better way to determine a string variable from multiple options.
    Say i have five pictures each with a different filename: img1 - img5...these file names could be named anything really but for this example i will keep them as img1, img2, img3, img4 and img5.
    I want to display a messagebox with the string depending on what a certain variable is.
    So for example, we have the number X, if X = 1 then i want the messagebox to show "img1" as the message
    Essentially the way I have been doing it so far is:
    Private Sub WhichImage()
    Dim ImageName As String = ""
    Dim i as integer
    If i = 0 Then
    ImageName = "img1"
    End If
    If i = 1 Then
    ImageName = "img2"
    End If
    If i = 2 Then
    ImageName = "img3"
    End If
    If i = 3 Then
    ImageName = "img4"
    End If
    If i = 4 Then
    ImageName = "img5"
    End If
    MessageBox.show(imagename, "Name of image", MsgBox.Style.OkOnly, MsgBoxResult.Ok)
    end
    Up until now, this has been fine, but what if I have 50 images, do I have to do this for all 50 images? or is there an easier way like putting the image names into a text file and have it read from the file depending on what the variable i equals? If so,
    how do I go about this? Does each image name go on a separate line? can it just be separated by a comma instead? or is there a better way?
    Please note that i know that i have declared "i" above in my code and not intialised it with anything, in reality "i" comes from somewhere else in the program so please ignore that part, it is not what I am concerned with.
    Thanks
    Mersec

    Does each image name go on a separate line? can it just be separated by a comma instead? or is there a better way?
    Arrays are useful for this.
    Dim imagenames() As String = {"img1", "img2", "img3", "img4", "img5"}
    Dim imagename As String = imagenames(i)
    MessageBox.Show(imagename, "Name of image")
    Any sort of collection will do instead of an array, and may be simpler to manage. There are many other options - the most suitable one probably depends on where the names originally come from.  For instance, if you are getting them from a folder
    using the FileSystem.GetFiles method, then they are already in a collection.
    If the files names never change then you may as well include them in the program code, using something like the code above.  If they can change, then you could use a text file, but that means you need a file update routine.  If that is required
    then the way you store the names will dictate how you access them.

  • How do I cgange default from NTSC to PAL?

    New user - How do I change the default from NSTC to PAL? Any ideas? Is this even possible?

    in iM's prefs, you find a little 'cryptical'
    New project frame rate 25 (=PAL)/30 (=NTSC) fps
    to convert an existing project into another video standard is no trivia task, well recommended tool doing so is
    JES Deinterlacer
    http://www.xs4all.nl/~jeschot/home.html
    export your iM project as QT/Full Quality, open that file with JESD, and choose 'conversion' ...

  • Determining ORACLE_HOME location from DBA_ or V$ views

    DB Version:10gR2
    Is there a DBA_ or V$ view which i can query to determine ORACLE_HOME location?
    Edited by: james_p on Oct 13, 2008 3:18 AM

    SELECT substr(file_spec,1,instr(file_spec,'lib')-2) ORACLE_HOME FROM dba_libraries
    WHERE library_name='DBMS_SUMADV_LIB';Interesting idea. Unfortunately when I tried the query on 10g NULL was returned :(
    The oracle home might be extractable from V$PARAMTER name = 'user_dump_dest'
    SQL> c/name/value
    1* select value from v$parameter where name = 'user_dump_dest'
    SQL> /
    VALUE
    C:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP

  • How To Concatenate Column Values from Multiple Rows into a Single Column?

    How do I create a SQL query that will concatenate column values from multiple rows into a single column?
    Last First Code
    Lesand Danny 1
    Lesand Danny 2
    Lesand Danny 3
    Benedi Eric 7
    Benedi Eric 14
    Result should look like:
    Last First Codes
    Lesand Danny 1,2,3
    Benedi Eric 7,14
    Thanks,
    David Johnson

    Starting with Oracle 9i
    select last, first, substr(max(sys_connect_by_path(code,',')),2) codes
    from
    (select last, first, code, row_number() over(partition by last, first order by code) rn
    from a)
    connect by last = prior last and first = prior first and prior rn = rn -1
    start with rn = 1
    group by last, first
    LAST       FIRST      CODES                                                                                                                                                                                                  
    Lesand         Danny          1,2,3
    Benedi         Eric           7,14Regards
    Dmytro

  • How to create a report from multiple dynamic XMLs

    Hi,
    I'm trying to build a consolidated report that gets data from multiple XML files and each XML file is different. Although the presentation of the data will be similar, the contents of the XMLs will vary and the number of XMLs to merge will also vary.
    What I would like to understand is the following:
    * Is it possible to generate a report template based on dynamic columns where the column names, their format and number is different for each business object?
    * Is it required to generate an XML with the entire data or can the template read information from different XML files? and if so how it can be done. Please notice that the formatting of each XML may be different.
    * Is it possible to use the services to generate the reports directly? Something around these lines was mentioned in one of the sessions but it was also mentioned that it's still WIP.
    I've been using the standalone version and although I can get the desired result, I couldn't merge data from multiple XMLs.
    Is the new BIP version available, or an enterprise version that I can use?
    Thanks in advance,

    Hi Rich,
    Even i had a similar kind of problem. I wanted to fetch data from BI through the XMLA Connector which are created in Query Designer and then i wanted to fetch these fields and rearrange them and put it in a report format by colouring certain fields. Can the same can be done in WebDynpro.

Maybe you are looking for

  • Iphone 3g and Panasonic car stereo problems

    Hi, I have an iphone 3g and a Panasonic CQ-RX400U car stereo. The stereo has a front-panel USB port. I've been using the cable that came with the phone to connect to the stereo and everything has been working great. All of the stereo's iPod controls

  • Does Preview compress PDFs when saving?

    Hi.  My scanner can group separate scans into a single PDF on its own, but it is significantly slower than scanning documents separately and merging them with Preview.  Since scans are essentially saved twice when going the "merge with Preview" route

  • JTable can't display column names and scroll bar in JDialog !!

    Dear All , My flow of program is JFrame call JDialog. dialogCopy = new dialogCopyBay(frame, "Bay Name Define", true, Integer.parseInt(txtSourceBay.getText()) ,proVsl ,300 ,300); dialogCopy.setBounds(0, 0, 300, 300); dialogCopy.setVisible(true);      

  • Share My Screen

    Hello- I want to be able to take control of my Dad's computer via "Share My Screen" to be able to help me with some settings etc. I'm running Version 4.0.7 (616) and He's on Version 3 something. I had him download all the latest updates. What does he

  • Pros / Cons of Running APEX on separate server

    Seeking feedback/thoughts on this general question. I am maintaining an APEX application that utilizes multiple schemas all residing in the same database as APEX. I am wondering what might be the pros / cons of putting APEX in a separate database and