How to know whether the database is using SPFILE or PFILE

How can i know whether the database is using SPFILE or PFILE.
There are both initSID.ora and spfileSID.ora in default location.
The registry entry for ORA_SID_PFILE is C:\oracle\ora90\database\initSID.ora
Also, if it is using SPFILE than how can i modify the non dynamic parameters when the database is in the close state.
Manu

If you do not specify a path of a pfile , when you actually startup a database , then it will be use your pfile , if you specify a path explicitly fot a pfile , then it'll use your pfile.
Also, if it is using SPFILE than how can i modify the non dynamic parameters when the database is in the close state.sql > create spfile from pfile ;
the spfile will syncronise with pfile .
Hare krishna
Alok

Similar Messages

  • How to know whether the current database is using a password file or not?

    How to know whether the current database is using a password file or not?

    The remote_password_file is the parameter that determines if you can use or not a password file. The values this parameter can have are NONE, SHARED, EXCLUSIVE. It is pretty obvious, if it is set to either SHARED or EXCLUSIVE the oracle instance has enabled the access through a password file for the SYSDBA and SYSOPER roles.
    ~ Madrid

  • How to know whether the Content Type at Library level is Inheriting Parent Content type or not Using Powershell?

    Hi,
    How to know whether the Content Type at Library level is Inheriting Parent Content type or not using Powershell?
    Is there any property for that? Or Do I need to compare the Content type Id's at Site collection level and Library level?
    Any help would be greatly appreciated.
    Thank you,
    AA.

    Hi Ashok,
    For a content type, there is an attribute called Inherits, the value of this attribute determines whether the content type inherits fields from its parent content type when it is created.
    If Inherits is TRUE, the child content type inherits all fields that are in the parent, including fields that users have added.
    If Inherits is FALSE or absent and the parent content type is a built-in type, the child content type inherits only the fields that were in the parent content type when SharePoint Foundation was
    installed. The child content type does not have any fields that users have added to the parent content type.
    More information, please refer to the link:
    https://msdn.microsoft.com/en-us/library/office/aa544268.aspx?f=255&MSPPError=-2147217396
    Best Regards,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to know whether the javascript is disabled or not while loading the jsp

    Hi,
    My query is like how to know whether the javascript is disabled or not while loading the Application main JSP in Mozilla browser.
    I want some Java code or JavaScript code.

    To the point, just let JS fire a specific HTTP request inside the same session.
    This can be done in several ways. 1) Create a hidden <img> element and set the `src` attribute so that it will request a (fake) image from the server. The server just have to intercept on this specific request. 2) Fire an ajaxical request and let the server intercept on it. You can use a Filter for this which sets a token in the session scope to inform that the client has JS enabled.

  • [help]how to know whether the given column exists in the table or not????

    Hi all, can anyone tell me how to write a C# code help me to know whether the given field exists.
    If it doesnt exists then i want to alter the table to include this column also
    I am able to write the code for alter table but i m not sure how do i check for its existence/nonexistence
    My Altering code
    {color:#800000}cmd.CommandText = "alter table " + row.ToString() + " add(" + sQuality + " varchar2(50), " +
    sTimeStamp + " varchar2(50), " +
    sValue + " varchar2(50))";
    cmd.CommandType = CommandType.Text;
    cmd.ExecuteReader();
    {color}

    Just iterate the datatable after completion and check for your column.
            public static DataTable MaterializeTableStructure(string _connectionString, string _tableName)
                DataSet ds = null;
                using (OracleConnection _oraconn = new OracleConnection(_connectionString))
                    try
                        _oraconn.Open();
                        string sql = "SELECT COLUMN_NAME, DATA_TYPE, NULLABLE, DATA_LENGTH, DATA_PRECISION, DATA_SCALE FROM user_tab_columns where table_name='" + _tableName + "'";
                        using (OracleCommand cmd = new OracleCommand(sql, _oraconn))
                            cmd.CommandType = CommandType.Text;
                            using (OracleDataAdapter da = new OracleDataAdapter(cmd))
                                ds = new DataSet("MaterializeTableStructure");
                                da.Fill(ds);
                    catch (OracleException _oraEx)
                        throw (_oraEx); // Actually rethrow
                    catch (System.Exception _sysEx)
                        throw (_sysEx); // Actually rethrow
                    finally
                        if (_oraconn.State == ConnectionState.Broken || _oraconn.State == ConnectionState.Open)
                            _oraconn.Close();
                if (ds != null)
                    return ds.Tables[0];
                else
                    return null;
            }r,
    dennis

  • How to know whether the installed Oracle is 32 bits(or 64 bits)?

    I have installed Oracle 8.1.6 on HP-UX 11(64 bits OS ), But I dont know whether the oracle is 64 bits.
    How can I get to know it?
    Thanks!
    null

    Hi, This is late though, but to let you know that Oracle 8.1.6 is 64-bits
    Duronke
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by zhihui zu ([email protected]):
    I have installed Oracle 8.1.6 on HP-UX 11(64 bits OS ), But I dont know whether the oracle is 64 bits.
    How can I get to know it?
    Thanks!
    <HR></BLOCKQUOTE>
    null

  • How to know whether the changes are implemented by sap or not(not manually)

    Hi,
    On 4.7 version in some standard objects(SAP Objects) some changes are done by custom by using modification assistance.
    On ecc 6.0 version I need to know whether the same changes are done by custom or sap? ( not manually)
    Let me know is there any process to know the changes done by sap or custom on ecc 6.0.
    Thanks,
    Radhika

    Hi ,
    u can check  for entries  in table ADIRACCESS.
    Regards
    prabhu

  • Thinkpad Yoga 14: How to know whether the model had separate trackpad buttons or not

    So Lenovo has released the 2015 version of the Thinkpad Yoga 14. In the online manual it says that some models do and others don't have separate trackpad buttons. How do you know whether the specific models offers do or don't?
    The images in Lenovo's online store show the Thinkpad Yoga 14 without the separate buttons...

    1. Delete all applications you got from the Mac App Store. Also delete any pirated copies of App Store products that you may have installed.
    2. Rebuild the Spotlight index as follows:
    From the menu bar, select
     ▹ System Preferences ▹ Spotlight ▹ Privacy
    The list of items excluded from Spotlight indexing is shown (it may be empty.) Click the plus (“+”) icon to add an item to the list. Select your volume (under DEVICES) and add it to the list. Then remove it from the list by selecting it and clicking the minus (“-“) icon.
    Spotlight will rebuild the index. If you try to do a Spotlight search now from the magnifying-glass icon in the top right corner of the display, a pulsing dot will appear in the icon. When the dot disappears, the indexing is complete.
    3. Check that the Apple ID associated with your account in the Users & Groups preference pane is correct.
    4. Reinstall the applications you deleted by downloading them from the App Store.

  • How can I change the database & schema used by an Application?

    Hi community,
    I am very new on Essbase and I need help to find out how can I change the database connection (and schema) used by the database of an Application. The figure is that I need to point this database to a QA environment (currently it points to DEV).
    If I do a right click over the properties of the database, I can see the following tabs: [ General ][ Dimensions ][ Statistics ][ Modifications ][ Compression ]. However, there is no option to change the database connection.
    Is there a way to do this?
    Thanks in advance for any help! Cheers!

    Are you trying to change a database connection of Planning application?
    Essbase application do not have a relational connection.
    Regards
    Celvin
    http://www.orahyplabs.com

  • Is there a FM that lets you know whether the database is being locked/down?

    Dear experts,
    I have a situation here where i need to know if the database is being locked or being down.
    I understand that there is a DBID that will determine its availability.
    Thanks for your kind assistance.
    Regards
    Earl

    hi
    for locking:
    CALL FUNCTION 'ENQUEUE_E_TABLE'
    EXPORTING
    tabname = 'ZTABLE'
    EXCEPTIONS
    foreign_lock = 1
    system_failure = 2
    OTHERS = 3.
    for Unlocking:
    CALL FUNCTION 'DEQUEUE_E_TABLE'
    EXPORTING
    tabname = 'ZTABLE'.

  • How to know whether the phone is replaced or not?

    Dear All,
    Please help in how to know whether Iphone 5 is replaced or not? I came to know that on replacement, imei number gets changed. please make me aware.

    Nobody here can make you aware.  You need to contact Apple directly.

  • How to know whether the tables in function module is importing or exporting parameter?

    Hi guys,
    Why the tables are used in function modules, I knw it transfers internal tables, but thing is that how would i know instantly that whether table is getting imported or exported to the funtion module? Do i need to go through program flow or can we know just by seeing the function module?

    Hi anjali,
                   Tables are like multi line containers ,which can act as both import and export parameters .
                   means,the data in the table can be used by the function module during  its execution and the                same table can be populated with result after the fm execution .
      you can also refer :http://help.sap.com/saphelp_erp60_sp/helpdata/en/d1/801ece454211d189710000e8322d00/content.htm 
    Regards,
    Krishna.

  • How to know whether the file is opened or not

    Hi All,
    In the file handling,
    Before writing OPEN DATA SET, I want to know the file is already opened or not.
    Please help me out in this regard.
    Thanks and regards,
    Mallareddy

    Hi,
    Please try GET DATASET statement.
    Syntax:
    GET DATASET dsn.
    Extras:
    1. ... POSITION pos
    2. ... ATTRIBUTES attr
    In some cases, the syntax rules that apply to Unicode programs are different than those for non-Unicode programs. For details, see File Interface.
    Effect
    Used to get the properties of a file already open.
    You can use this statement without additions to determine whether the file is open.
    If the file is not open, an exception of the type CX_SY_FILE_OPEN_MODE is triggered.
    Regards,
    Ferry Lianto

  • Based on a SQLException how to know if the database is down?

    Hi
    How can I know based on a SQLException that the database is down?. I know I can check the errorCode but which error codes indicate that the database is DOWN or not available?
    Regards,
    Néstor Boscán

    If the SQLException is IO exception: Connection refused, one of the causes is that the database instance has not been started. If the SQLException is
    IO exception: The Network Adapter could not establish the connection., one of the causes is that the database TNSListener has not been started.

  • How to know exactly the database update have finished?

    Hi all,
      I use BDC to confirm a Transfer Order, the last screen is reserved for user. User may confirm all the items or some of them or none. So I want to select the TO item data after the BDC to get the confirmed items for the nexe process. Now the problem is, if I select data just after the BDC, the database still not updated yet, so I have to use the statement: WAIT UP TO 2 SECONDS. Is there any better solution for this?

    U can check the lock enteries using below code
      DATA : WRK_SEQG3 TYPE TABLE OF SEQG3.
    DO.
        CALL FUNCTION 'ENQUEUE_READ'
             EXPORTING
                  GCLIENT = SY-MANDT
                  GNAME   = <table neme>
             TABLES
                  ENQ     = WRK_SEQG3.
        CHECK WRK_SEQG3[] IS INITIAL.
        EXIT.
      ENDDO.
    If the control comes out of this do loop then u can find the data in table...so ur select condition wont fails
    Regds
    gv

