function of nth_value() with IGNORE NULLS in oracle 10g

Is there an easy way to imitate the function of ORACLE 11 g nth_value() with IGNORE NULLS clause in 10g or earlier version of Oracle?
SQL> select  ename,
  2          sal,
  3          nth_value(sal,5) over() fifth_min_sal
  4    from  emp
  5    order by sal
  6  /

ENAME             SAL FIFTH_MIN_SAL
---------- ---------- --------------
SMITH             800           1250
JAMES             950           1250
ADAMS            1100           1250
WARD             1250           1250
MARTIN           1250           1250
MILLER           1300           1250
TURNER           1500           1250
ALLEN            1600           1250
CLARK            2450           1250
BLAKE            2850           1250
JONES            2975           1250

ENAME             SAL FIFTH_MIN_SAL
---------- ---------- --------------
SCOTT            3000           1250
FORD             3000           1250
KING             5000           1250

14 rows selected.

SQL> select  ename,
  2          sal,
  3          min(case rn when 5 then sal end) over() fifth_min_sal
  4    from  (
  5           select  ename,
  6                   sal,
  7                   row_number() over(order by sal nulls last) rn
  8             from  emp
  9          )
 10    order by sal
 11  /

ENAME             SAL FIFTH_MIN_SAL
---------- ---------- --------------
SMITH             800           1250
JAMES             950           1250
ADAMS            1100           1250
WARD             1250           1250
MARTIN           1250           1250
MILLER           1300           1250
TURNER           1500           1250
ALLEN            1600           1250
CLARK            2450           1250
BLAKE            2850           1250
JONES            2975           1250

ENAME             SAL FIFTH_MIN_SAL
---------- ---------- --------------
SCOTT            3000           1250
FORD             3000           1250
KING             5000           1250

14 rows selected.

SQL> 

SY.

Tags: Database

