can we use advice in the oracle 11g version?

can we use advice in the oracle 11g version? It works?

Prasad wrote:
can we use advice in the oracle 11g version? It works?

Hello

Yes

Please find the document
http://docs.Oracle.com/CD/E11882_01/server.112/e16638/hintsref.htm

Concerning
Hitgon

Published by: hitgon on April 25, 2012 15:24

Tags: Database

Similar Questions

  • How to disable the trace files in the oracle 11g version

    Senario: trace file grow
    How to disable the trace files in the oracle 11g version
    pls guide with best practices

    NATHALIE wrote:
    Senario: trace file grow
    How to disable the trace files in the oracle 11g version
    pls guide with best practices

    11 g, there is an extended tracing which happens for reasons best known only to Oracle. But if you want to disable, Coskan had published a small ticket mentioning a parameter not documented (which means you should think twice before using it) to disable it - disablehealth_check *. Here you can read the full message,
    http://Coskan.WordPress.com/2009/06/03/too-many-trace_file-on-11g/

    Aman...

  • Advice of the Oracle

    Hello

    I want to know if it is possible to avoid using an index in a query.
    For example, I've defined 3 column index on a table named 'SUMMARY_VECTOR' with the following names, respectively:
    1 SUMMARY_VECTOR_ENTITY_NAME_IDX
    2 SUMMARY_VECTOR_IDX_CASE_NAME
    3 SUMMARY_VECTOR_VECTOR_ID_IDX

    I want to know if I can avoid using one of the three indices in my query by using the advice of the oracle.
    If it is possible, please if can u post an example

    Thank you

    Use no_index hint: / * + NO_INDEX (index_name table_name) * /.

    http://download.Oracle.com/docs/CD/B10501_01/server.920/a96533/hintsref.htm#5300

  • Import of XML in the oracle 11g database

    I have some difficulty parsing of an XML file in the oracle 11g database.

    Currently using Oracle 11 g Express Edition (XE)

    Here's how my XML file looks like this:


    <? XML version = "1.0" encoding = "UTF-8" standalone = "yes"? >
    -< AccountMap xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" >
    -< account >
    -< AccountMapping >
    < AccountID > 0000000000000 - 000 < / AccountID >
    < AccountName > XLS < / AccountName >
    Excel < AccountType > < / AccountType >
    < AccountOwner > system < / AccountOwner >
    < / AccountMapping >
    -< AccountMapping >
    < AccountID > 0000000000000 - 001 < / AccountID >
    < AccountName > XLSS < / AccountName >
    Excel2 < AccountType > < / AccountType >
    System2 < AccountOwner > < / AccountOwner >
    < / AccountMapping >
    -< AccountMapping >

    and so now the file continues... I have the xml file that is saved on my hard drive

    I created a package in SQL Developer

    create or replace
    PACKAGE XML_FILEHANDLER AS

    type TRecord is (record
    Account_ID varchar2 (100)
    , Varchar2 (100) AccountName
    , Varchar2 (30) AccountType
    , AccountOwner varchar2 (100)
    );

    type TRecordTable is table of the TRecord;

    getRows function (p_directory in varchar2, p_filename in varchar2) return TRecordTable pipeline;

    END XML_FILEHANDLER;

    -BODY

    create or replace
    PACKAGE BODY XML_FILEHANDLER AS

    getRows function (p_directory in varchar2, p_filename in varchar2) return TRecordTable AS pipeline

    nb_rec NUMBER: = 1;
    tmp_xml CLOB.
    tmp_file CLOB.
    REC TRecord;

    BEGIN

    DBMS_LOB.CREATETEMPORARY (tmp_file, true);
    tmp_file: = dbms_xslprocessor.read2clob (p_directory, p_filename);

    recomm. Account_ID: = regexp_replace (tmp_file, '. * <>(. *) Account_ID < / Account_ID >. *', '\1', 1, 1, 'n');
    recomm. AccountName: = regexp_replace (tmp_file, '. * < AccountName >(.*) < / AccountName >. *', '\1', 1, 1, 'n');
    recomm. AccountType: = regexp_replace (tmp_file, '. * < AccountType >(.*) < / AccountType >. *', '\1', 1, 1, 'n');
    recomm. AccountOwner: = regexp_replace (tmp_file, '. * < AccountOwner >(.*) < / AccountOwner >. *', '\1', 1, 1, 'n');

    loop

    -This regexp is instance (s) of this model: "<? XML...? ' > < root_tag >... < / root_tag >.
    tmp_xml: = regexp_substr ([tmp_file, ' < \?xml[^?] +------? > \s+ < ([^ >] +) >. *? < / \1 > ', 1, nb_rec, 'n');
    When the output length (tmp_xml) = 0;
    -dbms_output.put_line (tmp_rec);
    nb_rec: = nb_rec + 1;

    SELECT Account_ID AccountName, AccountType, AccountOwner
    in rec. Account_ID, rec. AccountName, AccountType rec. rec. AccountOwner
    from xmltable)
    "Accounts/AccountMapping" in the way of xmltype (tmp_xml) columns
    Path of varchar2 (100) Account_ID 'Account_ID '.
    , Path of varchar2 (100) AccountName "AccountName".
    , AccountType varchar2 (30) path 'AccountType '.
    , Path of varchar2 (100) AccountOwner "AccountOwner.
    );

    line (CRE);

    end loop;

    DBMS_LOB.freeTemporary (tmp_file);

    GetRows END;

    END XML_FILEHANDLER;

    -I call my function using the following sql query

    Select * from table (XML_FileHandler.getRows ("XML", "test.xml"));

    Here is the error I get

    ORA-29283: invalid file operation
    ORA-06512: at "SYS." UTL_FILE", line 536
    ORA-29283: invalid file operation
    ORA-06512: at "XDB". DBMS_XSLPROCESSOR', line 265
    ORA-06512: at "user. XML_FILEHANDLER', line 13
    29283 00000 - "invalid file operation.
    * Cause: An attempt was made to read from a file or a directory which is
    not exist, or the file or directory access was denied by the
    Operating system.
    * Action: Check access privileges to the file and directory on the file system
    and if reading, check that the file exists.

    I did the following

    -Provided appropriate access to the user (read, write), including directory access rights
    -ensure that the directory exists
    -to ensure the existence of the file

    I have searched all over google and metalink but am unable to get this to run... Help, please!

    >
    SELECT Account_ID AccountName, AccountType, AccountOwner
    in rec. Account_ID, rec. AccountName, AccountType rec. rec. AccountOwner
    from xmltable)
    "Accounts/AccountMapping" in the way of xmltype (tmp_xml) columns
    Path of varchar2 (100) Account_ID 'Account_ID '.
    , Path of varchar2 (100) AccountName "AccountName".
    , AccountType varchar2 (30) path 'AccountType '.
    , Path of varchar2 (100) AccountOwner "AccountOwner.
    );
    >
    implement

    SELECT Account_ID, AccountName, AccountType, AccountOwner
    into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
    from xmltable(
    'AccountMap/Accounts/AccountMapping' passing xmltype(tmp_xml) columns
    Account_ID varchar2(100) path 'Account_ID'
    , AccountName varchar2(100) path 'AccountName'
    , AccountType varchar2(30) path 'AccountType'
    , AccountOwner varchar2(100) path 'AccountOwner'
    );
    
    SQL> SELECT Account_ID, AccountName, AccountType, AccountOwner
      2  --into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
      3  from xmltable(
      4  'AccountMap/Accounts/AccountMapping' passing
      5  xmltype('
      6  
      7  
      8  
      9  0000000000000-000
     10  XLS
     11  Excel
     12  System
     13  
     14  
     15  0000000000000-001
     16  XLSS
     17  Excel2
     18  System2
     19  
     20  
     21  ')
     22  columns
     23  Account_ID varchar2(100) path 'Account_ID'
     24  , AccountName varchar2(100) path 'AccountName'
     25  , AccountType varchar2(30) path 'AccountType'
     26  , AccountOwner varchar2(100) path 'AccountOwner'
     27  );
    
    ACCOUNT_ID                                                                       ACCOUNTNAME                                                                      ACCOUNTTYPE                    ACCOUNTOWNER
    -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- ------------------------------ --------------------------------------------------------------------------------
                                                                                     XLS                                                                              Excel                          System
                                                                                     XLSS                                                                             Excel2                         System2
    
    SQL> 
    

    AccountID use AccountID not Account_ID

    Account_ID varchar2(100) path 'AccountID'
    

    Published by: Alexandr on August 9, 2012 12:35 AM

  • Log file that can be used to track the HFR reports HTML preview

    Hello

    Could if it you please let me know the log file which can be used to track the preview HTML of the HFR reports?

    Thank you
    Aparna

    You can check the FinancialReporting0.log and the FRLogging.log. You can return the same thing in the
    "http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_troubleshooting_11121.pdf", page 47.

  • I have downloaded whatsapp in iTunes on my mac laptop but can't open it or use it. I have already on my iPhone 5. How can I use it on the laptop? Thank you

    I have downloaded whatsapp in iTunes on my mac laptop but can't open it or use it. I have already on my iPhone 5. How can I use it on the laptop? Thank you

    You download it from iTunes or the App Store? An iTunes download works with an IOS device, not a computer.

  • AD can be used to configure the registry?

    Active directory can be used to configure the registry? My understanding is that only local security settings can be configured using Group Policy in the ad. I've always written scripts of security in order to harden the registry. Please adise, thank you

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • is Acer Liquid Z320 smart phone really unlocked and can be used all over the world?

    is Acer Liquid Z320 smart phone really unlocked and can be used all over the world?

    NETWORK

    TechnologyGSM / HSPA
    2G-bandingGSM 850 / 900 / 1800 / 1900 - SIM 1 and SIM 2 (model dual-SIM only)
    3G bandsHSDPA
    Speed42.2/5.76 Mbps HSPA
    GPRSYes
    EDGEYes

    http://www.GSMArena.com/acer_liquid_z320-7531.php

    These are the tapes supported Z320, if as long as it is unlocked, you mean the possibility to use different carriers in the world, that Yes it is.

    at least if your don't buy it with a specific transport contract.

  • Order WMI - what command can I use to get the temperature of the GPU?

    Which command can I use to get the temperature of the GPU in WMI?

    Hi Daniel_99,

    ·         Do you use some kind of scripts?

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows XP forum.

    http://social.technet.Microsoft.com/forums/en-us/category/windowsxpitpro

     

    I hope this helps.

  • Windows 7 and windeos 10 can be used together on the same PC?

    Windows 7 and windeos 10 can be used together on the same PC?

    Yes, you can, but you must purchase the full license details and do. You cannot use the free upgrade offer for dual boot.

    Will I be able to choose a different drive or partition where I installed upgrading?

    No, it will take you run an earlier version of qualification and start the update of the release candidate.

    I want to dual boot instead of replace my current version of Windows.

    If you need to install 10 Windows on a partition or separate hard disk, you will need to purchase a full license.

    Retail price of price information:

    Edition Price
    Windows 10 home US $119
    Windows Pro 10 US $199
    Pro Windows 10 Pack US $99

    Resources: http://answers.microsoft.com/en-us/insider/wiki/insider_wintp-insider_install/how-to-dual-boot-windows-10-with-previous-versions/9695dfc7-1c13-4d8d-b10b-587e78c6ac36

  • Application of windows 8... can I use to open the ram files and how does it work?

    application of windows 8... can I use to open the ram files and how it works

    I think you are talking about the files with a. Extension of RAM. If that is the case, have a read of the information at the link following, be careful, do not click on the buttons of the big 'Download Now' here, they are simply advertisements:

    http://www.FileInfo.com/extension/RAM

    Real Player is a program that should help you to open these files. You can search and download the Windows Real Player 8 compatible version on their site.

    I hope this helps!

  • When you buy an extended image lisence adobe stock can I use it as the back ground for a mail announcing who will be on the first page of my business profitable online store?

    When you buy an extended image lisence adobe stock can I use it as the back ground for a mail announcing who will be on the first page of my business profitable online store?

    Adobe Stock license allows you to use your assets anywhere in the world, and the license never expires. You can use the assets, in print, presentations, Web sites and even on social media sites. However, you may not distribute digital assets by posting it online or in any other way that would leave other people to use the assets without permission it is.

    from there:

    Royalty-free images, pictures and graphics. Adobe Stock

  • What API can be used to update the table cs_estimate_details (repair)

    I need to update the columns 'pricing_context' and 'pricing_attribute1' in the cs_estimate_details table.

    Which API can be used to update the columns. Where can I update the table directly?

    Try to use this "CS_Charge_Details_PVT" which in turn call "CS_ESTIMATE_DETAILS_PKG".

  • Any idea which function Essbase or a combination of function can be used to get the level zero members of a list of members.

    Any idea which function Essbase or a combination of function can be used to get the level zero members of a list of members. I know that @RELATIVE or @DESCENDANTS cannot be used.

    If you want to fix on all level 0 members in a member set, then maybe @ILDESCENDANTS will work for you.  Something like: @ILDESCENDANTS (@LIST (members), 0)

  • If I buy the first pro adobe license, can I use it on the cs4 version?

    If I buy the first pro adobe license, can I use it on the cs4 version? Or how do I unstall latest version on windows 7 x 86

    No, licenses are only valid for the version for which they are purchased.  CS6 license will work not for a CS4 product.

Maybe you are looking for