Maybe you are looking for

  • Mac vs. PC for Premiere Pro CC with a budget of...

    $3300.00  ... That's what I'm budgeting. Warning: I know any post of Mac vs. PC can spark a lively debate and I sense much of this forum's base are PC users but hopefully I'll get some honest and sound advice/purchase options. Purpose: I'm a current

  • Flex 2 beta 3 compiler confused by syntactic error

    Hi, The Flex Builder 2 beta 3 compiler seems to get confused by a specific syntactic mistake I've made in my code. It is not making a "proper" syntax error report. It's instead throwing a nasty "An internal build error has occurred. Please check the

  • Create po in backend

    hi I am on SRM 7.01 and using the classic scenario process SC created in SRM - > SC goes to approving ->Manager approved the Sc -> system create PR or PO or RS Automatically in backend as a follow on doc problem:  when purchaser create sc and manager

  • Structure Authorization Steps

    Dear All, Can you please let me know about Structure Authorization and the steps by steps process. I have search the SDN but not got the satisfied ans. Thanks in Advance. Regards Vikash

  • TS3989 Windows 7 Photostream folder issues

    For some reason a month back my folder quit populating with the photos take on my iPhone 4s. I've reset Photostream system and double checked with all support literature regarding this to no avail. I do have two Apple ID's that merged on my phone by