Issue in 10g

If we run the same query in oracle 9i and 10g versions it returns the same result set and number of rows . But the order by differs b/w the oracle 9i and 10g versions
Query
select distinct * from vw_name where col_1 = 1 and coll_2 = 50 and col_3=1
result set attached here with please find the attached file

Welcome to the forums !
Pl identify which specific versions of "9i" and "10g". MOS Doc 345048.1 ('Group By' Does Not Sort If You Don'T Use Order By In 10g) may have some helpful information.
HTH
Srini

Similar Messages

  • BULK COLLECT Issues in 10g

    I have a procedure that runs a function which uses BULK COLLECT INTO on a 9i database. When I try to run the same procedure with the same function on 10g, it fails. I can't figure out how to find the exact error message but have narrowed it down to the following:
    In the main procedure, I have this:
    Select Count(ApprId) into v_cnt
         From TABLE(udf_OverallPerms(v_camid))
         Where ApprId in
              (Select M_ApprId
                   From PM_MetricDefApproved Where M_AreaValueId=v_areaValueId and M_ParentId = 0
                   UNION
                   Select MDAC.M_ApprId
                   From PM_MetricDefApproved MDAC,
                        PM_MetricDefApproved MDAP
                   Where MDAC.M_ParentId=MDAP.M_ApprId
                        and MDAP.M_AreaValueId=v_areaValueId and MDAC.M_ParentId > 0);
    The code for the function is as follows:
    CREATE OR REPLACE FUNCTION udf_OverallPerms(v_UserCAMID IN VARCHAR2)
    RETURN OVERALL_TBL
    AS
         v_data OVERALL_TBL := OVERALL_TBL();
    BEGIN
         Select OVERALL_REC(ApprId, MAX(bRead), MAX(bWrite),
              MAX(bApprove), MAX(bDelete),
              MAX(bAdmin), MAX(bView), MAX(bViewWrite))
         BULK COLLECT INTO v_data
         From vwObjectRoles
         Where (ObjectId IN
              (Select GroupId as ObjectId from vwUsersInGroups
              Where UserCAMID=v_UserCAMID)
              AND ObjectTypeId=(Select ObjectTypeId From PM_ObjectTypes Where ObjectTypeCode='GRP'))
              OR
              (ObjectId =
              (Select UserId as ObjectId FROM PM_UserLookup
              Where UserCAMID=v_UserCAMID)
              AND ObjectTypeId=(Select ObjectTypeId From PM_ObjectTypes Where ObjectTypeCode='USER'))
         Group By ApprId;
         return v_data;
    END;
    Does anyone know of any issues in 10g with this? I have been banging my head on this for a day now.
    Thanks,
    Greg

    OK. I managed to get the EXCEPTION. Not sure it helps or not.
    ORA-02055: distributed update operation failed; rollback required
    ORA-22905: cannot access rows from a non-nested table item
    ORA-06512: at "C83_WEBDEV_PERFORM.USP_C8IMPORT_POLICY", line 179
    ORA-06512: at line 17
    Version is 10.2.0.1.

  • Upgrade issues OBIEE 10g to 11g along with OBIA upgrade

    Hi,
    I have to upgrade OBIEE 10.1.3.4.1 to OBIEE 11.1.1.5 along with OBIA 7.9.6.1 to 7.9.6.5(Informatica 8.6.1 to 9.0.1) at my client location and I have very little knowledge on it. and want to know/have help documents for upgrade.
    And if anyone in the forums involved in upgrade please list the errors/issues occured during upgrade and after upgrade.
    1. OBIEE 10g to 11g upgrade issues??
    2. OBIA OBIA 7.9.6.1 to 7.9.6.5 upgrade issues along with 10g to 11g??
    3. Informatica 8.6.1 to 9.0.1 upgrade issues??
    4. DAC upgrade issues??
    any response for my questions is appreciated.
    Thanks
    Jay.
    Edited by: Jay on Apr 11, 2012 9:11 AM

    HI Jay,
    We cannot explained thread list here, If you get any errors plz post me,will try to help out.
    This is oracle document link - This document has given step by step with screen shots upgration for 10g to 11g ,Please refer the below link.
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/upgrade/upgrade_to_11g.htm
    http://obieemanu.blogspot.in/2011/05/rpd-upgration-from-10g-to-11g.html
    http://docs.oracle.com/cd/E21764_01/upgrade.1111/e10125/ua_command_line.htm#ASMAS149
    Award points it is useful.
    Thanks,
    satya

  • Unable to take the printer files and printing issues in 10g reports

    Hi all
    recently i have migrated reports and forms to 10g. able to view reports thru browser properly when i am printing , alignment is getting disturbed. we have printer files , copied in forms directory as well as in reports directory.
    how to print the report output from browser to printer .
    all reports are character mode reports.
    plz help me to sort out the issue.
    venu

    Good Morning venu,
    We generate to File as PDF and we could print after saving in local or network folders.
    It works for us.
    If you have any more questions, please post it.
    Otherwise
    Mark Helpful or Correct accordingly
    Edited by: New Yorker on Nov 18, 2010 10:03 AM

  • Fonts issue on 10g Reports (Linux)

    A while back I posted some questions about installing fonts on Linux RHEL 5.
    Currently, I'm in process of upgrading Client/Server Forms/Reports from 6i on a Windows platforms to 10g forms/reports on a Linux RHEL5 platform. No database is installed on the server since we are using the TNSNames in the Network Admin to connect to the database.
    I have been able to convert all forms and all reports to 10g. I had an issue with the Arial, Arial Narrow, and Courier New fonts not displaying in output when I generated a PDF file via the screen using the WEB.SHOW_DOCUMENT command. The fonts were translating. I was able to use Metalink Note 261879.1 and run the scripts to generate the AFM files and copy the TTF fonts to the appropriate directories. When I run the reports in 10g on Linux, those 3 fonts display just fine.
    However, I have 3 other fonts (Monotype Sorts, Arial Unicode MS, and one of Barcode fonts) that I need to get working. I've worked with Oracle Support and I'll be honest, the steps they are telling me either aren't very clear or just flat out aren't right.
    I've tried on Windows to use the ttf2pt1 program to generate the AFM files and copied those up to guicommon/tk/admin/AFM directory. I've copied the TTF file up to the associated directory. I've modified the uifont.ali directory to include the font, to no success.
    Has anyone tried to move a Windows font up to Linux (Unix) and got it to work successfully? If so, could you provide me some steps? I've really been trying to get this to work and would do anything at this point to get it to work. I've got about 5 reports that use these 3 fonts and if I get them working, I'm done.
    Please provide good detail, if possible. Oracle Support has just confused me more by providing notes to read and little tidbits here and there but haven't given me something that works in a straightforward manner.
    Chris

    My uifont.ali:
    # Corrected uifont.ali - Matt Jernigan, Brown University, 31 MAR 2010
    # Corrected [ Global ] aliasing standard Windows fonts.
    # Corrected [ PDF:Subset ] Arial Unicode MS and less standard fonts.
    # Note: These corrections do not necessarily match Oracle docs.
    # 05 APR 2010 - Decided to subset Arial, Arial Narrow, Courier New,
    # and Times New Roman in addition to Arial Unicode MS due to lack of
    # support of UTF-8 in Oracle's PDF engine at this time.  A charset
    # conversion feature for specific fonts would be nice but nothing was
    # found that was working such as arial.....=helvetica.....WE8ISO8859P1
    # $Header: uifont.ali@@/main/22 \
    # Checked in on Tue Jan  8 15:32:42 PST 2002 by idc \
    # Copyright (c) 1999, 2004, Oracle. All rights reserved. 
    # $
    # $Revision: tk2/admin/uifont.ali#0 $
    # Copyright (c) 1994, 2004, Oracle. All rights reserved. 
    #  All Rights Reserved.
    # DESCRIPTION:
    # Each line is of the form:
    #     <Face>.<Size>.<Style>.<Weight>.<Width>.<CharSet> = \
    #                      <Face>.<Size>.<Style>.<Weight>.<Width>.<CharSet>
    # The <Face> must be the name (string/identifier) of a font face.  The
    # <Style>, <Weight>, <Width>, and <CharSet> may either be a numeric
    # value or a predefined identifier/string.  For example, both US7ASCII
    # and 1 are valid <CharSet> values, and refer to the same character set.
    # The <Size> dimension must be an explicit size, in points.
    # The following is a list of recognized names and their numeric
    # equivalents:
    #     Styles                Numeric value
    #       Plain                      0
    #       Italic                     1
    #       Oblique                    2
    #       Underline                  4
    #       Outline                    8
    #       Shadow                    16
    #       Inverted                  32
    #       Overstrike                64
    #       Blink                    128
    #     Weights               Numeric value
    #       Ultralight                 1
    #       Extralight                 2
    #       Light                      3
    #       Demilight                  4
    #       Medium                     5
    #       Demibold                   6
    #       Bold                       7
    #       Extrabold                  8
    #       Ultrabold                  9
    #     Widths                Numeric value
    #       Ultradense                 1
    #       Extradense                 2
    #       Dense                      3
    #       Semidense                  4
    #       Normal                     5
    #       Semiexpand                 6
    #       Expand                     7
    #       Extraexpand                8
    #       Ultraexpand                9
    # Styles may be combined; you can use plus ("+") to delimit parts of a
    # style.  For example,
    #        Arial..Italic+Overstrike = Helvetica.12.Italic.Bold
    # are equivalent, and either one will map any Arial that has both Italic
    # and Overstrike styles to a 12-point, bold, italic Helvetica font.
    # All strings are case-insensitive in mapping.  Font faces are likely to
    # be case-sensitive on lookup, depending on the platform and surface, so
    # care should be taken with names used on the right-hand side; but they
    # will be mapped case-insensitively.
    # See your platform documentation for a list of all supported character
    # sets, and available fonts.
    # BUGS:
    #    o Should accept a RHS ratio (e.g., "Helv = Arial.2/3").
    #===============================================================
    [ Global ]  # Put mappings for all surfaces here.
    # Mapping from MS Windows
    #MJJ# - Unix apparently lowercases what it reads from the Report
    # and this case must be corrected.
    # Arial = Helvetica will not work. Likely due to Oracle not supporting
    # Regular as a weight such as Arial...Regular = Helvetica...Medium
    #arial               = Arial
    #"arial narrow"      = "Arial Narrow"
    #"courier new"       = "Courier New"
    #"times new roman"   = "Times New Roman"
    "ms sans serif"         = "MS Sans Serif"
    "microsoft sans serif"  = "Microsoft Sans Serif"
    # Note: I'm not providing AFM files for the Sans Serifs.  I'll let
    # the engine do with them as it sees fit.  Best to avoid use of them.
    # Arial Narrow is not really standard enough to be included here
    # so limit use to clients that are known to have it installed.
    # Consider moving Arial Narrow TTF's to the server and subsetting it.
    #MJJ# - Alternative mappings to the above. The PDF engine appears to
    # take liberty with mapping Courier New to Courier and Times New Roman
    # to Times and, if wanted, these mappings appeared to correct this
    # behavior.  Note: not thoroughly tested.  Changing the AFM files
    # from CourierNewPS to CourierNew and such may produce more compatible
    # results on Mac (just a guess) -- though leaving at Courier would be
    # most compatible.
    #arial..Italic.Bold..                = "Arial-BoldItalicMT"..Italic.Bold..
    #arial...Bold..                      = "Arial-BoldMT"...Bold..
    #arial..Italic...                    = "Arial-ItalicMT"..Italic...
    #arial                               = "ArialMT"
    #"courier new"..Italic.Bold..        = "CourierNewPS-BoldItalicMT"..Italic.Bold..
    #"courier new"...Bold..              = "CourierNewPS-BoldMT"...Bold..
    #"courier new"..Italic...            = "CourierNewPS-ItalicMT"..Italic...
    #"courier new"                       = "CourierNewPSMT"
    #"times new roman"..Italic.Bold..    = "TimesNewRomanPS-BoldItalicMT"..Italic.Bold..
    #"times new roman"...Bold..          = "TimesNewRomanPS-BoldMT"...Bold..
    #"times new roman"..Italic...        = "TimesNewRomanPS-ItalicMT"..Italic...
    #"times new roman"                   = "TimesNewRomanPSMT"
    # Mapping from Macintosh
    #"New Century Schlbk" = "new century schoolbook"
    #"New York"        = times
    #geneva            = helvetica
    #===============================================================
    [ Printer ]  # Put mappings for all printers here.
    #===============================================================
    [ Printer:PostScript1 ]  # Put mappings for PostScript level 1 printers here.
    # Sample Kanji font mappings
    ...UltraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...UltraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...ExtraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...ExtraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...Light..JEUC      = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...Light..SJIS      = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...DemiLight..JEUC  = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...DemiLight..SJIS  = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    .....JEUC           = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..JEUC
    .....SJIS           = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..SJIS
    # Mapping from MS Windows
    Roman             = palatino
    Script            = "itc zapf chancery"
    FixedSys          = courier
    System            = helvetica
    # Mapping from Macintosh
    "Avant Garde"     = "itc avant garde gothic"
    # Mapping from Motif display
    fixed             = courier
    clean             = times
    lucidatypewriter  = courier
    lucidabright      = times
    #===============================================================
    [ Printer:PostScript2 ]  # Put mappings for PostScript level 2 printers here.
    # Sample Kanji font mappings
    ...UltraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...UltraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...ExtraLight..JEUC = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...ExtraLight..SJIS = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...Light..JEUC      = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...Light..SJIS      = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    ...DemiLight..JEUC  = "Ryumin-Light-83pv-RKSJ-H"...Light..JEUC
    ...DemiLight..SJIS  = "Ryumin-Light-83pv-RKSJ-H"...Light..SJIS
    .....JEUC           = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..JEUC
    .....SJIS           = "GothicBBB-Medium-83pv-RKSJ-H"...Medium..SJIS
    # Mapping from MS Windows
    Roman             = palatino
    Script            = "itc zapf chancery"
    FixedSys          = courier
    System            = helvetica
    # Mapping from Macintosh
    "Avant Garde"     = "itc avant garde gothic"
    # Mapping from Motif display
    fixed             = courier
    clean             = times
    lucidatypewriter  = courier
    lucidabright      = times
    #===============================================================
    [ Printer:PCL5 ]  # Put mappings for PCL 5 printers here.
    helvetica         = univers
    times             = "cg times"
    clean             = "antique olv"
    fixed             = courier
    lucida            = univers
    lucidabright      = "cg times"
    lucidatypewriter  = courier
    "new century schoolbook" = univers
    terminal          = "line printer"
    #===============================================================
    [ Display ]  # Put mappings for all display surfaces here.
    #===============================================================
    [ Display:Motif ]  # Put mappings for Motif displays here
    # Fix for bug no 778937 DO NOT MOVE!
    Roman.....sjis    = lucida.....jeuc
    Script.....sjis   = lucidabright.....jeuc
    FixedSys.....sjis = fixed.....jeuc
    System.....sjis   = lucida.....jeuc
    .....sjis         = .....jeuc
    # Mapping from MS Windows
    Roman             = lucida
    Script            = lucidabright
    FixedSys          = fixed
    System            = lucida
    # Mapping from Macintosh
    "Avant Garde"     = helvetica
    "Bookman"         = times
    #===============================================================
    [ Display:CM ]     # Put mappings for all CM displays here.
    # These are DEC-specific, and may need localization
    *..Blink          = Blinking
    *..Inverted+Underline.Bold = ReverseBoldUnderline
    *..Inverted+Underline.     = UnderlineReverse
    *..Underline.Bold = UnderlineBold
    *..Inverted.Bold  = ReverseBold
    *...Bold          = Bold
    *..Underline      = Underline
    *..Inverted       = Reverse
    *                 = Plain                # The font of last resort
    #===============================================================
    # Oracle Report PDF sections
    # Three new sections have been added:
    # [ PDF ]         - Used for font aliasing and Multibyte language support
    # [ PDF:Embed ]   - Used for Type 1 font embedding
    # [ PDF:Subset ]  - Used for True Type Font subsetting
    # NOTES ON PRECEDENCE OF PDF SECTIONS:
    # If you have entries for a same font in many PDF sections, then Font
    # Aliasing entry will take precedence over Font Subsetting entry. Entries
    # in Font Subsetting will take precedence over the entries in Font Embedding
    # section.
    # Generic entries for a font must follow more specific entries for the same
    # font.  For instance, if you want to subset helvetica Plain, helvetica Bold,
    # helvetica Italic and helvetica Bold-Italic fonts, your entries must be:
    # [ PDF:Subset ]
    # helvetica..Italic.Bold.. = "Arialbi.ttf"
    # helvetica...Bold..       = "Arialb.ttf"
    # helvetica..Italic...     = "Ariali.ttf"
    # helvetica.....           = "Arial.ttf"
    # If helvetica..... entry appears in the top of the list, all the styles of
    # helvetica font in the layout will be subset as helvetica Plain font.
    [ PDF ]
    # This example shows how to rename helvetica font to Courier font
    # helvetica = Courier
    # You can Alias specific styles of font as below
    # helvetica.12..Bold.. = Courier.14....
    # "Lucida Bright".12..Bold = "New Century Schoolbook"
    # Support for Far Eastern Languages:
    # PDF section can be additionally used to enable Multibyte language support
    # built into Reports.  To use this feature with Adobe (r) Acrobat (c), you
    # need to install the Asian font pack available online at the Adobe web site.
    # .....SJIS = "HeiseiKakuGo-W5-Acro"
    # A Japanese report run with Shift-JIS character set is replaced to
    # HeiseiKakuGo-W5-Acro CID font.
    [ PDF:Embed ]
    # This example shows how to embed Type 1 helvetica font into the PDF file:
    # helvetica = "helvetica.afm helvetica.pfa"
    # You need to specify the .afm file before the .pfa file.
    # The font files must exist in one of the folders specified in REPORTS_PATH.
    [ PDF:Subset ]
    # This example shows how to subset Arial True Type font into the PDF file:
    # helvetica = "Arial.ttf"
    # The True Type font files must exist in any one of the folders specified in
    # REPORTS_PATH.
    # Subsetting TrueType Collection fonts:
    # Typically, a TTC font contains several fonts in one file. For example,
    # the TTC file, msgothic.ttc consists of three fonts in the order -
    # MS Gothic, MS PGothic and MS UI Gothic. To subset MS PGothic, the
    # entry in the PDF:Subset section of uifont.ali would be:
    # "MS PGothic" = "msgothic.ttc,1"
    #MJJ# - Removed old subset mappings.
    "arial unicode ms".....             = "ARIALUNI.TTF"
    arial..Italic.Bold..                = "arialbi.ttf"
    arial...Bold..                      = "arialbd.ttf"
    arial..Italic...                    = "ariali.ttf"
    arial                               = "arial.ttf"
    "arial narrow"..Italic.Bold..       = "arialnbi.ttf"
    "arial narrow"...Bold..             = "arialnb.ttf"
    "arial narrow"..Italic...           = "arialni.ttf"
    "arial narrow"                      = "arialn.ttf"
    "courier new"..Italic.Bold..        = "courbi.ttf"
    "courier new"...Bold..              = "courbd.ttf"
    "courier new"..Italic...            = "couri.ttf"
    "courier new"                       = "cour.ttf"
    "times new roman"..Italic.Bold..    = "timesbi.ttf"
    "times new roman"...Bold..          = "timesbd.ttf"
    "times new roman"..Italic...        = "timesi.ttf"
    "times new roman"                   = "times.ttf"
    tahoma...Bold..                     = "tahomabd.ttf"
    tahoma.....                         = "tahoma.ttf"
    # Tahoma is a narrower adaption of Verdana more appropriate for print.
    # Tahoma also has more charsets such as Arabic, Hebrew and Thai.
    # No italics.  Verdana and Tahoma were designed for screen anyhow.
    #MJJ# Miscellaneous Notes:
    # oracle::devlpar4:/u01/app/oracle/Forms1/fonts
    # ARIALUNI.TTF  arialbd.ttf   courbd.ttf    tahomabd.ttf  verdana.ttf
    # arial.ttf     cour.ttf      tahoma.ttf    times.ttf
    # PFA's might be found here: /usr/lib/X11/fonts/type1
    My screenprinter.ppd:
    *% Corrected screenprinter.ppd - Matt Jernigan, Brown U, 31 MAR 2010
    *% Reverted baseline from hp4mp6_1.ppd back to datap462.ppd (Oracle's
    *% default).  Added Arial, Arial Narrow, Arial Unicode MS, Courier New,
    *% Tahoma, and Times New Roman.
    *% 05 APR 2010 - ArialUnicodeMS wants to be before the other Arials
    *% for some unknown reason, else it is not found for subsetting.
    *PPD-Adobe: "4.0"
    *% Adobe Systems PostScript(R) Printer Description File
    *% Copyright 1987-1992 Adobe Systems Incorporated.
    *% All Rights Reserved.
    *% Permission is granted for redistribution of this file as
    *% long as this copyright notice is intact and the contents
    *% of the file is not altered in any way from its original form.
    *% End of Copyright statement
    *FormatVersion: "4.0"
    *FileVersion: "3.1"
    *PCFileName: "DATAP462.PPD"
    *LanguageVersion: English
    *Product: "(Dataproducts LZR 2665)"
    *PSVersion: "(46.2) 1"
    *ModelName: "Dataproducts LZR-2665"
    *NickName: "Dataproducts LZR-2665 v46.2"
    *% ==== Options and Constraints =====
    *OpenGroup: InstallableOptions/Options Installed
    *OpenUI *Option1/Optional Lower Tray: Boolean
    *DefaultOption1: False
    *Option1 True/Installed: ""
    *Option1 False/Not Installed: ""
    *CloseUI: *Option1
    *CloseGroup: InstallableOptions
    *UIConstraints: *Option1 False *InputSlot Lower
    *% General Information and Defaults ===============
    *ColorDevice: False
    *DefaultColorSpace: Gray
    *FreeVM: "178744"
    *LanguageLevel: "1"
    *VariablePaperSize: False
    *FileSystem: False
    *Throughput: "26"
    *Password: "0"
    *ExitServer: "
      count 0 eq {  % is the password on the stack?
        true
        dup    % potential password
        statusdict /checkpassword get exec not
      } ifelse
      {  %  if no password or not valid
        (WARNING : Cannot perform the exitserver command.) =
        (Password supplied is not valid.) =
        (Please contact the author of this software.) = flush
        quit
      } if
      serverdict /exitserver get exec
    *End
    *Reset: "
      count 0 eq {  % is the password on the stack?
        true
        dup    % potential password
        statusdict /checkpassword get exec not
      } ifelse
      {  %  if no password or not valid
        (WARNING : Cannot reset printer.) =
        (Password supplied is not valid.) =
        (Please contact the author of this software.) = flush
        quit
      } if
      serverdict /exitserver get exec
      systemdict /quit get exec
      (WARNING : Printer Reset Failed.) = flush
    *End
    *DefaultResolution: 300dpi
    *?Resolution: "
    save
      initgraphics
      0 0 moveto currentpoint matrix defaultmatrix transform
      0 72 lineto currentpoint matrix defaultmatrix transform
      3 -1 roll sub dup mul
      3 1 roll exch sub dup mul
      add sqrt round cvi
      (          ) cvs print (dpi) = flush
    restore
    *End
    *% Halftone Information ===============
    *ScreenFreq: "50.0"
    *ScreenAngle: "54.0"
    *DefaultScreenProc: Dot
    *ScreenProc Dot: " {dup mul exch dup mul add sqrt 1 exch sub } "
    *ScreenProc Line: "{ pop }"
    *ScreenProc Ellipse: "
    { dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
    *End
    *DefaultTransfer: Null
    *Transfer Null: "{ }"
    *Transfer Null.Inverse: "{ 1 exch sub }"
    *% Paper Handling ===================
    *% Use these entries to set paper size most of the time, unless there is
    *% specific reason to use PageRegion.
    *OpenUI *PageSize: PickOne
    *OrderDependency: 30 AnySetup *PageSize
    *DefaultPageSize: Letter
    *PageSize Letter: "statusdict /lettertray get exec letterR"
    *PageSize Letter.Transverse: "statusdict /lettertray get exec letter"
    *PageSize Legal: "statusdict /legaltray get exec"
    *PageSize Ledger: "statusdict /ledgertray get exec"
    *PageSize Statement: "statusdict /statementtray get exec"
    *PageSize Tabloid: "statusdict /11x17tray get exec"
    *PageSize A3: "statusdict /a3tray get exec"
    *PageSize A4: "statusdict /a4tray get exec a4R"
    *PageSize A4.Transverse: "statusdict /a4tray get exec a4"
    *PageSize A5: "statusdict /a5tray get exec"
    *PageSize B4: "statusdict /b4tray get exec"
    *PageSize B5: "statusdict /b5tray get exec b5R"
    *PageSize B5.Transverse: "statusdict /b5tray get exec b5"
    *CloseUI: *PageSize
    *% These entries will set up the frame buffer. Usually used with manual feed.
    *OpenUI *PageRegion: PickOne
    *OrderDependency: 40 AnySetup *PageRegion
    *DefaultPageRegion: Letter
    *PageRegion Letter: "letterR"
    *PageRegion Letter.Transverse: "letter"
    *PageRegion Legal: "legal"
    *PageRegion Ledger: "ledger"
    *PageRegion Tabloid: "11x17"
    *PageRegion A3: "a3"
    *PageRegion A4: "a4R"
    *PageRegion A4.Transverse: "a4"
    *PageRegion A5: "a5"
    *PageRegion B4: "b4"
    *PageRegion B5: "b5R"
    *PageRegion B5.Transverse: "b5"
    *PageRegion Statement: "statement"
    *CloseUI: *PageRegion
    *% The following entries provide information about specific paper keywords.
    *DefaultImageableArea: Letter
    *ImageableArea Letter: "20 16 591 775 "
    *ImageableArea Letter.Transverse: "18 19 593 773 "
    *ImageableArea Legal: "18 19 593 990 "
    *ImageableArea Ledger: "18 16 1205 775 "
    *ImageableArea Tabloid: "16 19 775 1206 "
    *ImageableArea A3: "18 21 823 1170 "
    *ImageableArea A4: "18 18 576 823 "
    *ImageableArea A4.Transverse: "18 19 577 823 "
    *ImageableArea A5: "18 19 401 577 "
    *ImageableArea B4: "19 15 709 1017 "
    *ImageableArea B5: "20 19 495 709 "
    *ImageableArea B5.Transverse: "20 19 495 709 "
    *ImageableArea Statement: "22 19 374 594 "
    *?ImageableArea: "
    save
      /cvp {(                ) cvs print ( ) print } bind def
      /upperright {10000 mul floor 10000 div} bind def
      /lowerleft {10000 mul ceiling 10000 div} bind def
      newpath clippath pathbbox
      4 -2 roll exch 2 {lowerleft cvp} repeat
      exch 2 {upperright cvp} repeat flush
    restore
    *End
    *% These provide the physical dimensions of the paper (by keyword)
    *DefaultPaperDimension: Letter
    *PaperDimension Letter: "612 792"
    *PaperDimension Letter.Transverse: "612 792"
    *PaperDimension Legal: "612 1008"
    *PaperDimension Ledger: "1224 792"
    *PaperDimension Tabloid: "792 1224"
    *PaperDimension A3: "842 1191"
    *PaperDimension A4: "595 842"
    *PaperDimension A4.Transverse: "595 842"
    *PaperDimension A5: "420 595"
    *PaperDimension B4: "729 1032"
    *PaperDimension B5: "516 729"
    *PaperDimension B5.Transverse: "516 729"
    *PaperDimension Statement: "396 612"
    *RequiresPageRegion All: True
    *OpenUI *InputSlot: PickOne
    *OrderDependency: 20 AnySetup *InputSlot
    *DefaultInputSlot: Upper
    *InputSlot Upper: "0 statusdict /setpapertray get exec"
    *InputSlot Lower: "1 statusdict /setpapertray get exec"
    *?InputSlot: "
    save
      [ (Upper) (Lower) ] statusdict /papertray get exec
      (get exec) stopped ( pop pop (Unknown)} if = flush
    restore
    *End
    *CloseUI: *InputSlot
    *OpenUI *ManualFeed: Boolean
    *OrderDependency: 20 AnySetup *ManualFeed
    *DefaultManualFeed: False
    *ManualFeed True: "statusdict /manualfeed true put"
    *ManualFeed False: "statusdict /manualfeed false put"
    *?ManualFeed: "
    save
      statusdict /manualfeed get {(True)}{(False)}ifelse = flush
    restore
    *End
    *CloseUI: *ManualFeed
    *DefaultOutputOrder: Reverse
    *% Font Information =====================
    *%DefaultFont: Error
    *DefaultFont: Courier
    *Font ArialUnicodeMS: Special "(Version 1.01)" Special ROM
    *Font ArialMT: Special "(Version 3.06)" Special ROM
    *Font Arial-BoldMT: Special "(Version 3.06)" Special ROM
    *Font Arial-BoldItalicMT: Special "(Version 3.06)" Special ROM
    *Font Arial-ItalicMT: Special "(Version 3.06)" Special ROM
    *Font ArialNarrow: Special "(Version 2.40)" Special ROM
    *Font ArialNarrow-Bold: Special "(Version 2.40)" Special ROM
    *Font ArialNarrow-BoldItalic: Special "(Version 2.40)" Special ROM
    *Font ArialNarrow-Italic: Special "(Version 2.40)" Special ROM
    *Font CourierNewPSMT: Special "(Version 2.90)" Special ROM
    *Font CourierNewPS-BoldMT: Special "(Version 2.90)" Special ROM
    *Font CourierNewPS-BoldItalicMT: Special "(Version 2.90)" Special ROM
    *Font CourierNewPS-ItalicMT: Special "(Version 2.90)" Special ROM
    *Font TimesNewRomanPSMT: Special "(Version 3.06)" Special ROM
    *Font TimesNewRomanPS-BoldMT: Special "(Version 3.06)" Special ROM
    *Font TimesNewRomanPS-BoldItalicMT: Special "(Version 3.06)" Special ROM
    *Font TimesNewRomanPS-ItalicMT: Special "(Version 3.06)" Special ROM
    *Font Tahoma: Special "(Version 3.15)" Special ROM
    *Font Tahoma-Bold: Special "(Version 3.15)" Special ROM
    *Font Courier: Standard "(001.004)" Standard ROM
    *Font Courier-Bold: Standard "(001.001)" Standard ROM
    *Font Courier-BoldOblique: Standard "(001.001)" Standard ROM
    *Font Courier-Oblique: Standard "(001.001)" Standard ROM
    *Font Helvetica: Standard "(001.001)" Standard ROM
    *Font Helvetica-Bold: Standard "(001.001)" Standard ROM
    *Font Helvetica-BoldOblique: Standard "(001.001)" Standard ROM
    *Font Helvetica-Oblique: Standard "(001.001)" Standard ROM
    *Font Symbol: Special "(001.001)" Special ROM
    *Font Times-Bold: Standard "(001.001)" Standard ROM
    *Font Times-BoldItalic: Standard "(001.001)" Standard ROM
    *Font Times-Italic: Standard "(001.001)" Standard ROM
    *Font Times-Roman: Standard "(001.001)" Standard ROM
    *?FontQuery: "
    save
    /str 100 string dup 0 (fonts/) putinterval def
       count 1 gt
         exch dup str 6 94 getinterval cvs
         (/) print print (:) print
         FontDirectory exch known
         {(Yes)}{(No)} ifelse =
       {exit} ifelse
    }bind loop
    (*) = flush
    restore
    *End
    *?FontList: "
    FontDirectory { pop == } bind forall flush
    (*) = flush
    *End
    *% Printer Messages (verbatim from printer):
    *Message: "%%[ exitserver: permanent state may be changed ]%%"
    *Message: "%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%"
    *Message: "\FontName\ not found, using Courier"
    *% Status (format: %%[ status: <one of these> ]%% )
    *Status: "idle"
    *Status: "busy"
    *Status: "waiting"
    *Status: "printing"
    *Status: "warming up"
    *Status: "PrinterError: BD check"
    *Status: "PrinterError: Paper jam"
    *Status: "PrinterError: Replace toner bag"
    *Status: "PrinterError: Warming up"
    *Status: "PrinterError: Timing error"
    *Status: "PrinterError: Fuser check"
    *Status: "PrinterError: Cover opened"
    *Status: "PrinterError: Toner empty"
    *Status: "PrinterError: Empty & reset output bin(s)"
    *Status: "PrinterError: Sorter or jogger error"
    *Status: "PrinterError: Scanner check"
    *% Input Sources (format: %%[ status: <stat>; source: <one of these> ]%% )
    *Source: "serial9"
    *Source: "serial25"
    *Source: "AppleTalk"
    *Source: "Centronics"
    *% Printer Error (format: %%[ PrinterError: <one of these> ]%%)
    *PrinterError: "BD check"
    *PrinterError: "Paper jam"
    *PrinterError: "Replace toner bag"
    *PrinterError: "Warming up"
    *PrinterError: "Timing error"
    *PrinterError: "Fuser check"
    *PrinterError: "Cover opened"
    *PrinterError: "Toner empty"
    *PrinterError: "Empty & reset output bin(s)"
    *PrinterError: "Sorter or jogger error"
    *PrinterError: "Scanner check"
    *%DeviceAdjustMatrix: "[1 0 0 1 0 0]"
    *% Color Separation Information =====================
    *DefaultColorSep: ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi
    *InkName: ProcessBlack/Process Black
    *InkName: CustomColor/Custom Color
    *InkName: ProcessCyan/Process Cyan
    *InkName: ProcessMagenta/Process Magenta
    *InkName: ProcessYellow/Process Yellow
    *% For 60 lpi / 300 dpi =====================================================
    *ColorSepScreenAngle ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "45"
    *ColorSepScreenAngle CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "45"
    *ColorSepScreenAngle ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "15"
    *ColorSepScreenAngle ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "75"
    *ColorSepScreenAngle ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "0"
    *ColorSepScreenFreq ProcessBlack.60lpi.300dpi/60 lpi / 300 dpi: "60"
    *ColorSepScreenFreq CustomColor.60lpi.300dpi/60 lpi / 300 dpi: "60"
    *ColorSepScreenFreq ProcessCyan.60lpi.300dpi/60 lpi / 300 dpi: "60"
    *ColorSepScreenFreq ProcessMagenta.60lpi.300dpi/60 lpi / 300 dpi: "60"
    *ColorSepScreenFreq ProcessYellow.60lpi.300dpi/60 lpi / 300 dpi: "60"
    *% For 53 lpi / 300 dpi =====================================================
    *ColorSepScreenAngle ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
    *ColorSepScreenAngle CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "45.0"
    *ColorSepScreenAngle ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "71.5651"
    *ColorSepScreenAngle ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "18.4349"
    *ColorSepScreenAngle ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "0.0"
    *ColorSepScreenFreq ProcessBlack.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
    *ColorSepScreenFreq CustomColor.53lpi.300dpi/53 lpi / 300 dpi: "53.033"
    *ColorSepScreenFreq ProcessCyan.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
    *ColorSepScreenFreq ProcessMagenta.53lpi.300dpi/53 lpi / 300 dpi: "47.4342"
    *ColorSepScreenFreq ProcessYellow.53lpi.300dpi/53 lpi / 300 dpi: "50.0"
    *% For "Dataproducts LZR 2665" version 46.2
    *% Produced by "GETapd.ps" version 2.0 edit 47
    *% Converted to meet 4.0 specification
    *% Last Edit Date: Sep 15 1992
    *% The byte count of this file should be exactly 011228 or 011572
    *% depending on the filesystem it resides in.
    *% end of PPD file for Dataproducts LZR 2665

  • DB Performance Issues after 10g Upgrade in EBS Instance

    We have upgraded our Database from 9i to 10g as first part of EBS 11.5.9 to 11.5.10.2 upgrade. Currently our production is running on 11.5.9 apps with 10g DB.
    Facing performance problems now. one of the them is, one Valueset query not using funcion based index while fired from the front end. but the same query when collected from SQL trace tkprofed file and executed from SQL Plus, it uses all proper indexes. We are not getting the cause of this.
    Had anyone faced same kind of issues before. please suggest.
    thanks,
    Raj.

    Make sure you have all of the recommended performance patches for 11.5.9, and gather stats for SYS and SYSTEM in the following manner:
    Oracle E-Business Suite Recommended Performance Patches
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=244040.1
    Collecting Statistics with Oracle Apps 11i
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=368252.1
    execute dbms_stats.unlock_schema_stats('SYS');
    execute dbms_stats.unlock_schema_stats('SYSTEM');
    exec dbms_stats.gather_schema_stats('SYSTEM',options=>'GATHER', estimate_percent => 100, method_opt => 'FOR ALL COLUMNS SIZE AUTO', cascade => TRUE);
    exec dbms_stats.gather_schema_stats('SYS',options=>'GATHER', estimate_percent => 100, method_opt => 'FOR ALL COLUMNS SIZE AUTO', cascade => TRUE);
    exec dbms_stats.gather_fixed_objects_stats();
    commit;
    exec dbms_stats.DELETE_TABLE_STATS('SYS','X$KCCRSR');
    exec dbms_stats.LOCK_TABLE_STATS('SYS','X$KCCRSR');
    commit;
    The last 3 commands resolve problems with RMAN, in case you are using it.
    Rman Backup is Very Slow selecting from V$RMAN_STATUS
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=375386.1
    Poor performance when accessing V$RMAN_BACKUP_JOB_DETAILS
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=420200.1
    Troubleshooting Oracle Applications Performance Issues
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=169935.1
    Debugging General Performance Issues with Oracle Apps
    http://blogs.oracle.com/schan/newsItems/departments/optimizingPerformance/2007/05/18#a1548
    Performance Tuning the Apps Database Layer
    http://blogs.oracle.com/schan/newsItems/departments/optimizingPerformance/2007/05/17#a1562
    Preventing Apps 11i Performance Issues in Four Steps
    http://blogs.oracle.com/schan/newsItems/departments/optimizingPerformance/2007/05/21#a1566

  • Custom Reports Server Issue (upgrading 10g to Weblogic 11g)

    I am having an issue with "Anonymous' user showing up when I go into the console of the Weblogic server to see all the report requests. In 10g (which we are upgrading from), I have report requests that I do a Preview from within Oracle Forms. When I do the RUN_REPORT_OBJECT/SHOW.WEB_DOCUMENT, it captures the User account and put it in the console with that username. On 11.1.1.4, using same form/report, it doesn't capture the username. If I call the reports server from the database, it does work fine.
    Anyone have any ideas if there's something I have to do in Oracle Forms to put that username in or if it's a setting on the Custom Reports Server that i need to set so that it captures the name from the Oracle Forms session.

    Hi A. Drieux,
    Thanks for the reply. i have some questions on ODI.
    Now we are using hyperion 11.1.1.3 with ODI 10.1.3. We are upgrading hyperion version 11.1.1.3 to 11.1.2.2.
    Is it possible, to use the same ODI 10.1.3 version to upgrade version(hyperion 11.1.2.2) also?
    Reply would be appreciated.
    Thanks,
    mady

  • Issues installing 10g ODAC on Windows 2008 with Oracle 10g Express

    I am new to Oracle and am having an issue installing Oracle Data Access Components on Oracle 10g 64bit running on Windows 2008 64bit.
    I need the ODAC installed to enable integration with SSIS.
    The issue I have if i install using ODAC10203x64 the setup file fails with a javaw error and the ntdll.dll.
    I then downloaded the ODAC1110720 which states it backwards compatible. It installs just fine, but now i am not sure as to how to configure it correctly as the Configuration util that loads in ODAC10203x64 does not run.
    The ODBC drivers are not visible under the ODBC connection manager although this may be an issue of just opening the 32Bit version.
    Any help would be appreciated

    Hi Ibrahim,
    You should decide what you require.
    32bit version can be installed on 64bit server and this should work fine (check the certification matrix for this).
    The "problem" is that you would not gain any performance benefit from the 64bit server
    If you want to have benefit you can upgrade the JVM to 64 bit version.
    I did this 3 years ago and I do not remember exact steps though everything worked OK.
    WARNING:
    this  can be unsupported, ask support to be sure
    - Install the 32 bit version on the server
    - Download 64 bit Java JRE/JDK and install it (well, you can search the same release as included in the AppServer or try newer one, 7 for example)
    - later, reconfigure the appserver so it uses the version you've installed, OR Copy the everything from c:\progfiles\java\... to the directory OraHome\... (forgot exact directories)
    try to search the forum, there had been a thread with the same question
    regards, michael
    Edited by: MickleSh on Sep 27, 2011 9:59 AM

  • OS X issue with 10g, dbca won't run due to classChangeError

    I am trying to install oracle 10g on my powerbook G4 (1gb) and I keep getting the same problem with the database creation assistant (dbca). I am running OS X 10.3.6 and xCode 1.5. The installation goes fine with no issues but the at the point of launching dbca, I get the following error;
    shadow:~ oracle$ dbca
    Exception in thread "main" java.lang.IncompatibleClassChangeError
            at oracle.sysman.assistants.util.attributes.InitParamAttributes.fillCharacterSets(InitParamAttributes.java:1999)
            at oracle.sysman.assistants.util.attributes.InitParamAttributes.<init>(InitParamAttributes.java:446)
            at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:239)
            at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:608)
            at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:200)
            at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
            at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:155)
            at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:93)
            at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:175)
    My environment is
    shadow:~ oracle$ env
    SHELL=/bin/bash
    TERM=vt100
    USER=oracle
    ORACLE_SID=JCDB
    ORACLE_BASE=/Users/jcart/Work/oracle/orahome10g
    PATH=/bin:/sbin:/usr/bin:/usr/sbin:/Users/jcart/Work/oracle/orahome10g/bin
    PWD=/Users/jcart/Work/oracle
    SHLVL=1
    HOME=/Users/jcart/Work/oracle
    ORACLE_HOME=/Users/jcart/Work/oracle/orahome10g
    _=/usr/bin/env
    any idea?
    Is there a patch somewhere that I have forgotten?
    regards
    John.

    Apparently windows 2000 does not meet the minimum requirements for QT7.5, so what you need to do is find out what version of QT7 does if one ever did, if not your probably going to have to install QT6.5, which may be the latest version 2000 can run?

  • Issue with 10g Server Name in HTTPServletRequest

    Hi,
    We found an issue 10g (Sol8). When we intercept the HTTP request through a J2EE Filter, we see that :
    Server name : hostname
    HOST header : hostname.domainname:port
    Why is the Server Name not same as "hostname.domainname" ?
    In 9iAS, the "Server Name" correctly matches the fully qualified hostname that is present in HOST header.
    Any feedback on this issue will be greatly appreciated.
    Thanks,
    Krishnendu

    You have to create a workbook to do this.
    Refresh your query/report. In Bex analyser, there is one toolbar named BEx design toolbox, If you are not able to see it in analyser, right click on the toolbar space of BEx analyser and click on BEx design toolbox. Here, goto to design mode, by clicking on a sysbol like 'A'. after that place the curser where you want to see the Query description. and click on insert text (T) in BEx toolbox. click on it and check "Query description" in constant tab. in the general tab you need to assign a dataprovider, for that assign your query name in workbook settings (in Bex design toolbox). also check the "display caption" in general tab.
    Pravender

  • Compatibility issue oracle 10g

    Hi all,
    1) please can any one tell me that windows 2008 server support or compatible with Oracle 10.1.0.2..0 ?
    2)f not which release of oracle 11g support windows 2008. we have oracle database 10.1.0.2.0 on AIX on top of that we have oracle 10g application server
    so if we go for oracle 11g on windows 2008 then oracle 10g application server support oracle 11g or not. please help .
    Best Regards

    Database 10.1 is in extended support mode. Anything you do with it is putting you in a situation where, should there be any issues, there will be no patches and support will cost more.
    Given any choice in the matter at all 11.2.0.3 on AIX is the best possible solution if appropriate hardware is in place ... and if you have to use Intel based hardware then go with Oracle Enterprise Linux. What you do NOT want is Windows 2008.

  • Does not join to any fact source issue in 10g

    HI,
    I am getting below issue while compiling rpd.
    Logical Dimension Table Dim-XX has a source xx_aa that does not join to any fact source.
    Let me describe situation here.
    In physical layer , i have one xx_v table . there is no join condition physical layer. But in BMM layer we have created two logical tables for single xx_v table and providing join in bmm layer. When am compiling it i'm getting an error.
    The one which i have using current rpd, same rpd in production with out any warnings(Logical Dimension Table Dim-XX has a source xx_aa that does not join to any fact source) and they don't have any logical level mapping in content tab. But i am using same rpd in dev instance getting warnings.
    Thanks,
    Mal
    Edited by: user10675696 on Feb 11, 2013 3:08 AM

    Hi Srini,
    Please find the below warning here and we don't have an hierarchy for MTL_SYSTE_ITEMS_B
    [39008] Logical dimension table Mtl System Items B has a source MTL_SYSTEM_ITEMS_B that does not join to any fact source.
    I am getting this in Dev instance only but not in Production. But one rpd can be used in dev and production instances.
    Thanks,
    Mall

  • Import issue from 10g to 11g

    Hi All,
    I have dump file from 10g having 1 table only, with blob column.
    I am trying to import it in a different user with different tablespace by keeping IGNORE=Y and i have created that table also having blob column but it gives following error:
    imp acetemp/acetemp@orcl IGNORE=Y file=d:\keytab.dmp log=keytab.log fromuser=RABOIT touser=ACETEMP
    Import: Release 11.2.0.1.0 - Production on Tue Aug 10 13:09:26 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Produc
    tion
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export file created by EXPORT:V10.02.01 via conventional path
    Warning: the objects were exported by RABOIT, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    . importing RABOIT's objects into ACETEMP
    IMP-00017: following statement failed with ORACLE error 959:
    "CREATE TABLE "KEYSTORETAB" ("KEYSTORE_ID" VARCHAR2(25) NOT NULL ENABLE, "RE"
    "SERVED_BY" VARCHAR2(15), "UPDATE_DATE" DATE, "VERIFIED_BY" VARCHAR2(15), "V"
    "ALIDATED_BY" VARCHAR2(15), "STATUS" LONG NOT NULL ENABLE, "KEYSTORE_PASSWOR"
    "D_PART" VARCHAR2(100), "KEYSTORE_PASSWORD" VARCHAR2(100) NOT NULL ENABLE, ""
    "KEYSTORE" BLOB) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INIT"
    "IAL 131072 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "T"
    "BS_RABOIT" LOGGING NOCOMPRESS LOB ("KEYSTORE") STORE AS (TABLESPACE "TBS_R"
    "ABOIT" ENABLE STORAGE IN ROW CHUNK 8192 PCTVERSION 10 NOCACHE LOGGING STOR"
    "AGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT))"
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'TBS_RABOIT' does not exist
    Import terminated successfully with warnings.
    I don't want to use data pump here.
    Thanks
    Mohsin
    Edited by: user12195038 on Aug 11, 2010 10:48 AM

    >
    ORA-00959: tablespace 'TBS_RABOIT' does not exist
    >
    As noted above, this is a warning, not an error. Pre-create the tablespace and assign necessary tablespace privileges on the target database if you do not want to see the warning message.
    HTH
    Srini

  • Memory issue, Oracle 10g in Solaris 10 zone

    I know many memory questions have been asked, but I couldn't find any similar to the problem I'm seeing.
    Starting from a fresh server boot, I have 12G of available memory, or nearly that anyway. Oracle 10g is installed with no databases created.
    After creating a database and running a few sql scripts to create tablespaces and users, my available memory is down to 3.5G.
    Rebooting the solaris zone containing Oracle does not restore any available memory. Shutting down the database does not restore any available memory.
    Why does Oracle seem to absorb so much available memory and not release it? I created the database from scripts and restricted the overall sga by a good bit over the defaults and while this did reduce the memory the oracle processes use, I'm still seeing this continual absorption of memory to the point where running any imports takes forever because my memory seems to bottom out. I saw it go down (using top, and vmstat) to about 500M at one point.
    Is there any utility that I can use, either solaris or sqlplus that will free up system memory?
    Message was edited by:
    tsmori

    After creating a database and running a few sql scripts to create tablespaces and users, my available memory is down to 3.5G.
    What are your settings fpr SGA_MAX_SIZE, SGA_TARGET and PGA_AGGREGATE_TARGET?
    Shutting down the database does not restore any available memory.
    Hmm that's really strange. We are running Oracle 9i on Solaris 10 Containers and didn't have any problems with memory leaks.
    Dim

  • Charts Issue in 10g

    Hi expers,
    When I tick "Chart Pivot Results" check box, I can use chart in the pivot view, however,I am facing two issue.
    Firstly, when I use pie chart for showing data, I want to truncate label name .
    For example, there are two columns named Date and Item in rows area , if I want to see data through chart, the label name will be long,like 12/30/2011,item11539, so clients only want to see item11539 ,not 12/30/2011 information.
    Secondly, when you cilck chart every area, you will navigate other detail report for filter value through passing parameter.

    HI,
    You have a pivoted view of chart and you want to have both pivote table and chart view in results. to achive follow the below steps
    1. crete pivote table as per req
    2. create another pivote view same as above or make duplicate from above and hide date or move it to excude section and check chart pivot results and in chart position dropdown select chart only.
    3. now you can see pivote table and desired chart view in compound view.
    4. If you want to drill or navigate from chart then configure the same in additional chart options in edit chart view.
    If I answered your questions please mark it as answered.
    Thanks
    Jay.

  • Performance issue after 10G upgrade.

    All,
    We recently upgraded to 10G (Version:10.2.0.3.0) after which the below query causing the problem. This query is written in a pl/sql package called by a Perl program. The Perl program is running forever without completion during some attempts and sometimes it is completing very fast. We did some kind of debugging and found that everytime the program is getting stucked up at this below given query and not at all proceeding from here even if we leave it for 2 - 3 days. During a successful attempt it completes in 3 - 4 hrs. This query is taking 2 explain plan as given below and it seems one of them is best and the other one is worst. Plan 2 is best and plan 1 is worst.
    Is there any suggestion in fixing this and the reason why two explain plans are picking up?....Num of records on the tables is as given below...
    Can you please provide me some detailed information as i'm a beginner in these performance tuning concepts?
    Your help will be much appreciated..
    Tables     No. of records
    ult_cust_master     551925
    us_state_county     3223
    customer     1559
    turfbuilder_group2_empcnt_tmp     44K
    ult_cust_sale     2430143
    ucsi_item     9714371
    SELECT cust.cust_num, cust.cust_name, cust.emp_count, cust.sic1,
           cust.s1_description, NVL (cust_sale.qty, 0) qty,
           NVL (cust_sale.mot_amt, 0) mot_amt,
           NVL (cust_sale.cust_amt, 0) cust_amt, cust.min_sale_dt,
           cust.max_sale_dt, cust.cust_status
      FROM (SELECT DISTINCT ucm.cust_num, f.cust_name cust_name,
                            NVL (te.tet_emp_count, 0) emp_count, b.min_sale_dt,
                            b.max_sale_dt, f.cust_status, sc1.sic1,
                            sc1.s1_description
                       FROM ult_cust_master ucm,
                            us_state_county u,
                            customer f,
                            (SELECT   div_cd, ctry_cd, cust_num,
                                      MIN (ucs_dt) min_sale_dt,
                                      MAX (ucs_dt) max_sale_dt
                                 FROM ult_cust_sale
                                WHERE div_cd = :b4
                                  AND ctry_cd = :b3
                                  AND rec_status = 'A'
                             GROUP BY div_cd, ctry_cd, cust_num) b,
                            sic1 sc1,
                            (SELECT tet_code, tet_vm_code, tet_type,
                                    tet_emp_count
                               FROM turfbuilder_group2_empcnt_tmp
                              WHERE tet_type = 'D') te
                      WHERE f.div_cd = ucm.div_cd
                        AND f.ctry_cd = ucm.ctry_cd
                        AND f.cust_num = ucm.cust_num
                        AND b.div_cd = ucm.div_cd
                        AND b.ctry_cd = ucm.ctry_cd
                        AND b.cust_num = ucm.cust_num
                        AND te.tet_code(+) = ucm.cust_num
                        AND te.tet_vm_code = sc1.sic1
                        AND f.div_cd = :b4
                        AND f.ctry_cd = :b3
                        AND ucm.ucm_stcnty_fips_cd = u.usc_st_cnty_cd
                        AND UPPER (u.usc_state_abbrev) NOT IN ('PR', 'VI')
                        AND ucm.rec_status = 'A'
                        AND u.rec_status = 'A'
                        AND sc1.rec_status = 'A'
                        AND f.cust_imp21_dealer_fg = 'Y'
                        AND NVL (f.cust_test_dealer_fg, 'N') <> 'Y') cust,
           (SELECT   c.cust_num cust_num, sc2.sic1,
                     SUM (DECODE (a.ucsii_unit_fg,
                                  'Y', a.ucsii_qty * 1,
                                  a.ucsii_qty * 0
                         ) qty,
                     SUM (a.ucsii_qty * a.ucsii_mot_unit_pr) mot_amt,
                     SUM (a.ucsii_qty * a.ucsii_ult_unit_pr) cust_amt
                FROM ucsi_item a,
                     ult_cust_sale b,
                     ult_cust_master c,
                     sic2 sc2,
                     us_state_county u
               WHERE a.div_cd = b.div_cd
                 AND a.ctry_cd = b.ctry_cd
                 AND a.cust_num = b.cust_num
                 AND a.ucm_mailbox_num = b.ucm_mailbox_num
                 AND a.ucm_seq = b.ucm_seq
                 AND a.ucs_seq = b.ucs_seq
                 AND c.div_cd = b.div_cd
                 AND c.ctry_cd = b.ctry_cd
                 AND c.cust_num = b.cust_num
                 AND c.ucm_mailbox_num = b.ucm_mailbox_num
                 AND c.ucm_seq = b.ucm_seq
                 AND SUBSTR (c.ucm_sic_cd, 1, 2) = sc2.sic2
                 AND c.ucm_stcnty_fips_cd = u.usc_st_cnty_cd
                 AND a.ucsii_in_apmr_fg = 'Y'
                 AND a.ucsii_audit_data_cd = 'G'
                 AND a.ucsii_contract_id IN
                        ('BRANDED',
                         'CTR',
                         'WARIS',
                         'RADIUS',
                         'BRNDCONV',
                         'BRNDTRNK'
                 AND (   (a.ucsii_unit_fg = 'Y')
                      OR (a.ucsii_unit_fg = 'N' AND a.ucsii_item_num LIKE '%.%')
                 AND c.div_cd = :b4
                 AND c.ctry_cd = :b3
                 AND UPPER (u.usc_state_abbrev) NOT IN ('PR', 'VI')
                 AND u.rec_status = 'A'
                 AND c.rec_status = 'A'
                 AND a.rec_status = 'A'
                 AND sc2.rec_status = 'A'
                 AND b.ua_cd = 'ENDCUST'
                 AND b.rec_status = 'A'
                 AND b.ucs_dt BETWEEN TO_DATE (:b2, 'dd mon yyyy')
                                  AND TO_DATE (:b1, 'dd mon yyyy')
            GROUP BY c.cust_num, sc2.sic1) cust_sale
    WHERE cust.cust_num = cust_sale.cust_num(+) AND cust.sic1 = cust_sale.sic1(+)------------------------------------------------------------------------------------------------------------------------
    {color:blue}
    Execution Plan – 1:
    Plan hash value: 2237978112
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | | | 643 (100)| |
    |* 1 | HASH JOIN OUTER | | 1 | 175 | 643 (2)| 00:00:08 |
    | 2 | VIEW | | 1 | 118 | 74 (5)| 00:00:01 |
    | 3 | HASH UNIQUE | | 1 | 310 | 74 (5)| 00:00:01 |
    | 4 | HASH GROUP BY | | 1 | 310 | 74 (5)| 00:00:01 |
    |* 5 | FILTER | | | | | |
    | 6 | NESTED LOOPS | | 1 | 310 | 73 (3)| 00:00:01 |
    | 7 | NESTED LOOPS | | 1 | 278 | 70 (2)| 00:00:01 |
    | 8 | NESTED LOOPS | | 1 | 187 | 69 (2)| 00:00:01 |
    | 9 | NESTED LOOPS | | 1 | 148 | 68 (2)| 00:00:01 |
    | 10 | NESTED LOOPS | | 1 | 100 | 52 (2)| 00:00:01 |
    |* 11 | TABLE ACCESS FULL | TURFBUILDER_GROUP2_EMPCNT_TMP | 1 | 52 | 51 (2)| 00:00:01 |
    |* 12 | TABLE ACCESS BY INDEX ROWID| SIC1 | 1 | 48 | 1 (0)| 00:00:01 |
    |* 13 | INDEX UNIQUE SCAN | SYS_C001278 | 1 | | 1 (0)| 00:00:01 |
    |* 14 | TABLE ACCESS BY INDEX ROWID | ULT_CUST_MASTER | 517 | 24816 | 16 (0)| 00:00:01 |
    |* 15 | INDEX RANGE SCAN | XIF9ULT_CUST_MASTER | 505 | | 1 (0)| 00:00:01 |
    |* 16 | TABLE ACCESS BY INDEX ROWID | US_STATE_COUNTY | 1 | 39 | 1 (0)| 00:00:01 |
    |* 17 | INDEX UNIQUE SCAN | XPKSTATE_COUNTY | 1 | | 1 (0)| 00:00:01 |
    |* 18 | TABLE ACCESS BY INDEX ROWID | CUSTOMER | 1 | 91 | 1 (0)| 00:00:01 |
    |* 19 | INDEX UNIQUE SCAN | XPKCUSTOMER | 1 | | 1 (0)| 00:00:01 |
    |* 20 | INDEX RANGE SCAN | XIE1ULT_CUST_SALE | 13514 | 422K| 2 (0)| 00:00:01 |
    | 21 | VIEW | | 1 | 57 | 569 (2)| 00:00:07 |
    | 22 | HASH GROUP BY | | 1 | 209 | 569 (2)| 00:00:07 |
    |* 23 | FILTER | | | | | |
    |* 24 | TABLE ACCESS BY INDEX ROWID | UCSI_ITEM | 1 | 74 | 1 (0)| 00:00:01 |
    | 25 | NESTED LOOPS | | 1 | 209 | 568 (1)| 00:00:07 |
    | 26 | NESTED LOOPS | | 1 | 135 | 567 (1)| 00:00:07 |
    |* 27 | HASH JOIN | | 1491 | 110K| 118 (3)| 00:00:02 |
    |* 28 | TABLE ACCESS FULL | SIC2 | 83 | 996 | 2 (0)| 00:00:01 |
    | 29 | TABLE ACCESS BY INDEX ROWID | ULT_CUST_MASTER | 186 | 9858 | 13 (0)| 00:00:01 |
    | 30 | NESTED LOOPS | | 1500 | 96000 | 115 (2)| 00:00:02 |
    |* 31 | TABLE ACCESS FULL | US_STATE_COUNTY | 8 | 88 | 9 (12)| 00:00:01 |
    |* 32 | INDEX RANGE SCAN | TEST | 186 | | 1 (0)| 00:00:01 |
    |* 33 | TABLE ACCESS BY INDEX ROWID | ULT_CUST_SALE | 1 | 59 | 1 (0)| 00:00:01 |
    |* 34 | INDEX RANGE SCAN | XIE1ULT_CUST_SALE | 1 | | 1 (0)| 00:00:01 |
    |* 35 | INDEX RANGE SCAN | XPKUCSI_ITEM | 1 | | 1 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    1 - access("CUST"."CUST_NUM"="CUST_SALE"."CUST_NUM" AND "CUST"."SIC1"="CUST_SALE"."SIC1")
    5 - filter((:B3=:B3 AND :B4=:B4))
    11 - filter("TET_TYPE"='D')
    12 - filter("SC1"."REC_STATUS"='A')
    13 - access("TET_VM_CODE"="SC1"."SIC1")
    14 - filter("UCM"."REC_STATUS"='A')
    15 - access("UCM"."DIV_CD"=:B4 AND "UCM"."CTRY_CD"=:B3 AND "TET_CODE"="UCM"."CUST_NUM")
    filter(("UCM"."DIV_CD"=:B4 AND "UCM"."CTRY_CD"=:B3))
    16 - filter((UPPER("U"."USC_STATE_ABBREV")<>'PR' AND UPPER("U"."USC_STATE_ABBREV")<>'VI' AND
    "U"."REC_STATUS"='A'))
    17 - access("UCM"."UCM_STCNTY_FIPS_CD"="U"."USC_ST_CNTY_CD")
    18 - filter(("F"."CUST_IMP21_DEALER_FG"='Y' AND NVL("F"."CUST_TEST_DEALER_FG",'N')<>'Y'))
    19 - access("F"."DIV_CD"=:B4 AND "F"."CTRY_CD"=:B3 AND "F"."CUST_NUM"="UCM"."CUST_NUM")
    filter(("F"."DIV_CD"=:B4 AND "F"."CTRY_CD"=:B3))
    20 - access("DIV_CD"=:B4 AND "CTRY_CD"=:B3 AND "CUST_NUM"="UCM"."CUST_NUM" AND "REC_STATUS"='A')
    filter(("DIV_CD"=:B4 AND "CTRY_CD"=:B3 AND "REC_STATUS"='A'))
    23 - filter(TO_DATE(:B2,'dd mon yyyy')<=TO_DATE(:B1,'dd mon yyyy'))
    24 - filter((("A"."UCSII_UNIT_FG"='Y' OR ("A"."UCSII_ITEM_NUM" LIKE '%.%' AND "A"."UCSII_UNIT_FG"='N')) AND
    "A"."UCSII_IN_APMR_FG"='Y' AND INTERNAL_FUNCTION("A"."UCSII_CONTRACT_ID") AND "A"."UCSII_AUDIT_DATA_CD"='G'
    AND "A"."REC_STATUS"='A'))
    27 - access("SC2"."SIC2"=SUBSTR("C"."UCM_SIC_CD",1,2))
    28 - filter("SC2"."REC_STATUS"='A')
    31 - filter((UPPER("U"."USC_STATE_ABBREV")<>'PR' AND UPPER("U"."USC_STATE_ABBREV")<>'VI' AND
    "U"."REC_STATUS"='A'))
    32 - access("C"."UCM_STCNTY_FIPS_CD"="U"."USC_ST_CNTY_CD" AND "C"."DIV_CD"=:B4 AND "C"."CTRY_CD"=:B3 AND
    "C"."REC_STATUS"='A')
    33 - filter(("B"."UA_CD"='ENDCUST' AND "C"."UCM_MAILBOX_NUM"="B"."UCM_MAILBOX_NUM"))
    34 - access("B"."DIV_CD"=:B4 AND "B"."CTRY_CD"=:B3 AND "C"."CUST_NUM"="B"."CUST_NUM" AND
    "C"."UCM_SEQ"="B"."UCM_SEQ" AND "B"."UCS_DT">=TO_DATE(:B2,'dd mon yyyy') AND "B"."REC_STATUS"='A' AND
    "B"."UCS_DT"<=TO_DATE(:B1,'dd mon yyyy'))
    filter("B"."REC_STATUS"='A')
    35 - access("A"."DIV_CD"=:B4 AND "A"."CTRY_CD"=:B3 AND "A"."CUST_NUM"="B"."CUST_NUM" AND
    "A"."UCM_MAILBOX_NUM"="B"."UCM_MAILBOX_NUM" AND "A"."UCM_SEQ"="B"."UCM_SEQ" AND "A"."UCS_SEQ"="B"."UCS_SEQ")
    {color}
    {color:green}
    Execution Plan – 2:
    Plan hash value: 2023039777
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | | | | 3341 (100)| |
    |* 1 | HASH JOIN RIGHT OUTER | | 12967 | 2216K| | 3341 (5)| 00:00:41 |
    | 2 | VIEW | | 1 | 57 | | 607 (6)| 00:00:08 |
    | 3 | HASH GROUP BY | | 1 | 209 | | 607 (6)| 00:00:08 |
    |* 4 | FILTER | | | | | | |
    |* 5 | TABLE ACCESS BY INDEX ROWID | UCSI_ITEM | 1 | 74 | | 1 (0)| 00:00:01 |
    | 6 | NESTED LOOPS | | 1 | 209 | | 606 (6)| 00:00:08 |
    | 7 | NESTED LOOPS | | 1 | 135 | | 605 (6)| 00:00:08 |
    |* 8 | HASH JOIN | | 1 | 123 | | 604 (6)| 00:00:08 |
    |* 9 | TABLE ACCESS BY INDEX ROWID| ULT_CUST_SALE | 1214 | 71626 | | 455 (7)| 00:00:06 |
    |* 10 | INDEX SKIP SCAN | XIE1ULT_CUST_SALE | 1 | | | 455 (7)| 00:00:06 |
    | 11 | TABLE ACCESS BY INDEX ROWID| ULT_CUST_MASTER | 245 | 12985 | | 17 (0)| 00:00:01 |
    | 12 | NESTED LOOPS | | 1971 | 123K| | 148 (2)| 00:00:02 |
    |* 13 | TABLE ACCESS FULL | US_STATE_COUNTY | 8 | 88 | | 9 (12)| 00:00:01 |
    |* 14 | INDEX RANGE SCAN | TEST | 245 | | | 1 (0)| 00:00:01 |
    |* 15 | TABLE ACCESS BY INDEX ROWID | SIC2 | 1 | 12 | | 1 (0)| 00:00:01 |
    |* 16 | INDEX UNIQUE SCAN | XPKSIC2 | 1 | | | 1 (0)| 00:00:01 |
    |* 17 | INDEX RANGE SCAN | XPKUCSI_ITEM | 1 | | | 1 (0)| 00:00:01 |
    | 18 | VIEW | | 12967 | 1494K| | 2732 (5)| 00:00:33 |
    | 19 | HASH UNIQUE | | 12967 | 3254K| 6936K| 2732 (5)| 00:00:33 |
    |* 20 | HASH JOIN | | 12967 | 3254K| | 1998 (6)| 00:00:24 |
    | 21 | VIEW | | 410 | 16400 | | 1781 (5)| 00:00:22 |
    | 22 | HASH GROUP BY | | 410 | 13120 | | 1781 (5)| 00:00:22 |
    |* 23 | FILTER | | | | | | |
    |* 24 | INDEX RANGE SCAN | XIE1ULT_CUST_SALE | 1963K| 59M| | 1781 (5)| 00:00:22 |
    |* 25 | HASH JOIN | | 4792 | 1015K| | 215 (7)| 00:00:03 |
    |* 26 | TABLE ACCESS FULL | SIC1 | 11 | 528 | | 2 (0)| 00:00:01 |
    |* 27 | HASH JOIN | | 4792 | 790K| | 212 (6)| 00:00:03 |
    |* 28 | TABLE ACCESS BY INDEX ROWID | CUSTOMER | 1003 | 79237 | | 4 (0)| 00:00:01 |
    |* 29 | INDEX RANGE SCAN | XIF317CUSTOMER | 1371 | | | 1 (0)| 00:00:01 |
    |* 30 | HASH JOIN | | 4794 | 421K| | 207 (6)| 00:00:03 |
    | 31 | TABLE ACCESS BY INDEX ROWID | ULT_CUST_MASTER | 245 | 8820 | | 17 (0)| 00:00:01 |
    | 32 | NESTED LOOPS | | 1971 | 136K| | 148 (2)| 00:00:02 |
    |* 33 | TABLE ACCESS FULL | US_STATE_COUNTY | 8 | 280 | | 9 (12)| 00:00:01 |
    |* 34 | INDEX RANGE SCAN | TEST | 245 | | | 1 (0)| 00:00:01 |
    |* 35 | TABLE ACCESS FULL | TURFBUILDER_GROUP2_EMPCNT_TMP | 8914 | 165K| | 58 (14)| 00:00:01 |
    Predicate Information (identified by operation id):
    1 - access("CUST"."CUST_NUM"="CUST_SALE"."CUST_NUM" AND "CUST"."SIC1"="CUST_SALE"."SIC1")
    4 - filter(TO_DATE(:B2,'dd mon yyyy')<=TO_DATE(:B1,'dd mon yyyy'))
    5 - filter((("A"."UCSII_UNIT_FG"='Y' OR ("A"."UCSII_ITEM_NUM" LIKE '%.%' AND "A"."UCSII_UNIT_FG"='N')) AND
    "A"."UCSII_IN_APMR_FG"='Y' AND INTERNAL_FUNCTION("A"."UCSII_CONTRACT_ID") AND "A"."UCSII_AUDIT_DATA_CD"='G' AND
    "A"."REC_STATUS"='A'))
    8 - access("C"."DIV_CD"="B"."DIV_CD" AND "C"."CTRY_CD"="B"."CTRY_CD" AND "C"."CUST_NUM"="B"."CUST_NUM" AND
    "C"."UCM_MAILBOX_NUM"="B"."UCM_MAILBOX_NUM" AND "C"."UCM_SEQ"="B"."UCM_SEQ")
    9 - filter("B"."UA_CD"='ENDCUST')
    10 - access("B"."DIV_CD"=:B4 AND "B"."CTRY_CD"=:B3 AND "B"."UCS_DT">=TO_DATE(:B2,'dd mon yyyy') AND
    "B"."REC_STATUS"='A' AND "B"."UCS_DT"<=TO_DATE(:B1,'dd mon yyyy'))
    filter(("B"."UCS_DT">=TO_DATE(:B2,'dd mon yyyy') AND "B"."REC_STATUS"='A' AND "B"."UCS_DT"<=TO_DATE(:B1,'dd
    mon yyyy')))
    13 - filter((UPPER("U"."USC_STATE_ABBREV")<>'PR' AND UPPER("U"."USC_STATE_ABBREV")<>'VI' AND "U"."REC_STATUS"='A'))
    14 - access("C"."UCM_STCNTY_FIPS_CD"="U"."USC_ST_CNTY_CD" AND "C"."DIV_CD"=:B4 AND "C"."CTRY_CD"=:B3 AND
    "C"."REC_STATUS"='A')
    15 - filter("SC2"."REC_STATUS"='A')
    16 - access("SC2"."SIC2"=SUBSTR("C"."UCM_SIC_CD",1,2))
    17 - access("A"."DIV_CD"=:B4 AND "A"."CTRY_CD"=:B3 AND "A"."CUST_NUM"="B"."CUST_NUM" AND
    "A"."UCM_MAILBOX_NUM"="B"."UCM_MAILBOX_NUM" AND "A"."UCM_SEQ"="B"."UCM_SEQ" AND "A"."UCS_SEQ"="B"."UCS_SEQ")
    20 - access("B"."DIV_CD"="UCM"."DIV_CD" AND "B"."CTRY_CD"="UCM"."CTRY_CD" AND "B"."CUST_NUM"="UCM"."CUST_NUM")
    23 - filter((:B3=:B3 AND :B4=:B4))
    24 - access("DIV_CD"=:B4 AND "CTRY_CD"=:B3 AND "REC_STATUS"='A')
    filter(("DIV_CD"=:B4 AND "CTRY_CD"=:B3 AND "DIV_CD"=:B4 AND "CTRY_CD"=:B3 AND "REC_STATUS"='A'))
    25 - access("TET_VM_CODE"="SC1"."SIC1")
    26 - filter("SC1"."REC_STATUS"='A')
    27 - access("F"."DIV_CD"="UCM"."DIV_CD" AND "F"."CTRY_CD"="UCM"."CTRY_CD" AND "F"."CUST_NUM"="UCM"."CUST_NUM")
    28 - filter(("F"."DIV_CD"=:B4 AND "F"."CUST_IMP21_DEALER_FG"='Y' AND NVL("F"."CUST_TEST_DEALER_FG",'N')<>'Y'))
    29 - access("F"."CTRY_CD"=:B3)
    30 - access("TET_CODE"="UCM"."CUST_NUM")
    33 - filter((UPPER("U"."USC_STATE_ABBREV")<>'PR' AND UPPER("U"."USC_STATE_ABBREV")<>'VI' AND "U"."REC_STATUS"='A'))
    34 - access("UCM"."UCM_STCNTY_FIPS_CD"="U"."USC_ST_CNTY_CD" AND "UCM"."DIV_CD"=:B4 AND "UCM"."CTRY_CD"=:B3 AND
    "UCM"."REC_STATUS"='A')
    35 - filter("TET_TYPE"='D')
    {color}
    Edited by: user3030284 on Oct 28, 2008 9:42 PM

    <p>
    {size:12}
    All,
    </p>
    <p>
    We recently upgraded to 10G (Version:10.2.0.3.0) after which the below query causing the problem. This query is written in a pl/sql package called by a Perl program. The Perl program is running forever without completion during some attempts and sometimes it is completing very fast. We did some kind of debugging and found that everytime the program is getting stucked up at this below given query and not at all proceeding from here even if we leave it for 2 - 3 days. During a successful attempt it completes in 3 - 4 hrs. This query is taking 2 explain plan as given below and it seems one of them is best and the other one is worst. Plan 2 is best and plan 1 is worst.
    Is there any suggestion in fixing this and the reason why two explain plans are picking up?....Num of records on the tables is as given below...
    Can you please provide me some detailed information as i'm a beginner in these performance tuning concepts?
    Your help will be much appreciated..
    </p>
    <p>
    Tables No. of records
    ult_cust_master 551925
    us_state_county 3223
    customer 1559
    turfbuilder_group2_empcnt_tmp 44K
    ult_cust_sale 2430143
    ucsi_item 9714371
    {size}
    </p>
    <p>
    <br /></p><br /><p><br />/* Formatted on 2007/09/30 20:37 (Formatter Plus v4.8.5) */ <br /></p><br /><p><br />SELECT cust.cust_num, cust.cust_name, cust.emp_count, cust.sic1, <br /></p><br /><p><br />cust.s1_description, NVL (cust_sale.qty, 0) qty, <br /></p><br /><p><br />NVL (cust_sale.mot_amt, 0) mot_amt, <br /></p><br /><p><br />NVL (cust_sale.cust_amt, 0) cust_amt, cust.min_sale_dt, <br /></p><br /><p><br />cust.max_sale_dt, cust.cust_status <br /></p><br /><p><br />FROM (SELECT DISTINCT ucm.cust_num, f.cust_name cust_name, <br /></p><br /><p><br />NVL (te.tet_emp_count, 0) emp_count, b.min_sale_dt, <br /></p><br /><p><br />b.max_sale_dt, f.cust_status, sc1.sic1, <br /></p><br /><p><br />sc1.s1_description <br /></p><br /><p><br />FROM ult_cust_master ucm, <br /></p><br /><p><br />us_state_county u, <br /></p><br /><p><br />customer f, <br /></p><br /><p><br />(SELECT div_cd, ctry_cd, cust_num, <br /></p><br /><p><br />MIN (ucs_dt) min_sale_dt, <br /></p><br /><p><br />MAX (ucs_dt) max_sale_dt <br /></p><br /><p><br />FROM ult_cust_sale <br /></p><br /><p><br />WHERE div_cd = :b4 <br /></p><br /><p><br />AND ctry_cd = :b3 <br /></p><br /><p><br />AND rec_status = 'A' <br /></p><br /><p><br />GROUP BY div_cd, ctry_cd, cust_num) b, <br /></p><br /><p><br />sic1 sc1, <br /></p><br /><p><br />(SELECT tet_code, tet_vm_code, tet_type, <br /></p><br /><p><br />tet_emp_count <br /></p><br /><p><br />FROM turfbuilder_group2_empcnt_tmp <br /></p><br /><p><br />WHERE tet_type = 'D') te <br /></p><br /><p><br />WHERE f.div_cd = ucm.div_cd <br /></p><br /><p><br />AND f.ctry_cd = ucm.ctry_cd <br /></p><br /><p><br />AND f.cust_num = ucm.cust_num <br /></p><br /><p><br />AND b.div_cd = ucm.div_cd <br /></p><br /><p><br />AND b.ctry_cd = ucm.ctry_cd <br /></p><br /><p><br />AND b.cust_num = ucm.cust_num <br /></p><br /><p><br />AND te.tet_code(+) = ucm.cust_num <br /></p><br /><p><br />AND te.tet_vm_code = sc1.sic1 <br /></p><br /><p><br />AND f.div_cd = :b4 <br /></p><br /><p><br />AND f.ctry_cd = :b3 <br /></p><br /><p><br />AND ucm.ucm_stcnty_fips_cd = u.usc_st_cnty_cd <br /></p><br /><p><br />AND UPPER (u.usc_state_abbrev) NOT IN ('PR', 'VI') <br /></p><br /><p><br />AND ucm.rec_status = 'A' <br /></p><br /><p><br />AND u.rec_status = 'A' <br /></p><br /><p><br />AND sc1.rec_status = 'A' <br /></p><br /><p><br />AND f.cust_imp21_dealer_fg = 'Y' <br /></p><br /><p><br />AND NVL (f.cust_test_dealer_fg, 'N') &lt;&gt; 'Y') cust, <br /></p><br /><p><br />(SELECT c.cust_num cust_num, sc2.sic1, <br /></p><br /><p><br />SUM (DECODE (a.ucsii_unit_fg, <br /></p><br /><p><br />'Y', a.ucsii_qty * 1, <br /></p><br /><p><br />a.ucsii_qty * 0 <br /></p><br /><p><br />) <br /></p><br /><p><br />) qty, <br /></p><br /><p><br />SUM (a.ucsii_qty * a.ucsii_mot_unit_pr) mot_amt, <br /></p><br /><p><br />SUM (a.ucsii_qty * a.ucsii_ult_unit_pr) cust_amt <br /></p><br /><p><br />FROM ucsi_item a, <br /></p><br /><p><br />ult_cust_sale b, <br /></p><br /><p><br />ult_cust_master c, <br /></p><br /><p><br />sic2 sc2, <br /></p><br /><p><br />us_state_county u <br /></p><br /><p><br />WHERE a.div_cd = b.div_cd <br /></p><br /><p><br />AND a.ctry_cd = b.ctry_cd <br /></p><br /><p><br />AND a.cust_num = b.cust_num <br /></p><br /><p><br />AND a.ucm_mailbox_num = b.ucm_mailbox_num <br /></p><br /><p><br />AND a.ucm_seq = b.ucm_seq <br /></p><br /><p><br />AND a.ucs_seq = b.ucs_seq <br /></p><br /><p><br />AND c.div_cd = b.div_cd <br /></p><br /><p><br />AND c.ctry_cd = b.ctry_cd <br /></p><br /><p><br />AND c.cust_num = b.cust_num <br /></p><br /><p><br />AND c.ucm_mailbox_num = b.ucm_mailbox_num <br /></p><br /><p><br />AND c.ucm_seq = b.ucm_seq <br /></p><br /><p><br />AND SUBSTR (c.ucm_sic_cd, 1, 2) = sc2.sic2 <br /></p><br /><p><br />AND c.ucm_stcnty_fips_cd = u.usc_st_cnty_cd <br /></p><br /><p><br />AND a.ucsii_in_apmr_fg = 'Y' <br /></p><br /><p><br />AND a.ucsii_audit_data_cd = 'G' <br /></p><br /><p><br />AND a.ucsii_contract_id IN <br /></p><br /><p><br />('BRANDED', <br /></p><br /><p><br />'CTR', <br /></p><br /><p><br />'WARIS', <br /></p><br /><p><br />'RADIUS', <br /></p><br /><p><br />'BRNDCONV', <br /></p><br /><p><br />'BRNDTRNK' <br /></p><br /><p><br />) <br /></p><br /><p><br />AND ( (a.ucsii_unit_fg = 'Y') <br /></p><br /><p><br />OR (a.ucsii_unit_fg = 'N' AND a.ucsii_item_num LIKE '%.%') <br /></p><br /><p><br />) <br /></p><br /><p><br />AND c.div_cd = :b4 <br /></p><br /><p><br />AND c.ctry_cd = :b3 <br /></p><br /><p><br />AND UPPER (u.usc_state_abbrev) NOT IN ('PR', 'VI') <br /></p><br /><p><br />AND u.rec_status = 'A' <br /></p><br /><p><br />AND c.rec_status = 'A' <br /></p><br /><p><br />AND a.rec_status = 'A' <br /></p><br /><p><br />AND sc2.rec_status = 'A' <br /></p><br /><p><br />AND b.ua_cd = 'ENDCUST' <br /></p><br /><p><br />AND b.rec_status = 'A' <br /></p><br /><p><br />AND b.ucs_dt BETWEEN TO_DATE (:b2, 'dd mon yyyy') <br /></p><br /><p><br />AND TO_DATE (:b1, 'dd mon yyyy') <br /></p><br /><p><br />GROUP BY c.cust_num, sc2.sic1) cust_sale <br /></p><br /><p><br />WHERE cust.cust_num = cust_sale.cust_num(+) AND cust.sic1 = cust_sale.sic1(+) <br /></p><br /><p><br /><strong></strong>
    </p>
    <p>
    {color:green}
    </p>
    <p>
    Explain Plan -- 1:
    </p>
    <p>
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | | | 643 (100)| |
    |* 1 | HASH JOIN OUTER | | 1 | 175 | 643 (2)| 00:00:08 |
    | 2 | VIEW | | 1 | 118 | 74 (5)| 00:00:01 |
    | 3 | HASH UNIQUE | | 1 | 310 | 74 (5)| 00:00:01 |
    | 4 | HASH GROUP BY | | 1 | 310 | 74 (5)| 00:00:01 |
    |* 5 | FILTER | | | | | |
    | 6 | NESTED LOOPS | | 1 | 310 | 73 (3)| 00:00:01 |
    | 7 | NESTED LOOPS | | 1 | 278 | 70 (2)| 00:00:01 |
    | 8 | NESTED LOOPS | | 1 | 187 | 69 (2)| 00:00:01 |
    | 9 | NESTED LOOPS | | 1 | 148 | 68 (2)| 00:00:01 |
    | 10 | NESTED LOOPS | | 1 | 100 | 52 (2)| 00:00:01 |
    |* 11 | TABLE ACCESS FULL | TURFBUILDER_GROUP2_EMPCNT_TMP | 1 | 52 | 51 (2)| 00:00:01 |
    |* 12 | TABLE ACCESS BY INDEX ROWID| SIC1 | 1 | 48 | 1 (0)| 00:00:01 |
    |* 13 | INDEX UNIQUE SCAN | SYS_C001278 | 1 | | 1 (0)| 00:00:01 |
    |* 14 | TABLE ACCESS BY INDEX ROWID | ULT_CUST_MASTER | 517 | 24816 | 16 (0)| 00:00:01 |
    |* 15 | INDEX RANGE SCAN | XIF9ULT_CUST_MASTER | 505 | | 1 (0)| 00:00:01 |
    |* 16 | TABLE ACCESS BY INDEX ROWID | US_STATE_COUNTY | 1 | 39 | 1 (0)| 00:00:01 |
    |* 17 | INDEX UNIQUE SCAN | XPKSTATE_COUNTY | 1 | | 1 (0)| 00:00:01 |
    |* 18 | TABLE ACCESS BY INDEX ROWID | CUSTOMER | 1 | 91 | 1 (0)| 00:00:01 |
    |* 19 | INDEX UNIQUE SCAN | XPKCUSTOMER | 1 | | 1 (0)| 00:00:01 |
    |* 20 | INDEX RANGE SCAN | XIE1ULT_CUST_SALE | 13514 | 422K| 2 (0)| 00:00:01 |
    | 21 | VIEW | | 1 | 57 | 569 (2)| 00:00:07 |
    | 22 | HASH GROUP BY | | 1 | 209 | 569 (2)| 00:00:07 |
    |* 23 | FILTER | | | | | |
    |* 24 | TABLE ACCESS BY INDEX ROWID | UCSI_ITEM | 1 | 74 | 1 (0)| 00:00:01 |
    | 25 | NESTED LOOPS | | 1 | 209 | 568 (1)| 00:00:07 |
    | 26 | NESTED LOOPS | | 1 | 135 | 567 (1)| 00:00:07 |
    |* 27 | HASH JOIN | | 1491 | 110K| 118 (3)| 00:00:02 |
    |* 28 | TABLE ACCESS FULL | SIC2 | 83 | 996 | 2 (0)| 00:00:01 |
    | 29 | TABLE ACCESS BY INDEX ROWID | ULT_CUST_MASTER | 186 | 9858 | 13 (0)| 00:00:01 |
    | 30 | NESTED LOOPS | | 1500 | 96000 | 115 (2)| 00:00:02 |
    |* 31 | TABLE ACCESS FULL | US_STATE_COUNTY | 8 | 88 | 9 (12)| 00:00:01 |
    |* 32 | INDEX RANGE SCAN | TEST | 186 | | 1 (0)| 00:00:01 |
    |* 33 | TABLE ACCESS BY INDEX ROWID | ULT_CUST_SALE | 1 | 59 | 1 (0)| 00:00:01 |
    |* 34 | INDEX RANGE SCAN | XIE1ULT_CUST_SALE | 1 | | 1 (0)| 00:00:01 |
    |* 35 | INDEX RANGE SCAN | XPKUCSI_ITEM | 1 | | 1 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    1 - access("CUST"."CUST_NUM"="CUST_SALE"."CUST_NUM" AND "CUST"."SIC1"="CUST_SALE"."SIC1")
    5 - filter((:B3=:B3 AND :B4=:B4))
    11 - filter("TET_TYPE"='D')
    12 - filter("SC1"."REC_STATUS"='A')
    13 - access("TET_VM_CODE"="SC1"."SIC1")
    14 - filter("UCM"."REC_STATUS"='A')
    15 - access("UCM"."DIV_CD"=:B4 AND "UCM"."CTRY_CD"=:B3 AND "TET_CODE"="UCM"."CUST_NUM")
    filter(("UCM"."DIV_CD"=:B4 AND "UCM"."CTRY_CD"=:B3))
    16 - filter((UPPER("U"."USC_STATE_ABBREV")&lt;&gt;'PR' AND UPPER("U"."USC_STATE_ABBREV")&lt;&gt;'VI' AND
    "U"."REC_STATUS"='A'))
    17 - access("UCM"."UCM_STCNTY_FIPS_CD"="U"."USC_ST_CNTY_CD")
    18 - filter(("F"."CUST_IMP21_DEALER_FG"='Y' AND NVL("F"."CUST_TEST_DEALER_FG",'N')&lt;&gt;'Y'))
    19 - access("F"."DIV_CD"=:B4 AND "F"."CTRY_CD"=:B3 AND "F"."CUST_NUM"="UCM"."CUST_NUM")
    filter(("F"."DIV_CD"=:B4 AND "F"."CTRY_CD"=:B3))
    20 - access("DIV_CD"=:B4 AND "CTRY_CD"=:B3 AND "CUST_NUM"="UCM"."CUST_NUM" AND "REC_STATUS"='A')
    filter(("DIV_CD"=:B4 AND "CTRY_CD"=:B3 AND "REC_STATUS"='A'))
    23 - filter(TO_DATE(:B2,'dd mon yyyy')&lt;=TO_DATE(:B1,'dd mon yyyy'))
    24 - filter((("A"."UCSII_UNIT_FG"='Y' OR ("A"."UCSII_ITEM_NUM" LIKE '%.%' AND "A"."UCSII_UNIT_FG"='N')) AND
    "A"."UCSII_IN_APMR_FG"='Y' AND INTERNAL_FUNCTION("A"."UCSII_CONTRACT_ID") AND "A"."UCSII_AUDIT_DATA_CD"='G'
    AND "A"."REC_STATUS"='A'))
    27 - access("SC2"."SIC2"=SUBSTR("C"."UCM_SIC_CD",1,2))
    28 - filter("SC2"."REC_STATUS"='A')
    31 - filter((UPPER("U"."USC_STATE_ABBREV")&lt;&gt;'PR' AND UPPER("U"."USC_STATE_ABBREV")&lt;&gt;'VI' AND
    "U"."REC_STATUS"='A'))
    32 - access("C"."UCM_STCNTY_FIPS_CD"="U"."USC_ST_CNTY_CD" AND "C"."DIV_CD"=:B4 AND "C"."CTRY_CD"=:B3 AND
    "C"."REC_STATUS"='A')
    33 - filter(("B"."UA_CD"='ENDCUST' AND "C"."UCM_MAILBOX_NUM"="B"."UCM_MAILBOX_NUM"))
    34 - access("B"."DIV_CD"=:B4 AND "B"."CTRY_CD"=:B3 AND "C"."CUST_NUM"="B"."CUST_NUM" AND
    "C"."UCM_SEQ"="B"."UCM_SEQ" AND "B"."UCS_DT"&gt;=TO_DATE(:B2,'dd mon yyyy') AND "B"."REC_STATUS"='A' AND
    "B"."UCS_DT"&lt;=TO_DATE(:B1,'dd mon yyyy'))
    filter("B"."REC_STATUS"='A')
    35 - access("A"."DIV_CD"=:B4 AND "A"."CTRY_CD"=:B3 AND "A"."CUST_NUM"="B"."CUST_NUM" AND
    "A"."UCM_MAILBOX_NUM"="B"."UCM_MAILBOX_NUM" AND "A"."UCM_SEQ"="B"."UCM_SEQ" AND "A"."UCS_SEQ"="B"."UCS_SEQ")
    </p>
    <p>
    {color}
    </p>
    <p>
    {color:blue}
    </p>
    <p>
    Explain Plan -- 2:
    </p>
    <p>
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | | | | 3341 (100)| |
    |* 1 | HASH JOIN RIGHT OUTER | | 12967 | 2216K| | 3341 (5)| 00:00:41 |
    | 2 | VIEW | | 1 | 57 | | 607 (6)| 00:00:08 |
    | 3 | HASH GROUP BY | | 1 | 209 | | 607 (6)| 00:00:08 |
    |* 4 | FILTER | | | | | | |
    |* 5 | TABLE ACCESS BY INDEX ROWID | UCSI_ITEM | 1 | 74 | | 1 (0)| 00:00:01 |
    | 6 | NESTED LOOPS | | 1 | 209 | | 606 (6)| 00:00:08 |
    | 7 | NESTED LOOPS | | 1 | 135 | | 605 (6)| 00:00:08 |
    |* 8 | HASH JOIN | | 1 | 123 | | 604 (6)| 00:00:08 |
    |* 9 | TABLE ACCESS BY INDEX ROWID| ULT_CUST_SALE | 1214 | 71626 | | 455 (7)| 00:00:06 |
    |* 10 | INDEX SKIP SCAN | XIE1ULT_CUST_SALE | 1 | | | 455 (7)| 00:00:06 |
    | 11 | TABLE ACCESS BY INDEX ROWID| ULT_CUST_MASTER | 245 | 12985 | | 17 (0)| 00:00:01 |
    | 12 | NESTED LOOPS | | 1971 | 123K| | 148 (2)| 00:00:02 |
    |* 13 | TABLE ACCESS FULL | US_STATE_COUNTY | 8 | 88 | | 9 (12)| 00:00:01 |
    |* 14 | INDEX RANGE SCAN | TEST | 245 | | | 1 (0)| 00:00:01 |
    |* 15 | TABLE ACCESS BY INDEX ROWID | SIC2 | 1 | 12 | | 1 (0)| 00:00:01 |
    |* 16 | INDEX UNIQUE SCAN | XPKSIC2 | 1 | | | 1 (0)| 00:00:01 |
    |* 17 | INDEX RANGE SCAN | XPKUCSI_ITEM | 1 | | | 1 (0)| 00:00:01 |
    | 18 | VIEW | | 12967 | 1494K| | 2732 (5)| 00:00:33 |
    | 19 | HASH UNIQUE | | 12967 | 3254K| 6936K| 2732 (5)| 00:00:33 |
    |* 20 | HASH JOIN | | 12967 | 3254K| | 1998 (6)| 00:00:24 |
    | 21 | VIEW | | 410 | 16400 | | 1781 (5)| 00:00:22 |
    | 22 | HASH GROUP BY | | 410 | 13120 | | 1781 (5)| 00:00:22 |
    |* 23 | FILTER | | | | | | |
    |* 24 | INDEX RANGE SCAN | XIE1ULT_CUST_SALE | 1963K| 59M| | 1781 (5)| 00:00:22 |
    |* 25 | HASH JOIN | | 4792 | 1015K| | 215 (7)| 00:00:03 |
    |* 26 | TABLE ACCESS FULL | SIC1 | 11 | 528 | | 2 (0)| 00:00:01 |
    |* 27 | HASH JOIN | | 4792 | 790K| | 212 (6)| 00:00:03 |
    |* 28 | TABLE ACCESS BY INDEX ROWID | CUSTOMER | 1003 | 79237 | | 4 (0)| 00:00:01 |
    |* 29 | INDEX RANGE SCAN | XIF317CUSTOMER | 1371 | | | 1 (0)| 00:00:01 |
    |* 30 | HASH JOIN | | 4794 | 421K| | 207 (6)| 00:00:03 |
    | 31 | TABLE ACCESS BY INDEX ROWID | ULT_CUST_MASTER | 245 | 8820 | | 17 (0)| 00:00:01 |
    | 32 | NESTED LOOPS | | 1971 | 136K| | 148 (2)| 00:00:02 |
    |* 33 | TABLE ACCESS FULL | US_STATE_COUNTY | 8 | 280 | | 9 (12)| 00:00:01 |
    |* 34 | INDEX RANGE SCAN | TEST | 245 | | | 1 (0)| 00:00:01 |
    |* 35 | TABLE ACCESS FULL | TURFBUILDER_GROUP2_EMPCNT_TMP | 8914 | 165K| | 58 (14)| 00:00:01 |
    Predicate Information (identified by operation id):
    1 - access("CUST"."CUST_NUM"="CUST_SALE"."CUST_NUM" AND "CUST"."SIC1"="CUST_SALE"."SIC1")
    4 - filter(TO_DATE(:B2,'dd mon yyyy')&lt;=TO_DATE(:B1,'dd mon yyyy'))
    5 - filter((("A"."UCSII_UNIT_FG"='Y' OR ("A"."UCSII_ITEM_NUM" LIKE '%.%' AND "A"."UCSII_UNIT_FG"='N')) AND
    "A"."UCSII_IN_APMR_FG"='Y' AND INTERNAL_FUNCTION("A"."UCSII_CONTRACT_ID") AND "A"."UCSII_AUDIT_DATA_CD"='G' AND
    "A"."REC_STATUS"='A'))
    8 - access("C"."DIV_CD"="B"."DIV_CD" AND "C"."CTRY_CD"="B"."CTRY_CD" AND "C"."CUST_NUM"="B"."CUST_NUM" AND
    "C"."UCM_MAILBOX_NUM"="B"."UCM_MAILBOX_NUM" AND "C"."UCM_SEQ"="B"."UCM_SEQ")
    9 - filter("B"."UA_CD"='ENDCUST')
    10 - access("B"."DIV_CD"=:B4 AND "B"."CTRY_CD"=:B3 AND "B"."UCS_DT"&gt;=TO_DATE(:B2,'dd mon yyyy') AND
    "B"."REC_STATUS"='A' AND "B"."UCS_DT"&lt;=TO_DATE(:B1,'dd mon yyyy'))
    filter(("B"."UCS_DT"&gt;=TO_DATE(:B2,'dd mon yyyy') AND "B"."REC_STATUS"='A' AND "B"."UCS_DT"&lt;=TO_DATE(:B1,'dd
    mon yyyy')))
    13 - filter((UPPER("U"."USC_STATE_ABBREV")&lt;&gt;'PR' AND UPPER("U"."USC_STATE_ABBREV")&lt;&gt;'VI' AND "U"."REC_STATUS"='A'))
    14 - access("C"."UCM_STCNTY_FIPS_CD"="U"."USC_ST_CNTY_CD" AND "C"."DIV_CD"=:B4 AND "C"."CTRY_CD"=:B3 AND
    "C"."REC_STATUS"='A')
    15 - filter("SC2"."REC_STATUS"='A')
    16 - access("SC2"."SIC2"=SUBSTR("C"."UCM_SIC_CD",1,2))
    17 - access("A"."DIV_CD"=:B4 AND "A"."CTRY_CD"=:B3 AND "A"."CUST_NUM"="B"."CUST_NUM" AND
    "A"."UCM_MAILBOX_NUM"="B"."UCM_MAILBOX_NUM" AND "A"."UCM_SEQ"="B"."UCM_SEQ" AND "A"."UCS_SEQ"="B"."UCS_SEQ")
    20 - access("B"."DIV_CD"="UCM"."DIV_CD" AND "B"."CTRY_CD"="UCM"."CTRY_CD" AND "B"."CUST_NUM"="UCM"."CUST_NUM")
    23 - filter((:B3=:B3 AND :B4=:B4))
    24 - access("DIV_CD"=:B4 AND "CTRY_CD"=:B3 AND "REC_STATUS"='A')
    filter(("DIV_CD"=:B4 AND "CTRY_CD"=:B3 AND "DIV_CD"=:B4 AND "CTRY_CD"=:B3 AND "REC_STATUS"='A'))
    25 - access("TET_VM_CODE"="SC1"."SIC1")
    26 - filter("SC1"."REC_STATUS"='A')
    27 - access("F"."DIV_CD"="UCM"."DIV_CD" AND "F"."CTRY_CD"="UCM"."CTRY_CD" AND "F"."CUST_NUM"="UCM"."CUST_NUM")
    28 - filter(("F"."DIV_CD"=:B4 AND "F"."CUST_IMP21_DEALER_FG"='Y' AND NVL("F"."CUST_TEST_DEALER_FG",'N')&lt;&gt;'Y'))
    29 - access("F"."CTRY_CD"=:B3)
    30 - access("TET_CODE"="UCM"."CUST_NUM")
    33 - filter((UPPER("U"."USC_STATE_ABBREV")&lt;&gt;'PR' AND UPPER("U"."USC_STATE_ABBREV")&lt;&gt;'VI' AND "U"."REC_STATUS"='A'))
    34 - access("UCM"."UCM_STCNTY_FIPS_CD"="U"."USC_ST_CNTY_CD" AND "UCM"."DIV_CD"=:B4 AND "UCM"."CTRY_CD"=:B3 AND
    "UCM"."REC_STATUS"='A')
    35 - filter("TET_TYPE"='D')
    </p>
    <p>
    {color}
    </p>

Maybe you are looking for

  • How do I add a new wireless client using airport 6.1

    I have purchased a new Onkyo receiver with a wireless LAN adapter and have been unable to locate the "add a new client" and enter the PIN code to enable the adapter. Any suggestions would be appreciated.

  • Black lines after updating album app

    hi., I am using sony experia c, after updating the album , i have a problem of black lines appears on the images. so i uninstall the updates . now its working good. but i have liked the album after updating. so i want to use it. please fix the proble

  • Delete passwords in Safari 6?

    The new pane in Prefs in Safari lists some URL; usersames, passwords. But it seems impossible to delete these, individually, or as a whole. WHen I click ok in the Warning-window. Nothing more is happening. How can one get rid of this?

  • What you tube app should I use on my ipad2?

    What you tube app should I use on my ipad2?

  • Why do I get Memory Leaks in case 1, but not in case 2?

    I recently investigated into memory leaks, since we got some when a Window is opened/closed several times. I discovered the following behavior with ListView: If I make several instances of a Window, which contains a ListView which uses a fix list as