Similar Questions

  • Function of lag ignoring NULL values in 10g

    I have the following query that works well in 11g. I want to rewrite the query in 10g and get the same set of results. Because the offset ignoring NULL values, I used below is a new feature in 11g, someone can help me in rewriting the query below.

    Prop1 - String, evar11 - String

    Select prop1, evar11,.

    lag (Prop1 ignores Nulls) over (partition by order of period_key of visit_page_num, visit_num, visid_low, visid_high) as prop1_lag
    from TABLE_A

    where period_key = '20131012' - DATE

    order of visit_page_num

    Thanks in advance,

    H.

    Hello

    In Oracle 10, you can use LAST_VALUE... ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PREVIOUS instead of LAG.

    As I don't have your table, I'll use scott.emp to illustrate:

    SELECT hiredate, ename, comm

    MOST LAG (comm IGNORE NULLS) (ORDER BY hiredate, ename) AS lag_comm

    , LAST_VALUE (comm IGNORE NULLS) OVER (ORDER BY hiredate, ename)

    ROWS BETWEEN UNBOUNDED PRECEDING

    AND 1 PRECEDING

    ) AS last_value_comm

    FROM scott.emp

    ORDER BY hiredate, ename

    ;

    The output shows that LAG and LAST_VALUE produce the same results:

    HIREDATE ENAME LAG_COMM LAST_VALUE_COMM COMM

    --------- ---------- ---------- ---------- ---------------

    DECEMBER 17, 80 SMITH

    FEBRUARY 20, 81 300 ALLEN

    FEBRUARY 22, 81 WARD 500 300 300

    2 APRIL 81 JONES 500 500

    MAY 1, 81 BLAKE 500 500

    JUNE 9, 81 CLARK 500 500

    08 SEP-81 TURNER 0 500 500

    28 SEP-81 MARTIN 1400 0 0

    NOVEMBER 17, 81 1400 1400 KING

    DECEMBER 3, 81 1400 1400 FORD

    DECEMBER 3, 81 JAMES 1400 1400

    JANUARY 23, 82 1400 1400 MILLER

    APRIL 19, 87 SCOTT 1400 1400

    MAY 23, 87 1400 1400 ADAMS

    To run the Oracle 11.1 or earlier, comment out the call to the LAG.

  • problem with the customer of oracle 10g on centos 5.3

    I'm the client installation of oracle 10g on centos 5.3
    I face the following question while installation configure oracle net.
    all I can understand newspapers is both / / sign

    >
    ient_1/jdk/jre / / bin/ja


    Version installed in the House and java Oracle
    export ORACLE_BASE=/home/oracle
    export ORACLE_HOME=/home/oracle/oracle/product/10.2.0/client_1
    PATH=$ORACLE_HOME/bin:$PATH
    
    [oracle@oracleclient client]$ java -version
    java version "1.6.0_11"
    Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
    Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
    I don't know how to get around this problem
    /home/oracle/oracle/product/10.2.0/client_1/cfgtoollogs/configToolFailedCommands
    
    # Copyright (c) 1999, 2005, Oracle. All rights reserved.
    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre//bin/java   -Duser.dir=/home/oracle/oracle/product/10.2.0/client_1/network/jlib -classpath /home/oracle/oracle/product/10.2.0/client_1/jdk/jre//lib/i18n.jar:/home/oracle/oracle/product/10.2.0/client_1/jdk/jre//lib/rt.jar:/home/oracle/oracle/product/10.2.0/client_1/jlib/ewt3.jar:/home/oracle/oracle/product/10.2.0/client_1/jlib/ewtcompat-3_3_15.jar:/home/oracle/oracle/product/10.2.0/client_1/jlib/netcfg.jar:/home/oracle/oracle/product/10.2.0/client_1/network/jlib/netcam.jar:/home/oracle/oracle/product/10.2.0/client_1/network/jlib/netca.jar:/home/oracle/oracle/product/10.2.0/client_1/jlib/help4.jar:/home/oracle/oracle/product/10.2.0/client_1/jlib/jewt4.jar:/home/oracle/oracle/product/10.2.0/client_1/jlib/oracle_ice.jar:/home/oracle/oracle/product/10.2.0/client_1/jlib/share.jar:/home/oracle/oracle/product/10.2.0/client_1/jlib/swingall-1_1_1.jar:/home/oracle/oracle/product/10.2.0/client_1/jlib/srvmhas.jar:/home/oracle/oracle/product/10.2.0/client_1/jlib/srvm.jar:/home/oracle/oracle/product/10.2.0/client_1/network/tools:/home/oracle/oracle/product/10.2.0/client_1/jlib/ldapjclnt9.jar:/home/oracle/oracle/product/10.2.0/client_1/jlib/ldapjclnt10.jar:/home/oracle/oracle/product/10.2.0/client_1/oui/jlib/OraInstaller.jar:/home/oracle/oracle/product/10.2.0/client_1/lib/xmlparserv2.jar oracle.net.ca.NetCA /orahome /home/oracle/oracle/product/10.2.0/client_1 /orahnam OraClient10g_home1 /instype custom /inscomp client,oraclenet /insprtcl tcp /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile /home/oracle/oracle/product/10.2.0/client_1/network/install/netca_clt.rsp 
    ADDED:
    /client_1/network/install/netca_clt.rsp 
    
    Parsing command line arguments:
        Parameter "orahome" = /home/oracle/oracle/product/10.2.0/client_1
        Parameter "orahnam" = OraClient10g_home1
        Parameter "instype" = custom
        Parameter "inscomp" = client,oraclenet
        Parameter "insprtcl" = tcp
        Parameter "cfg" = local
        Parameter "authadp" = NO_VALUE
        Parameter "nodeinfo" = NO_VALUE
        Parameter "responsefile" = /home/oracle/oracle/product/10.2.0/client_1/network/install/netca_clt.rsp
    Done parsing command line arguments.
    Oracle Net Services Configuration:
    
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x6DC2F3
    Function=index+0x63
    Library=/lib/libc.so.6
    
    Current Java thread:
         at oracle.net.common.NetGetEnv.getDNSDomain(Native Method)
         at oracle.net.ca.ConfigureProfile.setDefaultProfileParams(Unknown Source)
         at oracle.net.ca.InitialSetup.setupConfigObjects(Unknown Source)
         at oracle.net.ca.InitialSetup.<init>(Unknown Source)
         at oracle.net.ca.NetCA.main(Unknown Source)
    
    Dynamic libraries:
    005ee000-00605000 r-xp 00000000 fd:00 2544172    /usr/lib/libICE.so.6.3.0
    00605000-00606000 rwxp 00016000 fd:00 2544172    /usr/lib/libICE.so.6.3.0
    0060a000-00619000 r-xp 00000000 fd:00 1476147    /lib/libresolv-2.5.so
    00619000-0061a000 r-xp 0000e000 fd:00 1476147    /lib/libresolv-2.5.so
    0061a000-0061b000 rwxp 0000f000 fd:00 1476147    /lib/libresolv-2.5.so
    0064a000-00664000 r-xp 00000000 fd:00 1476128    /lib/ld-2.5.so
    00664000-00665000 r-xp 00019000 fd:00 1476128    /lib/ld-2.5.so
    00665000-00666000 rwxp 0001a000 fd:00 1476128    /lib/ld-2.5.so
    00668000-0066a000 r-xp 00000000 fd:00 3246709    /usr/lib/libXau.so.6.0.0
    0066a000-0066b000 rwxp 00001000 fd:00 3246709    /usr/lib/libXau.so.6.0.0
    0066d000-007ab000 r-xp 00000000 fd:00 1476129    /lib/libc-2.5.so
    007ab000-007ad000 r-xp 0013e000 fd:00 1476129    /lib/libc-2.5.so
    007ad000-007ae000 rwxp 00140000 fd:00 1476129    /lib/libc-2.5.so
    007b3000-007d8000 r-xp 00000000 fd:00 1476135    /lib/libm-2.5.so
    007d8000-007d9000 r-xp 00024000 fd:00 1476135    /lib/libm-2.5.so
    007d9000-007da000 rwxp 00025000 fd:00 1476135    /lib/libm-2.5.so
    007dc000-007de000 r-xp 00000000 fd:00 1476130    /lib/libdl-2.5.so
    007de000-007df000 r-xp 00001000 fd:00 1476130    /lib/libdl-2.5.so
    007df000-007e0000 rwxp 00002000 fd:00 1476130    /lib/libdl-2.5.so
    007e2000-007f5000 r-xp 00000000 fd:00 1476131    /lib/libpthread-2.5.so
    007f5000-007f6000 r-xp 00012000 fd:00 1476131    /lib/libpthread-2.5.so
    007f6000-007f7000 rwxp 00013000 fd:00 1476131    /lib/libpthread-2.5.so
    008bb000-009ba000 r-xp 00000000 fd:00 3246711    /usr/lib/libX11.so.6.2.0
    009ba000-009be000 rwxp 000ff000 fd:00 3246711    /usr/lib/libX11.so.6.2.0
    00a01000-00a06000 r-xp 00000000 fd:00 3246710    /usr/lib/libXdmcp.so.6.0.0
    00a06000-00a07000 rwxp 00004000 fd:00 3246710    /usr/lib/libXdmcp.so.6.0.0
    00a09000-00a18000 r-xp 00000000 fd:00 3246716    /usr/lib/libXext.so.6.4.0
    00a18000-00a19000 rwxp 0000e000 fd:00 3246716    /usr/lib/libXext.so.6.4.0
    00d65000-00d78000 r-xp 00000000 fd:00 1476145    /lib/libnsl-2.5.so
    00d78000-00d79000 r-xp 00012000 fd:00 1476145    /lib/libnsl-2.5.so
    00d79000-00d7a000 rwxp 00013000 fd:00 1476145    /lib/libnsl-2.5.so
    00df0000-00df8000 r-xp 00000000 fd:00 2544173    /usr/lib/libSM.so.6.0.0
    00df8000-00df9000 rwxp 00007000 fd:00 2544173    /usr/lib/libSM.so.6.0.0
    056a1000-056a6000 r-xp 00000000 fd:00 3246740    /usr/lib/libXtst.so.6.1.0
    056a6000-056a7000 rwxp 00004000 fd:00 3246740    /usr/lib/libXtst.so.6.1.0
    058a0000-058f4000 r-xp 00000000 fd:00 2532866    /usr/lib/libXt.so.6.0.0
    058f4000-058f8000 rwxp 00054000 fd:00 2532866    /usr/lib/libXt.so.6.0.0
    08048000-08056000 r-xp 00000000 fd:00 2458231    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/bin/java
    08056000-08059000 rwxp 0000d000 fd:00 2458231    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/bin/java
    08371000-086bf000 rwxp 08371000 00:00 0          [heap]
    a93eb000-a93f8000 r-xp 00000000 fd:00 2233279    /home/oracle/oracle/product/10.2.0/client_1/lib/libldapjclnt10.so
    a93f8000-a93fa000 rwxp 0000c000 fd:00 2233279    /home/oracle/oracle/product/10.2.0/client_1/lib/libldapjclnt10.so
    a93fa000-a95d6000 r-xp 00000000 fd:00 2234262    /home/oracle/oracle/product/10.2.0/client_1/lib/libnnz10.so
    a95d6000-a95fc000 rwxp 001dc000 fd:00 2234262    /home/oracle/oracle/product/10.2.0/client_1/lib/libnnz10.so
    a95fe000-aa32f000 r-xp 00000000 fd:00 2234212    /home/oracle/oracle/product/10.2.0/client_1/lib/libclntsh.so.10.1
    aa32f000-aa390000 rwxp 00d31000 fd:00 2234212    /home/oracle/oracle/product/10.2.0/client_1/lib/libclntsh.so.10.1
    aa3a4000-aa3b9000 r-xp 00000000 fd:00 2234210    /home/oracle/oracle/product/10.2.0/client_1/lib/libnjni10.so
    aa3b9000-aa3bd000 rwxp 00014000 fd:00 2234210    /home/oracle/oracle/product/10.2.0/client_1/lib/libnjni10.so
    aa3bd000-aa3c4000 r-xp 00000000 fd:00 2543608    /usr/lib/libXp.so.6.2.0
    aa3c4000-aa3c5000 rwxp 00006000 fd:00 2543608    /usr/lib/libXp.so.6.2.0
    aa3c5000-aa418000 r-xp 00000000 fd:00 2458132    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/i386/libmlib_image.so
    aa418000-aa419000 rwxp 00052000 fd:00 2458132    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/i386/libmlib_image.so
    aa419000-aa6ea000 r-xp 00000000 fd:00 2458115    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/i386/libawt.so
    aa6ea000-aa700000 rwxp 002d0000 fd:00 2458115    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/i386/libawt.so
    aa725000-aaac2000 r-xs 00000000 fd:00 2236693    /home/oracle/oracle/product/10.2.0/client_1/oui/jlib/OraInstaller.jar
    aaac2000-aab5a000 r-xs 00000000 fd:00 2233155    /home/oracle/oracle/product/10.2.0/client_1/jlib/ldapjclnt10.jar
    aab5a000-aac21000 r-xs 00000000 fd:00 2233081    /home/oracle/oracle/product/10.2.0/client_1/jlib/srvm.jar
    aac21000-aac2f000 r-xs 00000000 fd:00 2233083    /home/oracle/oracle/product/10.2.0/client_1/jlib/srvmhas.jar
    aac2f000-aac3d000 r-xs 00000000 fd:00 2236586    /home/oracle/oracle/product/10.2.0/client_1/jlib/share.jar
    aac3d000-aacf2000 r-xs 00000000 fd:00 2234180    /home/oracle/oracle/product/10.2.0/client_1/jlib/oracle_ice.jar
    aacf2000-aae99000 r-xs 00000000 fd:00 2236581    /home/oracle/oracle/product/10.2.0/client_1/jlib/jewt4.jar
    aae99000-aaefe000 r-xs 00000000 fd:00 2234176    /home/oracle/oracle/product/10.2.0/client_1/jlib/help4.jar
    aaefe000-aaf30000 r-xs 00000000 fd:00 2232755    /home/oracle/oracle/product/10.2.0/client_1/network/jlib/netca.jar
    aaf30000-aaf56000 r-xs 00000000 fd:00 2232756    /home/oracle/oracle/product/10.2.0/client_1/network/jlib/netcam.jar
    aaf56000-aaf9f000 r-xs 00000000 fd:00 2234253    /home/oracle/oracle/product/10.2.0/client_1/jlib/netcfg.jar
    aaf9f000-aafad000 r-xs 00000000 fd:00 2234178    /home/oracle/oracle/product/10.2.0/client_1/jlib/ewtcompat-3_3_15.jar
    aafad000-ab232000 r-xs 00000000 fd:00 2236447    /home/oracle/oracle/product/10.2.0/client_1/jlib/ewt3.jar
    ab232000-ab235000 r-xs 00000000 fd:00 2237287    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/ext/jta.jar
    ab235000-ab243000 r-xs 00000000 fd:00 2237291    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/ext/activation.jar
    ab243000-ab288000 r-xs 00000000 fd:00 2237288    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/ext/mail.jar
    ab288000-ab28b000 r-xs 00000000 fd:00 2237362    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/ext/dnsns.jar
    ab28b000-ab2b1000 r-xs 00000000 fd:00 2237289    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/ext/mailapi.jar
    ab2b1000-ab2be000 r-xs 00000000 fd:00 2237363    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/ext/ldapsec.jar
    ab2be000-ab2c1000 r-xs 00000000 fd:00 2237290    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/ext/smtp.jar
    ab2c1000-ab2dd000 r-xs 00000000 fd:00 2237365    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/ext/sunjce_provider.jar
    ab2dd000-ab399000 r-xs 00000000 fd:00 2237364    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/ext/localedata.jar
    ab59d000-ab79d000 r-xp 00000000 fd:00 2527487    /usr/lib/locale/locale-archive
    b5a52000-b5ff2000 r-xs 00000000 fd:00 2237314    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/charsets.jar
    b5ff2000-b6003000 r-xs 00000000 fd:00 2237352    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/jce.jar
    b6003000-b60e0000 r-xs 00000000 fd:00 2237353    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/jsse.jar
    b60e0000-b60f6000 r-xs 00000000 fd:00 2237361    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/sunrsasign.jar
    b6140000-b7aeb000 r-xs 00000000 fd:00 2237360    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/rt.jar
    b7aeb000-b7aff000 r-xp 00000000 fd:00 2458138    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/i386/libzip.so
    b7aff000-b7b02000 rwxp 00013000 fd:00 2458138    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/i386/libzip.so
    b7b02000-b7b22000 r-xp 00000000 fd:00 2458123    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/i386/libjava.so
    b7b22000-b7b24000 rwxp 0001f000 fd:00 2458123    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/i386/libjava.so
    b7b24000-b7b34000 r-xp 00000000 fd:00 2458137    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/i386/libverify.so
    b7b34000-b7b36000 rwxp 0000f000 fd:00 2458137    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/i386/libverify.so
    b7b36000-b7b3f000 r-xp 00000000 fd:00 1474600    /lib/libnss_files-2.5.so
    b7b3f000-b7b40000 r-xp 00008000 fd:00 1474600    /lib/libnss_files-2.5.so
    b7b40000-b7b41000 rwxp 00009000 fd:00 1474600    /lib/libnss_files-2.5.so
    b7b41000-b7b45000 r-xp 00000000 fd:00 1474598    /lib/libnss_dns-2.5.so
    b7b45000-b7b46000 r-xp 00003000 fd:00 1474598    /lib/libnss_dns-2.5.so
    b7b46000-b7b47000 rwxp 00004000 fd:00 1474598    /lib/libnss_dns-2.5.so
    b7b47000-b7b4b000 rwxs 00000000 fd:00 3605130    /tmp/hsperfdata_oracle/7395
    b7b4b000-b7f51000 r-xp 00000000 fd:00 2458146    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/i386/client/libjvm.so
    b7f51000-b7f6c000 rwxp 00405000 fd:00 2458146    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/i386/client/libjvm.so
    b7f81000-b7f89000 r-xp 00000000 fd:00 2458148    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/i386/native_threads/libhpi.so
    b7f89000-b7f8a000 rwxp 00007000 fd:00 2458148    /home/oracle/oracle/product/10.2.0/client_1/jdk/jre/lib/i386/native_threads/libhpi.so
    b7f8b000-b7f8c000 r-xp b7f8b000 00:00 0          [vdso]
    bf89c000-bf8b1000 rwxp bffea000 00:00 0          [stack]
    
    Heap at VM Abort:
    Heap
     def new generation   total 576K, used 428K [0xab9a0000, 0xaba40000, 0xabe80000)
      eden space 512K,  75% used [0xab9a0000, 0xaba001f0, 0xaba20000)
      from space 64K,  69% used [0xaba30000, 0xaba3b128, 0xaba40000)
      to   space 64K,   0% used [0xaba20000, 0xaba20000, 0xaba30000)
     tenured generation   total 1408K, used 533K [0xabe80000, 0xabfe0000, 0xaf9a0000)
       the space 1408K,  37% used [0xabe80000, 0xabf054a8, 0xabf05600, 0xabfe0000)
     compacting perm gen  total 4096K, used 3569K [0xaf9a0000, 0xafda0000, 0xb39a0000)
       the space 4096K,  87% used [0xaf9a0000, 0xafd1c5d8, 0xafd1c600, 0xafda0000)
    
    Local Time = Fri May 29 15:46:06 2009
    Elapsed Time = 1
    #
    # The exception above was detected in native code outside the VM
    #
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
    #
    # An error report file has been saved as hs_err_pid7395.log.
    # Please refer to the file for further information.
    #
    
    Configuration assistant "Oracle Net Configuration Assistant" failed 
    -----------------------------------------------------------------------------
    The "/home/oracle/oracle/product/10.2.0/client_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-----------------------------------------------------------------------------
    Published by: iinfi on May 29, 2009 15:47

    Look for the hostname in/etc/hosts.

  • JDev 11 g: problem view VO criteria ignore Null values

    Hello

    I don't know if it's a bug or do something wrong but here is my case:
    I created an original Version of a database table.
    In page view of all of VO, aaa I bind a variable named
    Then I add a criteria-> display I add an element of criteria including bing my previously create variable to an attribute of VO-> I have defined validation on "necessary".
    Then a race my request and made a few test/dev.

    After a while, I needed to change my display criteria 'optional' with 'Ignore Null values' checked.
    I changedit, run my application and the display criteria did not work... I don't add no rows returned when I went to my variable named "null".
    After 1 or 2 days to research, I managed to notice that in fact, an attribute is missing in my VO object source.

    I needed to add explicitly in the XML of the source of this attribute:
    GenerateIsNullClauseForBindVars = 'true '.

    in the desired so ViewCriteriaItem it ignores Null values.

    I tried various combinations of the interface for presentation but non of them generated this attribute set to "true".
    Only when I put the validation 'Optional' and ' ignore values null ' unchecked, GenerateIsNullClauseForBindVars = 'false' appears in the XML source code.

    Is this a bug?
    Here's my version JDev: Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407

    Jack

    To report a bug, you must go through the MOS (aka Metalink). You need a support contract valid to log into MOS.

    Timo

  • I exported a must of the site in HTML format and get the following error - MuseJSAssert: error calling the function switch: SecurityError: cannot read property 'documentLes' of 'HTMLIFrameElement': blocked a frame with original 'null '.

    I exported a must of the site in HTML format and get the following error - MuseJSAssert: error calling the function switch: SecurityError: cannot read property 'documentLes' of 'HTMLIFrameElement': blocked a frame with original 'null '.

    Does Anyon know what to do - how to fix this?

    Hello

    could you please take a look at this and see if that helps

    Java Script alert: MuseJSAssert: error calling the function switch: security error?

  • What does this error message Adobe Muse: MuseJSAssert: error calling slector function: SecurityError: cannot read property 'documentLes' of 'HTMLIFrameElement': blocked a frame with Malv "null" access to an image of the cross-origin.

    So, what happens with this error message in the Muse?

    MuseJSAssert: Call slector function error: SecurityError: cannot read property 'documentLes' of 'HTMLIFrameElement': blocked a frame with Malv "null" access to an image of the cross-origin.

    It is a mistake to real security generated by the browser when you view a page with the iFrame content locally.

    Please refer to the answer of Zak in the following thread: https://forums.adobe.com/message/6496180#6496180

    See you soon,.

    Vikas

  • Problems with Last_value (col Ignore Nulls)

    Thank you in advance

    I use Last_value (col Ignore Nulls) in Expression

    LAST_VALUE (INGRP1. AADT IGNORE NULLS) (ORDER OF INGRP1. ROUTE_ID, INGRP1. COUNTY, INGRP1.CO_ORDR, INGRP1. BEG_MP)

    I am getting error can of assistance

    Line 2, Col 30:
    PLS-00103: Encountered the symbol "IGNORE" when expecting one of the following:
    
       . ( ) , * @ % & | = - + < / > at in is mod remainder not
       range rem => .. <an exponent (**)> <> or != or ~= >= <= <>
       and or like LIKE2_ LIKE4_ LIKEC_ as between from using ||
       multiset member SUBMULTISET_

    Hello

    Change the code Generation Mode 'Base set' and the run setting default operating Mode "base set" and redeployment.

    Default OWB will generate code with a bunch of different modes including PLSQL focused on the line. You use SQL based unparalleled PLSQL so get a problem compiling for the line section based on the generated code.

    See you soon
    Davivd

  • Lag() ignore null values performance

    Hello

    I have looked around, but didn't find everybody talks about performance problems specifically with the use of 'IGNORE NULLS' inside of an analytic function of LAG() in a view online.

    This is a cut from the version of my sql, isolated to the question under discussion.

    select * from (
      SELECT /* use_nl (j,gjt,jt) */
         jt.id
        ,COALESCE
          (lag(jt.my_column ignore nulls /* this is the nasty critter */
            ) over (order by jt.order_seq)
          ,0
          )+1 AS start_days
        ,coalesce
          (jt.my_column
          ,last_value(jt.my_column ignore nulls
            ) over (order by jt.order_seq desc)
          ) AS end_days
      FROM  a,bunch,of,tables
      WHERE ...
      ) jt 
    where jt.id = '123456'
    

    If I remove ignores NULL values in the offset, there is no performance problem.

    Last_value() is not affected.

    If I do not use a view inline then performance is very good, although it is no different to explain the plan.

    select ..
    from ...
    where ...
    and id = '123456'
    

    Has anyone come across something like this, or have any suggestions?

    Happy to try to build a test scenario if it contributes to the discussion, but I thought I would just ask the question first.

    Scott

    Scott.Wesley wrote:

    Hello

    I have looked around, but didn't find everybody talks about performance problems specifically with the use of 'IGNORE NULLS' inside of an analytic function of LAG() in a view online.

    If I remove ignores NULL values in the offset, there is no performance problem.

    Last_value() is not affected.

    If I do not use a view inline then performance is very good, although it is no different to explain the plan.

    1. Select...
    2. Of...
    3. where the...
    4. and id = '123456'

    Scott,

    He would not have anything to do with your real problem, since you say that you get different performances during the removal of the IGNORE NULLS clause, but I doubt that you get exactly the same execution plan when online display is deleted these two queries are typically semantically the same.

    If you use the inline view, Oracle cannot push the filter on the ID in the view if the analytical functions partitions not by this ID, because the result will not be the same for the steps: with the online mode, the data is transformed without filtering for the evaluation of the expressions of the LAG etc, and then the filter is applied.

    If you remove the inline view and filter directly, it has a quite different meaning because now the data will be filtered first and then the analytical functions apply to the filtered result set.

    So the case of inline view maybe has to deal with a completely different volume (larger) identical to the variant of view data not online according to the selectivity of the filter - which could explain that the clause "IGNORE NULLS" made a significant difference in performance on this larger volume of data to deal with, but not necessarily.

    Randolf

  • Offset and IGNORE NULLS for LEAD/LAG

    Hi all

    so far, I thought that I understood the functioning of LEAD and the DELAY, but after you add the IGNORE NULLS and a shift, I'm confused

    I created a Fiddle SQL that executes a 11 g R2, v$ version returns Oracle Database 11 g Express Edition Release 11.2.0.2.0

    CREATE TABLE vt (part INT, ord int, val INT);
    INSERT INTO vt VALUES(1, 1, 8);
    INSERT INTO vt VALUES(1, 2, 10);
    INSERT INTO vt VALUES(1, 3, 3);
    INSERT INTO vt VALUES(1, 4, NULL);
    INSERT INTO vt VALUES(1, 5, NULL);
    INSERT INTO vt VALUES(1, 6, NULL);
    INSERT INTO vt VALUES(1, 7, 2);
    INSERT INTO vt VALUES(1, 8, NULL);
    INSERT INTO vt VALUES(1, 9, 5);
    
    
    
    
    

    Arghhh, of course, I am wrong and the result is correct

    OFFSET 2 more IGNORE NULLS does not mean ""find the next non null from two lines after the current line ", there "find the 2nd non-NULL value from directly after the current line". "

    And to compensate FOR the 1, both rules will return the same result.

    This occurs when you are focused on a specific thing and not see the forest for the trees.

  • Complete with matching null values

    Hi all
    Take into consideration the following:

    create table X_T2
    (
      COL1 VARCHAR2(2),
      COL2 VARCHAR2(2)
    )
    insert into x_t2 (COL1, COL2)
    values ('1', 'A');
    
    insert into x_t2 (COL1, COL2)
    values ('2', '');
    
    insert into x_t2 (COL1, COL2)
    values ('3', '');
    
    insert into x_t2 (COL1, COL2)
    values ('4', '');
    
    insert into x_t2 (COL1, COL2)
    values ('5', '');
    
    insert into x_t2 (COL1, COL2)
    values ('6', '');
    
    insert into x_t2 (COL1, COL2)
    values ('7', 'B');
    
    insert into x_t2 (COL1, COL2)
    values ('8', '');
    
    insert into x_t2 (COL1, COL2)
    values ('9', '');
    
    insert into x_t2 (COL1, COL2)
    values ('10', '');
    
    insert into x_t2 (COL1, COL2)
    values ('11', '');
    
    insert into x_t2 (COL1, COL2)
    values ('12', 'C');
    
    insert into x_t2 (COL1, COL2)
    values ('13', '');
    
    insert into x_t2 (COL1, COL2)
    values ('14', '');
    
    insert into x_t2 (COL1, COL2)
    values ('15', '');
    
    insert into x_t2 (COL1, COL2)
    values ('16', '');
    
    insert into x_t2 (COL1, COL2)
    values ('17', 'D');
    
    insert into x_t2 (COL1, COL2)
    values ('18', '');
    
    insert into x_t2 (COL1, COL2)
    values ('19', '');
    
    insert into x_t2 (COL1, COL2)
    values ('20', '');
    Required result:
    1     A
    2     A
    3     A
    4     A
    5     A
    6     A
    7     B
    8     B
    9     B
    10     B
    11     B
    12     C
    13     C
    14     C
    15     C
    16     C
    17     D
    18     D
    19     D
    20     D
    Any ideas?

    Oracle 11g


    Thanks in advance,
    Alexander.

    Hello, Alexander.

    Here's one way:

    SELECT    col1
    ,       LAST_VALUE (col2 IGNORE NULLS)
               OVER (ORDER BY  LPAD (col1, 2))     AS c2
    FROM       x_t2
    ORDER BY  LPAD (col1, 2)
    ;
    

    a.Stoyanov wrote: Hi all,.
    Take into consideration the following:

    create table X_T2
    (
    COL1 VARCHAR2(2),
    COL2 VARCHAR2(2)
    )
    
    insert into x_t2 (COL1, COL2)
    values ('1', 'A');
    ...
    

    If you want to '2' and '3' in front of '10' and 11', then you might consider col1, a NUMBER, rather than a VARCHAR2, or add a constraint (and possibly a trigger) to make sure he always has 2 characters.

    Please include the information and sample version; It's very useful!
    You didn't say if you have Oracle 11.1 or 11.2. From 11.2, there is another way to specify IGNORE NULLS; but as noted above will work in both versions (or any version starting with Oracle 10.1).

  • History of backfilling with non-null values

    Hi gurus,

    in Oracle 11 g, which would be the best way to update a null with the next available non-null value?

    For example: in the code below, I need to update the null in 20130201 record (key = 1) (key date) with a value of 100 available at the next available date IE 20130203.
    Same key = 3 value will be updated with key = 4 value i.e. 200.
    1,ABCD, 20130201, NULL
    2,ABCD,20130203, 100
    3,ABCD, 20130205, NULL
    4, ABCD,20130207, 200
    Thank you
    S
    with t as (
               select  tbl.*,
                       last_value(nvl2(c4,c1,null) ignore nulls) over(order by c1) prev_c1,
                       last_value(c4 ignore nulls) over(order by c1) prev_c4,
                       first_value(nvl2(c4,c1,null) ignore nulls) over(order by c1 rows between current row and unbounded following) next_c1,
                       first_value(c4 ignore nulls) over(order by c1 rows between current row and unbounded following) next_c4
                 from  tbl
              )
    select  c1,
            c2,
            c3,
            c4,
            case
              when c4 is not null then c4
              when c1 - prev_c1 < next_c1 - c1 then prev_c4
              else next_c4
            end new_c4
      from  t
    /
    
            C1 C2           C3         C4     NEW_C4
    ---------- ---- ---------- ---------- ----------
             1 ABCD   20130201                   100
             2 ABCD   20130203        100        100
             3 ABCD   20130205                   200
             4 ABCD   20130207        200        200
    
    SQL> 
    

    SY.

  • misery with the installation of Oracle 10 g on my mac pro book... Help!

    Hey guys, I tried to install Oracle 10 g on my Macbook pro since last week (part-time)... still no joy... I watched endless forums... tried my best but a bit given upward on solve by yourself... That's why I'm here! really appreciate your suggestions...

    Version to install Oracle: 10.2.0.4.0
    OS: Mac OS X 10.6.4

    Here is my oracle dba and user group settings... (ran chown oracle: dba/Users/oracle)
    dscl. -gid /groupes list | grep 600 = 600 s/n
    dscl. -gid/Users list. grep 600 = 600 oracle
    dscl. List/users uid. grep 600 = 600 oracle

    oracle user .bash_profile
    ==================

    ulimit - Hu 512
    ulimit - Su 512
    ulimit - Hn 10240
    ulimit - Sn 10240

    umask 022

    export ORACLE_BASE = / users/oracle/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
    Export DYLD_LIBRARY_PATH = $ORACLE_HOME/lib
    export ORACLE_SID = dev
    PATH = $ORACLE_HOME/bin: $PATH


    /etc/sysctl.conf
    ======================

    Kern.SysV.SEMMSL = 87381
    Kern.SysV.SEMMNS = 87381
    Kern.SysV.SEMMNI = 87381
    Kern.SysV.semmnu = 87381
    Kern.SysV.semume = 10
    Kern.SysV.shmall = 2097152
    Kern.SysV.shmmax = 4194384
    Kern.SysV.shmmni = 4096
    Kern.MaxFiles = 12288
    Kern.maxfilesperproc = 10240
    NET.inet.IP.PortRange.First = 49152
    NET.inet.IP.PortRange.Last = 65000
    Kern.corefile=/cores/core.%P
    Kern.maxproc = 1024
    Kern.maxprocperuid = 512

    Connected to my macbook pro as user 'oracle' that I couldn't run install oracle in my regular user, say 'myuser '.

    I ran. / runInstaller - J - d32 to bring up the Setup Wizard. There is no option to select the Advanced installation options. I have the home page, and then he went directly to Oracle edition (enterprise or standard, etc.).

    Pretty well, I went with the default settings and you click on install.
    as per
    http://www.Pythian.com/news/1937/quick-install-guide-for-Oracle-10G-release-2-on-Mac-OS-x-Leopard-Intel/

    I got the error in invoking target ' all_no_orcl ipc_g ihsodbc32 error during linking and editing the $ORACLE_HOME/rdbms/lib/ins_rdbms.mk file (without leaving Installer - just switch on the Terminal) and comment out the line with $(HSODBC_LINKLINE) and then switched back to the error in the Setup program and click 'Retry '. And the installation was successful.

    I also edited java to ad - d32 as the link above.

    Oracle net CA went well too... and then dbca fails... (I'm getting ora-03113 end of file on communication channel)

    Here is the content of configToolFailedCommands (in Users/oracle/oracle/product/10.2.0/db_1/cfgtoollogs)
    ======================
    /Users/Oracle/Oracle/product/10.2.0/Db_1/bin/DBCA-progress_only - createDatabase-templateName - General_Purpose.dbc - gdbName dev - dev sid - sysPassword 0524ce87a4c697aa9bec15cb8e5510e77f4631b9d077c613fa - systemPassword 05a875507616bb3541a4df90f138bc7d6a460ce667390a6631 - sysmanPassword 0522aa23f8372c3b80a6703570274141923f452a3dbdbd35b4 - dbsnmpPassword 05cc2ee9d3e0a1a95e15676fd7b7d588b9f08baae39194ef7b - emConfiguration NONE datafileJarLocation - /Users/oracle/oracle/product/10.2.0/db_1/assistants/dbca/templates - datafileDestination/Users/oracle/oracle/oradata/responsefile - NO_VALUE - characterset AL32UTF8 - obfuscatedPasswords true - true sampleSchema - oratabLocation /Users/oracle/oracle/product/10.2.0/db_1/install/oratab - recoveryAreaDestination NO_VALUE

    /Users/Oracle/Oracle/product/10.2.0/Db_1/bin/isqlplusctl start

    has attempted to run manually... but no luck...

    Here's what I found in the log file... but have no idea what has caused these errors...
    in /Users/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/trace.log
    ======================
    [main] [17:53:33:294] [SQLEngine.initialize:274] boot player Thread...
    [Thread-4] [17:53:33:428] [StepContext$ ModeRunner.run:2478]-necessary progress: = true
    [Thread-4] [17:53:33:536] [BasicStep.execute:202] execution stage: CLONE_DB_CREATION_RMAN_RESTORE
    [Thread-4] Parameter [17:53:33:537] [StepErrorHandler.setFatalErrors:322] Fatal Error: ORA-01092
    [Thread-4] Parameter [17:53:33:537] [StepErrorHandler.setFatalErrors:322] Fatal Error: ORA-01034
    [Thread-4] Parameter [17:53:33:537] [StepErrorHandler.setFatalErrors:322] Fatal Error: ORA-03114
    [Thread-4] Parameter [17:53:33:537] [StepErrorHandler.setFatalErrors:322] Fatal Error: ORA-12560
    [Thread-4] Parameter [17:53:33:537] [StepErrorHandler.setIgnorableErrors:250] error can be ignored: ORA-01109
    [Thread-4] [17:53:33:537] [BasicStep.configureSettings:304] updated messageHandler = null
    [Thread-4] [17:53:33:539] [BasicStep.execute:202] execution stage: INSTANCE_CREATION
    [Thread-4] [17:53:33:539] [BasicStep.configureSettings:304] updated messageHandler = null
    [Thread-4] [17:53:33:543] [InitParamAttributes.sortParams:3532] m_sortOn: sortOn:4 - 1
    [Thread-4] [17:53:33:567] [Host.noEntryinOratab:5115] looking for arg oratab spent...
    [Thread-4] [17:53:33:567] [Oratab.getTempFile:710] Temp oratab: / tmp/oratab
    [Thread-4] [17:53:33:730] [BasicStep.configureSettings:304] messageHandler being set=oracle.sysman.assistants.util.UIMessageHandler@24e801
    [Thread-4] [17:53:33:730] [CloneRmanRestoreStep.executeImpl:217] the Forum went well past...
    [Thread-4] [17:53:33:730] [CloneRmanRestoreStep.executeImpl:224] db_recovery_file_dest = / users/oracle/oracle/flash_recovery_area
    [Thread-4] [17:53:33:730] [CloneRmanRestoreStep.executeImpl:227] db_recovery_file_dest_size = 2147483648
    [Thread-4] [17:53:33:773] [SQLEngine.setSpool:1758] old coil = null
    [Thread-4] Setting spool [17:53:33:774] [SQLEngine.setSpool:1759] = /Users/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/dev/CloneRmanRestore.log
    [Thread-4] [17:53:33:774] [SQLEngine.setSpool:1760] is the editable coil? -> true
    [Thread-4] [17:53:33:774] [CloneRmanRestoreStep.executeImpl:320], starting with pfile=/Users/oracle/oracle/admin/dev/pfile/init.ora
    Wire [2] Oracle.sysman.assistants.util.UIMessageHandler@24e801:messageHandler [17:53:35:41] [BasicStep.handleNonIgnorableError:430]
    Wire [2] [17:53:35:41] [BasicStep.handleNonIgnorableError:431] ORA-03113: end of file on communication channel
    : msg
    [Thread-4] [17:53:52:220] [SQLEngine.done:1966] is called
    [Thread-4] Setting spool [17:53:52:221] [SQLEngine.spoolOff:1826] off = /Users/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/dev/CloneRmanRestore.log
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-03113: end of file on communication channel

    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1482)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.startup(SQLEngine.java:1875)
    at oracle.sysman.assistants.dbca.backend.CloneRmanRestoreStep.executeImpl(CloneRmanRestoreStep.java:321)
    at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
    at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
    to oracle.sysman.assistants.util.step.StepContext$ ModeRunner.run (StepContext.java:2488)
    at java.lang.Thread.run(Thread.java:637)
    [Thread-4] [17:53:52:225] [BasicStep.configureSettings:304] messageHandler being set=oracle.sysman.assistants.util.UIMessageHandler@24e801
    [Thread-4] Oracle.sysman.assistants.dbca.backend.CloneRmanRestoreStep.executeImpl (CloneRmanRestoreStep.java:435) [17:53:52:225] [StepContext$ ModeRunner.run:2504]
    oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
    oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
    oracle.sysman.assistants.util.step.StepContext$ ModeRunner.run (StepContext.java:2488)
    java.lang.Thread.run(Thread.java:637)
    [Thread-4] [17:53:53:419] [SQLEngine.done:1966] is called
    [Thread-4] [17:53:53:420] [Host.createStepSQLInterface:5948] sid = dev
    [Thread-4] [17:53:53:423] [SQLEngine.initialize:242] process Execing SQLPLUS/OPEN...
    [Thread-4] [17:53:53:455] [SQLEngine.initialize:270] M_bReaderStarted: false
    [Thread-4] [17:53:53:455] [SQLEngine.initialize:274] boot player Thread...
    [Thread-4] [17:53:53:469] [CloneRmanRestoreStep.cancel:601] partially extracted files Cleanup failed
    [Thread-4] [17:53:54:628] [SQLEngine.done:1966] is called
    [Thread-4] [17:53:54:630] [CloneRmanRestoreStep.cancel:616] RMAN Cleanup failed
    [Thread-4] Oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl (SQLEngine.java:1482) [17:53:54:630] [CloneRmanRestoreStep.cancel:617]
    oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeQuery(SQLEngine.java:703)
    oracle.sysman.assistants.dbca.backend.CloneRmanRestoreStep.generateCancelScript(CloneRmanRestoreStep.java:826)
    oracle.sysman.assistants.dbca.backend.CloneRmanRestoreStep.cancel(CloneRmanRestoreStep.java:611)
    oracle.sysman.assistants.util.step.StepContext$ ModeRunner.cancel (StepContext.java:2581)
    oracle.sysman.assistants.util.step.StepContext$ ModeRunner.run (StepContext.java:2543)
    java.lang.Thread.run(Thread.java:637)
    [Thread-4] [17:53:54:630] [CloneDBCreationStep.cancel:889] CloneDBCreationStep.cancel (): nodeList = null
    [Thread-4] [17:53:54:631] [SQLEngine.reInitialize:611] the SQLEngine reset...
    [Thread-4] [17:53:54:632] [SQLEngine.initialize:242] process Execing SQLPLUS/OPEN...
    [Thread-4] [17:53:54:664] [SQLEngine.initialize:270] M_bReaderStarted: false
    [Thread-4] [17:53:54:664] [SQLEngine.initialize:274] boot player Thread...
    [Thread-4] [17:53:54:675] [SQLEngine.initialize:323] waiting for m_bReaderStarted be true
    [Thread-4] [17:53:55:834] [Oratab.getTempFile:710] Temp oratab: / tmp/oratab
    [Thread-4] [17:53:55:835] [OsUtilsBase.deleteFile:744] OsUtilsBase.deleteFile: /Users/oracle/oracle/product/10.2.0/db_1/dbs/orapwdev
    [Thread-4] [17:53:55:835] [OsUtilsBase.deleteFile:744] OsUtilsBase.deleteFile: /Users/oracle/oracle/product/10.2.0/db_1/dbs/initdev.ora
    [Thread-4] [17:53:55:836] [OsUtilsBase.deleteFile:744] OsUtilsBase.deleteFile: /Users/oracle/oracle/admin/dev/pfile/init.ora
    [Thread-4] [17:53:55:836] [CloneDBCreationStep.cancel:930] CloneDBCreationStep.cancel (): Jaqueline = false
    [Thread-4] [17:53:55:837] [OsUtilsBase.deleteFile:744] OsUtilsBase.deleteFile: /Users/oracle/oracle/oradata/dev/system01.dbf
    [Thread-4] [17:53:55:837] [OsUtilsBase.deleteFile:744] OsUtilsBase.deleteFile: /Users/oracle/oracle/oradata/dev/undotbs01.dbf
    [Thread-4] [17:53:55:837] [OsUtilsBase.deleteFile:744] OsUtilsBase.deleteFile: /Users/oracle/oracle/oradata/dev/sysaux01.dbf
    [Thread-4] [17:53:55:837] [OsUtilsBase.deleteFile:744] OsUtilsBase.deleteFile: /Users/oracle/oracle/oradata/dev/users01.dbf
    [Thread-4] [17:53:55:838] [OsUtilsBase.deleteFile:744] OsUtilsBase.deleteFile: /Users/oracle/oracle/oradata/dev/redo01.log
    [Thread-4] [17:53:55:838] [OsUtilsBase.deleteFile:744] OsUtilsBase.deleteFile: /Users/oracle/oracle/oradata/dev/redo02.log
    [Thread-4] [17:53:55:838] [OsUtilsBase.deleteFile:744] OsUtilsBase.deleteFile: /Users/oracle/oracle/oradata/dev/redo03.log
    [Thread-4] [17:53:55:839] [OsUtilsBase.deleteFile:744] OsUtilsBase.deleteFile: /Users/oracle/oracle/oradata/dev/control01.ctl
    [Thread-4] [17:53:55:839] [OsUtilsBase.deleteFile:744] OsUtilsBase.deleteFile: /Users/oracle/oracle/oradata/dev/control02.ctl
    [Thread-4] [17:53:55:839] [OsUtilsBase.deleteFile:744] OsUtilsBase.deleteFile: /Users/oracle/oracle/oradata/dev/control03.ctl
    [Thread-4] [17:53:55:879] [SQLEngine.done:1966] is called


    Could someone help me with this problem?... did I miss something?... How can I get it works... and actual database stuff ' there...

    See you soon

    I had the same problem and that you run in the slide of Ray on how install Oracle on Snow Leopard. Pretty Ray's Web site was still linked directly from Oracle download site :) The key step for me was that the $ORACLE_HOME/bin/oracle binary is not OK and should be replaced. It can be downloaded from Ray. (I was a little nervous about downloading a binary executable, but Ray is directly related to Oracle if he has earned my trust.)
    TADAAAA: dbca run flawlessly and now I can't system@orcl :))) sqlplus

    Here's the URL for Ray guide:

    http://blog.rayapps.com/2009/09/14/how-to-install-Oracle-database-10G-on-Mac-OS-x-Snow-Leopard/

    Published by: user13387528 on August 19, 2010 02:22

  • I have problem with value NULL when the use CASE statement please help this question

    I have problem with value NULL when the use CASE statement please help this question


    Table: digital_val

    SNO cl C2

    1 San1 11

    2 22 San2

    Actual result: expected to A         B

    A            B                                                                           11        22

    11 NULL

    22 NULL



    query:

    Select case when c1 = "san1" then c2,.

    case If c1 = "san2" then c2 B

    of digital_val

    I'm more curious why, when you select 2 rows, you expect a result of row?

    WITH digital_val

    AS (SELECT 1 AS 'Sno', 'San1"C1, c2 FROM DUAL 11)

    UNION ALL

    2 SELECT AS 'Sno', 'San2"C1, c2 FROM DUAL 22)

    SELECT CASE WHEN c1 is "San1" THEN END AS A c2.

    CASE WHEN c1 = "San2" THEN END AS B c2

    OF digital_val;

    With no other input, if you select 2 rows, you get 2 rows.  One of the other solutions use a max function, but is this really what you want, does not specify?

  • Several lines in duplicate with the null value displayed in the combined analysis rpt

    Dear all,

    Our requirement is to display users open tasks (my open tasks) on the home page. So I created a report called open my tasks.

    The columns to display are subject, account name, due date, owner. If I use only the 'activities' notification area, and then I can not retrieve tasks that have NULL of the account name. SOD ignore and filter the tasks with the NULL account name if I display the name of the account.

    So I used a combined analysis of activity report activity with itself i.e. area statement. All columns except account name in one of them where I used "instead of the name of Account.Account.

    It now also displays tasks with NULL account name. But there is another question. These activities when there is an account name, display double - double rows - an account name and othet without account name (for example, NULL).

    Please can you help how to solve above or meet the requirement in an alternative way?

    Thank you
    Niraj

    VR;

    (1. any activity with account) + (2. All activities - 3. Activities with account)

    1 account name because it is
    2 maintain a column empty "
    3 write the instruction box and change the name of the account by white ")

    Dinesh

  • Failure of the assertion when using Labview ActiveX functions to communicate with the dll

    Hello

    I'm looking for suggestions and tips about the following error that I get when I use .NET Labview functions to communicate with the dll written in .NET environment. I just need a starting pointer on where can I search for the origin of this error. I am a newbie in. NET.

    I am also attaching the .vi I use, if this is of any help. All suggestions are welcome!  Thank you.

    The origin of the error found after studying the examples provided by the OR .NET. The callback function had to be moved out of the loop, which solved the problem.

Maybe you are looking for

  • Tree control double-click the default behavior

    Hi all Tree control has a default behavior that expand / reduce point when the double click event occurs on the parent element. How can I to avoid this behavior to use double custom click event without open close nodes? Thank you concerning

  • Bad Bios on the N100 update

    Hello I have an old laptop lenovo n100, 1.66 dual core, 2 GB of ram. The problems started when I tried to install win 8 dev preview on this, because I'm pretty interested in coding, so the idea was to do it on that and use it as a test computer. When

  • Fix error 40 - KB Article ID: 950750 (Multiprocedssor computer Error Message "Stop: 0x0000007E")

    Not sure if this is the right area to post or not... Please forgive if no well want to redirect me to the appropriate area.  Thank you! Problem: Error Message When you start a multiprocessor computer that is running Windows Vista: "STOP: 0x0000007E"

  • where to download Eclipse plugin to version 4.5

    Hello world Can someone tell me where, since then, I download eclipse 4.5? I have eclipse for 5.0 but I run the app on blackberry 4.5. But I can't find the link for the Blackberry Eclipse 4.5.

  • I can not find 2871839 KB in windows updates

    I visited the Microsoft Web site and I read the instructions to upgrade to 8.1 windows. The link redirect me to store windows and I can't find windows 8.1. I searched in the windows updates and I have not found that KB 2871839 listed there, then, wha