How to set Default database when multiple databases are residing in same server.

I am using solaris and 9i version.
Can you please provide me the steps.
i have selected the O/S category, you did not see that?
Rgds,
G. Rajakumar.

In the home directory of the user you log in as, there should be a file called .profile or .cshrc or possibly .login depending on your O/S. I believe that Solaris has .cshrc, but I don't use Solaris. You should be able to see it using
ls -lat
You need to add a line to this something like
export ORACLE_SID=<<yoursid>> or
ORACLE_SID=<<yoursid>> ; export ORACLE_SID or
setenv ORACLE_SID=<<yoursid>>
There is probably a similar line there already which you can just modify. The change will take effect the next time you log in.
HTH
John

Similar Messages

  • How to Set ORACLE_SID in a Multiple Database Server

    Hi experts,
    This server has 3 10.2.0.4 databases on Windows. Of course 1 of those is the default db.
    When I need to oracle_sid to one of the non-default databases I have problems.
    Just now I ran: set ORACLE_SID = ultrarpt
    But echo %ORACLE_SID% still shows the default database (ultratst).
    I'm sure this is easy - how can I point to this database and then confirm that ORACLE_SID is indeed referencing that database?
    Thanks, john

    user629010 wrote:
    Hi experts,
    This server has 3 10.2.0.4 databases on Windows. Of course 1 of those is the default db.
    When I need to oracle_sid to one of the non-default databases I have problems.
    Just now I ran: set ORACLE_SID = ultrarpt
    But echo %ORACLE_SID% still shows the default database (ultratst).
    I'm sure this is easy - how can I point to this database and then confirm that ORACLE_SID is indeed referencing that database?
    Thanks, johnremove the spaces around the '='
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    c:\temp>echo %oracle_sid%
    %oracle_sid%
    c:\temp>set oracle_sid = mytest
    c:\temp>echo %oracle_sid%
    %oracle_sid%
    c:\temp>set oracle_sid=mytest
    c:\temp>echo %oracle_sid%
    mytest
    c:\temp>

  • How to set default button when press "Enter"

    Hi,
    I have a form and it has only one button (Submit). When I press "Enter", it can submit the form and do the action. However, when I add another button (Normal button, not submit), it cannot perform submit action directly when I press "Enter".
    If we press "Enter" and the form can submit automatically, it is more user-friendly than without this feature. Therefore, may I know the method of set the default button when users press "Enter"?

    At first I thought the order of the form controls might matter.  When I run this code:
    <cfdump var="#GetTickCount()#">
    <form action="TestCfgrid.cfm" method="post">
    <input name="x" type="text" />
    <input type="button" value="x" />
    <input type="submit" />
    </form>
    While I am in the text box, if I press the enter key the form submits.  I originally tried it with the submit and button inputs in the opposite order.
    Note that the enter button will not submit the form if you are in a select control (aka dropdown) or a textarea or if your focus is not on a form element.  That's the default behaviour.  If you want to override that, you'll have to write some javascript.

  • VS Workflow - Erroring out when multiple records are created by same user

    Hi,
    I am using SP 2013. I have a visual webpart and custom sequential workflow. The webpart saves the data to a custom list and the workflow is associated to the custom list on Item creation only. In the workflow, I am breaking the role inheritance and setting
    permission to specific set of users, and then the normal approval workflow happens. The whole workflow condition works fine, but if the user is raising multiple requests one after another, the workflow seems to break either in the Break inheritance or granting
    permission. If the user raises only one or two requests then everything works fine.
    Below are the errors which I am getting in the workflow:
    Error 1:
    Error: Save Conflict. Your changes conflict with those made concurrently
    by another user. If you want your changes to be applied, click Back in your Web
    browser, refresh the page, and resubmit your changes.
    I have already checked this :
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/60ab04fd-9650-427d-a48f-784bc22fae05/workflow-and-save-conflict-your-changes-conflict-with-those-made-concurrently-by-another-user?forum=sharepointdevelopmentprevious_
    http://adrianhenke.wordpress.com/2010/08/20/sharepoint-error-save-conflict-your-changes-conflict-with-those-made-concurrently-by-another-user/
    I have also implemented the "Reload" thing posted in the above URL. This error only happens when multiple new requests are getting raised by same user. This error does not happen if I terminate the workflow and re-start the workflow.
    How to fix this?
    Thanks

    Hi,
    Based on my understanding, you have a Visual Web Part for adding new item into a list. A workflow will be triggered when item creation in this list. Everything works
    fine except when an user adds multiple items in a short period.
    If this is the case, plus with the error message, a possible cause is that the SharePoint Server and the workflow engine are not functioning effectively enough to
    handle the multiple request in a short time, therefore a scenario is that when there is new item being added into the database, the workflow modifies the “RoleAssignments” property of this item at the same time, this may cause a “Save Conflict” error.
    As you said, “If the user raises only one or two requests then everything works fine”, a workaround is that you can disable the adding item function in Visual Web
    Part forcibly in a specific period after a new item is being added by current user, it can leave some time for handling the item creation and item modification.
    Or if there is a need to submit multiple items concurrently, we can organize the requests into one request, then handle this item with other custom logic in your workflow.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • How to set Default text when sending a blank mail from SAP

    Hi all,
    How to add Signature with company logo in the mail body.
    User should see at least one default text (eg; Hi) in the mail body if the sender did not type any text in the mail body when sending a mail from SAP.
    Is it possible to set like this on Subject also.
    Kindly share your ideas.
    Regards,
    Mathan A

    Hi Mathan,
    Please check sap note
    SAP Note No. 1304146 Email Signatures feature note
    1163250 - How to Create an Email Signature on several rows
    I hope it will solve your issue.PLease mark thread as answerd.
    Best Regards,
    Atul

  • [CS2/CS3 JS] How to set Default Font for multiple documents

    Hello,
    How do I set the default font for any new text frames I create.
    I have several thousand InDesign templates in which the default font is set to a font that is no longer licenced and therefore requires changing.
    I already have a script which will open each template and change the first insertion point of any (empty) text frame to a new font but any new text frames created in these templates still want to use the unlicensed font.
    Thanks for any assistance.
    Simon Kemp

    for existing documents:
    app.activeDocument.textDefaults.appliedFont = myDoc.fonts.itemByName ('Arial\tBold');
    for newly created ones:
    app.textDefaults.appliedFont = myDoc.fonts.itemByName ('Arial\tBold');

  • How to set a different smtp in and out on the same server

    Hello,
    I got an xserve on 10.5.6 and the ethernet ports are connected to two differents networks. One is on the local network (192.168.0.5) and the other on a wan. The lan is on ADSL box that is also the router. I would like to receive my email from the adsl box (it work like this actualy - smtp in) but sent the mails from my user with the wan (smtp out). I did'nt find any setting on the admin server graphic interface and Apple confirms that it is not possible without modifing files with the terminal. (they did'nt give the solution:()
    Is anyone can help me to make this configuration work.
    Thanks in advance.

    Short answer: you can't - at least not directly.
    What you're trying to do breaks the fundamental rules of IP routing - specifically you can only have one default route that's used for all non-local traffic. That route will either point out our ADSL link or your second WAN link. You cannot route by port or protocol.
    Your best bet is to use an SMTP relay where you tell your server to relay all outgoing mail through an intermediate server (rather than directly to the destination domain). Then you can setup a static route to that relay over the second WAN link to override the default route.

  • How to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    I want to know how to set the password encrytacion a database. Accdb from Visual Basic 2010 for a report. Rpl

    You have to connect via ODBC, then use code along the lines of what is described here:
    http://scn.sap.com/thread/3526924
    by me on March 28 and Jan on March 29.
    Also see KBA: 1686419 - SAP Crystal Reports designer does not recognize Access *.accdb file
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to set sourceURL for MS Access database in other computer?

    How to set sourceURL for MS Access database in other computer?
    getConnection("jdbc:odbc://www.micrsoft.com:9999/msaccess");
    How do you determine the port for the MS Access?
    Thank you very much.

    How to set sourceURL for MS Access database in other computer?You don't.
    How do you determine the port for the MS Access?You don't.
    Databases like Oracle and MS SQL Server have 'server' software which runs on a server computer. Requests talk to that server software. MS Access does not have a server, so there is nothing to talk to.
    You either must use a DSN or create you own server. For the DSN each client must have a mapped driver to the computer with the database. For your own server search the Sun site for JDBC drivers or use RmiJdbc (http://www.objectweb.org/)

  • How to set up  Planning on Multiple Servers

    Hi,
    1) I am trying to install a Finance Planning application so that it runs on one Planning Web Server and the other operations Planning application on another Planning 9.3.1 web server. Is that possilbe?
    2) May be unrelated question:
    HP_Windows_Install.pdf has only a few lines explaining how to set up Planning on Multiple Servers. Is it as simple as that?
    Here are the "few lines" from install.pdf:
    Perform the same installation and configuration process on your secondary servers, making sure to choose
    Planning Web Server component for any secondary server.
    Make sure you select Reuse existing tables when prompted during the Configure a Database task
    in the Configuration utility.

    Tomcat.
    But it will be nice to know the steps for Weblogic too - as Weblogic will be bundled "free" with future releases of Planning.

  • How to set default selected checkbox in af:tableSelectMany /

    Hi,
    I am new to ADF technology, I am using JDev 10..3g.
    I want to set the checkbox as default selected for particular rows.
    but I don't know how to set default selected checkbox in <af:tableSelectMany />
    Is there any way to do this using ADF<af:tableSelectMany />
    Thanks,
    Mohammed

    Hi Jeroen,
    Thanks for reply. but the problem is that I am getting data from database and based on some flag I need to select checkbox while page is loading first time.
    at that time the table is null as till now it not rendered. and when its rendered it means page is displayed now.
    just before display I need to set checkbox as selected.
    I don't want to do like this (when user is pressing any command button then only is should update checkbox selection).
    Thanks,
    Mohammed.

  • Determining wether to implement on a single database or multiple databases.

    Good Day Mentors,
    Our company will be migrating from 2004B to 8.81. We currently have 2 databases. We wanted to know what are the things to consider before choosing wether to go one or multiple database. We are in F&B. The 2 databases purchase and sell the same items for most of the inventory.
    I've already checked these links:
    [Merge multiple separate companies (databases) into one]
    [Re: Multiple companies in one database vs. multiple databases]
    [Re: Setting up two companies on one database]
    After reading those posts, I've listed these questions(this I'll be asking the users/management):
    1.) Are the 2 databases, 2 business/legal entities?
    2.) Is the Tax files separately for each subsidiary/company?
    3.) Are the reports(P/L, balance sheet, etc) usually consolidated?
    4.) Is it ok that the people can see all the BP's, GL accounts, Pricelists etc?
    Are there till things I need to ask the management in order to make a wise decision on the matter?
    Are there still pros/cons I need to raise up?
    Thanks in advance!
    Sean Yu

    Hello,
    1.) Are the 2 databases, 2 business/legal entities?
    It will 2 business /Legal entities when you have registered your company in two different tax registration no.(PAN)
    2.) Is the Tax files separately for each subsidiary/company?
    Totally depend on how you registered your company in tax department .means if you have saparate tax reg no then it might be.
    3.) Are the reports(P/L, balance sheet, etc) usually consolidated?
    this option in optional it may be or may not be .
    4.) Is it ok that the people can see all the BP's, GL accounts, Pricelists etc?
    No, because data will very huge then user become confuse at the time of data entry(but we have solution for same without SDK)
    Means totally depend that both company register in same tax no or two different tax no.
    Thanks
    Manvendra Singh Niranjan

  • How to set default date value to a field on screen

    How to set default date value to a field on screen and allow users to modify it ....

    Hello,
    In the PAI module, you need to save the changes to the database using the command MODIFY.
    Follow an example:
    Create or change a message in database table T100. If there is no message with the number 100 in the MYMSGCLASS message class in English, it will be created. Otherwise only the text is changed.
    DATA message_wa TYPE t100.
    message_wa-sprsl = 'EN'.
    message_wa-arbgb = 'MYMSGCLASS'.
    message_wa-msgnr =  '100'.
    message_wa-text =  'Some new message ...'.
    MODIFY t100 FROM message_wa.
    Regards.

  • How to set default values for boolean columns

    I'm trying to deploy some content types and columns into a site with a feature. All it's ok, except that I'm trying to set a default value for boolean columns with no success.
    I've tried to set default value at column level:
    <Field ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DisplayName="Se publican noticias en español"
    Type="Boolean" Hidden="FALSE" Group="Columnas ShaCon" >
    <Default>TRUE</Default>
    </Field>
    and at content type level:
    <FieldRef ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DefaultValue="TRUE" Required="TRUE" />
    But in any case, when i create a new item with this content type, default value is applied.
    Can anyone tell how to set default values for boolean columns?
    Thanks in advance,
    Regards,
    Sergio

    In the field definition you can set
    <Default>1</Default>
    or
    <Default>0</Default>
    How to set the default value Null?

  • How to set default locale in JDK1.3.0 to US?

    Hi, everyone!
    I found the default locale in JDK 1.3.0 is not set to US when I converted our JDK from 1.2 to 1.3.0. So I have to change code by passing Locale.US.
    The output from below test code is:
    default=��100.00
    US=$100.00
    import java.util.Locale;
    import java.text.*;
    public class TestCurrency
    public static void main(String[] args)
    int amount = 100;
    //default
    NumberFormat moneyWriter = NumberFormat.getCurrencyInstance();
    System.out.println ("default=" + moneyWriter.format(amount) );
    //US
    moneyWriter = NumberFormat.getCurrencyInstance(Locale.US);
    System.out.println ("US=" + moneyWriter.format(amount) );
    Can anyone tell me how to set default locale in JDK 1.3.0 to US?
    Thanks!

    You have to set something on your computer (outside Java) to tell it that you are in the US. You didn't say, but I'm going to guess that you are using Windows; if that's so, then try Regional Options in Control Panel.

Maybe you are looking for