Which is preferred, sid name in lower or upper caps?

Hello,
Which is better, the sid name in lower or upper case? When I created a database with sid name in UPPER case, my file_name in dba_data_files is something like this, /u01/oradata/TESTDB/users01.dbf.
So base on your experience, should the sid name be in lower or upper case? Thank you in advance.

I've habituated to upper case, even though as a unix bigot I tend to do things in lower case. Don't forget dbname and service names in their various places too, obscure bugs in various places have popped up with those over the years.
See Bug 9438890 - DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL does not work for AUDIT_TRAIL=OS with uppercase ORACLE_SID for a recent silly example. Someone somewhere must have been slapping their forehead over that one.

Similar Messages

  • "why the Psoft oracle DB and SID names should be in all upper case

    Customer is having a Question like
    "why the Psoft oracle DB and SID names should be in all upper case (according to the PsoftTools 8.50 Installation for Oracle manual)
    why the Peopletools 8.5 install book states all Oracle SID and database names should be in UpperCase.
    If we use lower case database name, would encounter any problems, what sort of problems?
    i Observed that all the Installation manual for 8.49,50,51 States the Same for Creating of Data base !
    Task 1-6-1: Determining Databases and Database Names
    You should also determine the names of the
    databases at this point, using database names that:
    • Are limited to eight characters, all UPPERCASE.
    • Capture information about the PeopleSoft product line and the type of database
    Please suggest on this !
    Thanks
    Bala

    user13798675 wrote:
    Customer is having a Question like
    "why the Psoft oracle DB and SID names should be in all upper case (according to the PsoftTools 8.50 Installation for Oracle manual)
    why the Peopletools 8.5 install book states all Oracle SID and database names should be in UpperCase.
    If we use lower case database name, would encounter any problems, what sort of problems?
    i Observed that all the Installation manual for 8.49,50,51 States the Same for Creating of Data base !
    Task 1-6-1: Determining Databases and Database Names
    You should also determine the names of the
    databases at this point, using database names that:
    • Are limited to eight characters, all UPPERCASE.
    • Capture information about the PeopleSoft product line and the type of database
    Please suggest on this !
    Thanks
    Balabcm@bcm-laptop:~$ env | grep ORA
    ORACLE_SID=v112
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    bcm@bcm-laptop:~$

  • SID Name in oracle 10g

    Dear Experts,
    how I can find SID name in Oracle 10g databse, which i forget.
    thanks in advance

    On Unix/Linux, under $ORACLE_BASE/admin you should have a subdirectory for each SID. If the DB is active you can also do something like this
    $ ps -ef | grep smon | grep -v grep | cut -f8 | awk -F"_" '{print $3}'
    On Windows you should have a service OracleService<SID> for each SID.

  • Which file decide instance name in RAC 10g ?

    Which file decide instance name in RAC 10g ?
    How does RAC know which instance should start from which machine?
    Thanks.

    The spfile is NOT the correct answer, actually.
    1. The instance name for any Oracle instance, whether in a RAC or not, is derived from the value for the ORACLE_SID parameter which is in force at the time the startup command is issued. If you were to:
    export ORACLE_SID=SALES
    sqlplus / as sysdba
    startup...you would just have created an instance called SALES.
    2. The spfile (or init.ora if you're not using an spfile) contains a parameter called INSTANCE_NAME. That defaults to whatever ORACLE_SID is set to as an environment variable when the instance is started, hence point 1 above. But you can force an instance to acquire a non-SID name by deliberately setting it to something different. That's unusual to do, though, except in a RAC context where you want to subvert the default load balancing mechanism.
    2b. The spfile (or init.ora) also contains a parameter called DB_NAME -but that is the name of the database, not the name of the instance, and is therefore irrelevant for the purposes of working out how instances get their names,
    3. Neither of the above answers has got anything to do with RAC knowing what instance runs on which machine. That is the job of the Oracle Cluster Registry file (OCR), for which you have to provide about 100MB of space on a shared hard drive during the RAC installation itself.
    You populate that file by running DBCA to create your RAC instances (and DBCA then automatically updates the OCR to record the fact that it created instance X1 on Node A and X2 on Node B, and therefore that's what will happen in the future unless you change things).
    Or you can update the OCR yourself by using the SRVCTL utility. You'd do something like: srvctl add instance -d DB1 -i X3 -n C (add an instance called X3 to run on Node C as part of database DB1).
    A little more details about the OCR is available in Section 13 of this article, for example: http://www.dizwell.com/prod/node/26?page=0%2C5

  • SID name change and connections.....

    Oracle 10g R2
    Oracle doc says "For a client application and a database to communicate, the client application must be able to identify the database it wants to connect to, and the database must provide some sort of identification or address. You can use a service name to connect to a database. A service name is a logical representation of a database, which is the way a database is presented to clients. A single database can be presented as multiple services"
    I want to rename the SID name from ORCL_DEV to ORCLDEV.
    Content of my listner.ora is
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL_TEST.SERVERNAME)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0)
    (SID_NAME = ORCL_TEST)
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL_DEV.SERVERNAME)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0)
    (SID_NAME = ORCL_DEV)
    (SID_DESC =
    (GLOBAL_DBNAME = ORCL_MIGRATE.SERVERNAME)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0)
    (SID_NAME = MIGRATE)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PHC4440)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    After renaming the ORACLE_SID what are all the places I need to change the settings so that the programs around it needs zero or less modification.
    Thank you,
    Smith

    1) The idea that the listener needs to be given a list of database instances is a throwback to the Oracle 7/Oracle8 days. Please consider totally eliminating the "(SID_DESC =" stanzas and letting the database instances self-register.
    2) The idea of changing the database name is somewhat archaic as well. Modern systems will use 'service' instead of SID or Database. Then an instance can respond to several different service requests and the DBA can turn off some services for that DB while leaving others run. (This is the key concept behind the idea of resource management.)
    IF this is interesting, look at my blog to see how it's done http://hansforbrich.blogspot.com/2008/03/rename-database-why.html

  • Which is my SKYPE name to give to people to find m...

    Looked everywhere but could not find the answer, so had to post.
    I have been on skype for years.  I have only used SKYPE 2-3 times a year.  It has been 1 year since I last used.  Now, people are asking me "What is your SKYPE name to connect with you on SKYPE?"
    I do not know which of the 2 names on my profile is the name to give to people.
    Is it the name on the top left side of the page, which is my legal name, first and last names, and in BOLD type?
    Or is the correct name to give people the name under my legal name, my nickname, the name to give people so the can find me on SKYPE?
    Meanial question, but important none the less.
    Many thanks! 

    Your Skype name is:
    slo***ter
    (full user name hidden for privacy).
    If you click in Skype on your name (upper left corner), your account page will be shown, and under your real name you should see Skype username.

  • How to access a method of a class which just known class name as String

    Hi,
    Now I have several class and I want to access the method of these class. But what I have is a String which contain the complete name of the class.
    For example, I have two class name class1and class2, there are method getValue in each class. Now I have a String containing one class name of these two class. I want to access the method and get the return value.
    How could I do?
    With Class.forName().newInstance I can get a Object. but it doesn't help to access and execute the method I want .
    Could anybody help me?
    Thanks

    Or, if Class1 and Class2 have a common parent class or interface (and they should if you're handling them the same way in the same codepath)...Class c = Class.forName("ClassName");
    Object o = c.newInstance(); // assumes there's a public no-arg constructor
    ParentClassOrInterface pcoi = (ParentClassOrInterface)o;
    Something result = pcoi.someMethod(); Or, if you're on 5.0, I think generics let you do it this way: Class<ParentClassOrInterface> c = Class.forName("ClassName");
    // or maybe
    Class<C extends ParentClassOrInterface> c = Class.forName("ClassName");
    ParentClassOrInterface pcoi = c.newInstance();
    Something result = pcoi.someMethod();

  • I have Ps CS4.  I run Apple OS X 10.9.5  on a new MacPro 3GHz 8-core Intel Xeon E5 - 64 GB.    I hardly ever use CS4 ( preferring Elements for my low level needs), but I now want to use it's function for stitching together a landscape.  I fire it up and g

    I have Ps CS4.  I run Apple OS X 10.9.5  on a new MacPro 3GHz 8-core Intel Xeon E5 - 64 GB.    I hardly ever use CS4 ( preferring Elements for my low level needs), but I now want to use it's function for stitching together a landscape.  I fire it up and get Error 150:30 with the suggestion to contact you  - hence this message

    I have Ps CS4.  I run Apple OS X 10.9.5  on a new MacPro 3GHz 8-core Intel Xeon E5 - 64 GB.    I hardly ever use CS4 ( preferring Elements for my low level needs), but I now want to use it's function for stitching together a landscape.  I fire it up and get Error 150:30 with the suggestion to contact you  - hence this message

  • How to change the SID name in the server

    hi all,
    i installed oracle 10g R1 on windows 2003 server. i gave an sid and created a database. the database is new and there is no data in the db. now i want to change the SID name of the database. pls help me in doing this.
    regards,
    nagarjuna

    Hi,
    Just a notice: SID and DBNAME are two different things. But the usual practice is to have SID = DBNAME, so let me assume you want to change both SID and DBNAME.
    Either you can do it manually by recreating the controlfile as orawiss suggests. You may discover some challenges around the way (for instance, for the command CREATE CONTROLFILE SET "new_dbname" to work, you have do delete or rename the old controlfiles first).
    Or, you can change it easier by using nid utility. The detailed howto and all implications can be found on:
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10825/dbnewid.htm
    Basically:
    SQL> create pfile from spfile;
    SQL> shutdown immediate;
    nid TARGET=sys/password@oldname DBNAME=newname
    copy the initoldname.ora to initnewname.ora and edit the DB_NAME parameter to reflect the new name
    sqlplus / as sysdba
    SQL> create spfile from pfile;
    SQL>startup mount;
    SQL> alter database open resetlogs;
    Then don't forget to generate new password file for the new dbname (using orapw) and make changes in tnsnames.ora and listener.ora if needed.
    Just make sure, the database has been properly shut down before changing the db_name either manualy by recreating controlfile or by the newid utility, as the renamed database has to be opened with resetlogs - making any crash recover of improperly shut down database impossible.
    Kind regards,
    Martin

  • How can i target a movie of which i set the name based on a variable?

    Hi.
    I have the attached code:
    And i want to target the imgHolder
    ; that i have just created through the while function. I mean I
    attach a movieclip from the library to which I give a name composed
    from "imgHolder"+i where i is the number of the node from the xml.
    After that i want to succesfully target the newly created
    movieclip and get it's _x so i can attach the next movieclip next
    to the previous one. After that i will have a set of function based
    on the "imgHolder"+i movieclip.
    But i need to know how to succesfully target the movieclip.
    Thanks a lot.

    use the attach code option to display code in this forum.
    otherwise, your code is altered and difficult to read.

  • Item Preferred Vendor Name with OINM OITM and OMRC

    Hi all
    How to add Item Preferred Vendor Name to this Query?
    SELECT T0.[ItemCode],T1.CardCode, T1.FirmCode, T2.FirmName, T1.ItemName, sum(T0.[InQty])[In Quantity], sum(T0.[OutQty])[Out Quantity],sum(T0.[InQty]) - sum(T0.[OutQty])[Balance Quantity],  T0.[Warehouse], sum(T0.[TransValue])[TransValue] FROM OINM T0 INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode INNER JOIN OMRC T2 ON T1.FirmCode = T2.FirmCode WHERE T0.[Warehouse]  between [%0] and [%1] and  T0.[DocDate]  <=[%2] GROUP BY T0.[ItemCode], T1.CardCode, T1.FirmCode, T2.FirmName, T1.ItemName, T0.[Warehouse]
    Kedalene

    Hi,
    Try this:
    SELECT T0.[ItemCode],T1.CardCode, T0.[CardName],T1.FirmCode, T2.FirmName, T1.ItemName, sum(T0.[InQty])[In Quantity], sum(T0.[OutQty])[Out Quantity],sum(T0.[InQty]) - sum(T0.[OutQty])[Balance Quantity],  T0.[Warehouse], sum(T0.[TransValue])[TransValue]
    FROM OINM T0 INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode and T0.[CardCode] = T1.[CardCode] INNER JOIN OMRC T2 ON T1.FirmCode = T2.FirmCode left join OCRD T3 on T1.cardcode = T3.cardcode
    WHERE T0.[Warehouse]  between [%0] and [%1] and  T0.[DocDate]  <=[%2]
    GROUP BY T0.[ItemCode], T1.CardCode, T1.FirmCode, T2.FirmName, T1.ItemName, T0.[Warehouse], T0.[CardName]
    Thanks & Regards,
    Nagarajan

  • Create a procedure which will pass table name as an argument

    Please let me know, I want to create a procedure which will take
    table name as an argument and will display total no. of rows of
    that table.

    Hopefully this code will help u.
    CREATE OR REPLACE PROCEDURE P1(TAB_NAME IN VARCHAR2, ROW_NO
    OUT NUMBER)
    AS
    SQL_STMT VARCHAR2(1000);
    BEGIN
    SQL_STMT := 'SELECT COUNT(*) FROM ' || TAB_NAME;
    EXECUTE IMMEDIATE SQL_STMT INTO ROW_NO;
    END;
    SQL > VAR A NUMBER
    SQL > EXEC P1('EMP',:A);
    SQL > PRINT A
    A
    12
    SQL > SELECT COUNT(*) FROM EMP;
    COUNT(*)
    12

  • Restore database in the same server but with other sid (name)

    i try to restore the database in the same server but with other sid (name) . The backup is on tape and
    I want to know the steps I should follow.
    thank.

    To perform restore of database in same host to choose another DB name you can go for
    1) duplicate using RMAN.
    Directory structure should be different so take care of db_file_name_convert & log_file_name_convert parameters
    Also check the Tns services exactly is it pointing to target & auxiliary
    http://www.shutdownabort.com/quickguides/clone_rman.php
    http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php

  • To configure SSIS packages out of these SQL Server Standard, Web and Workgroup editions which is preferred?

    Hi All,
    To configure SSIS packages out of these SQL Server Standard, Web and Workgroup editions which is preferred?
    Grateful to your time and support. Regards, Shiva

    Hi Shiva,
    SSIS designer and runtime, basic transforms, and data profiling tools are only supported by Standard and higher editions. Besides, some advanced SSIS adapters such as High performance Oracle/Teradata destination and Dimension processing destination adapter
    are only supported in Enterprise edition. So, if you need to develop/modify SSIS packages on this server, Standard or even Enterprise editor is recommended.
    Reference:
    http://msdn.microsoft.com/en-us/library/cc645993.aspx#SSIS 
    Regards,
    Mike Yin
    TechNet Community Support

  • Is there any T-code in which we edit the name of our company?

    Is there any T-code in which we edit the name of our company?
    Actually what a prob. is i made a smartforms in which i pick the name of may comany but its too long so i want to edit my company name so that the databse pick the name & its shown in the form.
    The table is ADRC in which the company name is shown.
    Thanks,
    Sumit.

    Hi,
    you want to display VARDHMAN POLYTEX LTD-Unit 2 Expansion as  VPL- Unit 2 Expansion. in output.
    For every Adress number you have option of NAME1 and NAME2.
    NAME1  : VARDHMAN POLYTEX LTD-Unit 2 Expansion
    NAME2  :  VPL- Unit 2 Expansion.
    If you are taking company code name in your samrtform.  Ask your functional consultant to maintain NAME2  in company code address.
    T.code for company code OX02.
    Regards,
    Chandra
    Edited by: chandra sekhar S on Oct 8, 2008 1:18 PM

Maybe you are looking for