CASE statement used in Oracle 10g -ORA-00934 Error

I am getting ORA-00934 group function not allowed. What am I doing wrong here.
Please advice.
select count( case WHEN TRUNC(so_due_Date) = sysdate
AND ne_state = 'GA'
AND ((so_type LIKE '%CHANGE%') OR (so_type LIKE '%NEW%')) THEN 1
end)INTO v_due_today,
count( case WHERE TRUNC(so_due_Date) = sysdate + 1
AND ne_state = 'GA'
AND ((so_type LIKE '%CHANGE%') OR (so_type LIKE '%NEW%')) THEN 1
end)INTO v_due_tomorrow
FROM tbl_cif_current ;
Thanks,
jaya.

are you using this in pl/sql block or at SQl
there two things.
you are missing
1 missing )<--- closing para for the count.
2. if rou are using pl/sql block then INTO clause goes after all the column,
SELECT COUNT( CASE WHEN TRUNC(so_due_Date) = SYSDATE AND ne_state = 'GA' AND ((so_type LIKE '%CHANGE%') OR (so_type LIKE '%NEW%')) THEN 1
             END)),
COUNT( CASE WHERE TRUNC(so_due_Date) = SYSDATE + 1 AND ne_state = 'GA' AND ((so_type LIKE '%CHANGE%') OR (so_type LIKE '%NEW%')) THEN 1
END))
FROM tbl_cif_current ;
or in pl/sql
SELECT COUNT( CASE WHEN TRUNC(so_due_Date) = SYSDATE AND ne_state = 'GA' AND ((so_type LIKE '%CHANGE%') OR (so_type LIKE '%NEW%')) THEN 1
             END)),
COUNT( CASE WHERE TRUNC(so_due_Date) = SYSDATE + 1 AND ne_state = 'GA' AND ((so_type LIKE '%CHANGE%') OR (so_type LIKE '%NEW%')) THEN 1
END))
  INTO v_due_tomorrow,v_due_today
FROM tbl_cif_current ;typo correction
Message was edited by:
devmiral

Similar Messages

  • How to the find the Delete records/Statement used in Oracle 10g database?

    Hi all,
    I am Using Oracle 10g Database release 2 on Windows 2003 Server Enterprise Edition... Last week One of my user has deleted important records from my database,i need to find who did this... is there any way to find out ...Please Advice me ....One More thing i have not enabled the Auditing features in My database .....
    Thank You
    Shan

    Rajesh Lathwal wrote:
    Use log miner ..
    Regards
    RajeshEven with that, if he wants to know WHO, he will have to have previously enabled extended logging ....

  • How to use the Oracle 10g JDBC OCI driver in JBoss ?

    Greetings,
    I deployed ojdbc14.jar in JBoss and I created an Oracle datasource. I have the following questions:
    1. In the datasource descriptor file I have:
    <connection-url>jdbc:oracle:oci:@(description=(address=(host=localhost)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME=xe)))</connection-url>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    Is it enough in order to use the Oracle 10g JDBC OCI driver ?
    2. After having looked-up the datasource and created a connection, the classe of these objects are org.jboss.resource.adapter.jdbc.WrapperDataSource and, respectivelly, org.jboss.resource.adapter.jdbc.WrappedConnection. How can I have access to oracle.jdbc.oci and oracle.jdbc.pool packages ?
    Many thanks in advance,
    Nicolas

    Hello
    We were banging our heads on a similar thing, maybe this will help
    We needed to convert the wrapped connection to an OracleConnection so that we could do a proxy switch, but maybe you could apply it to your situation anyway
    1-you have to convert the Connection object to an OracleConnection in order to use the method that does the proxy switch
    The method to do this is getInnermostDelegate()
    Once you call this method, you get a new Connection object that can be cast to an OracleConnection object
    See below for the snippet of code
    // now switch the user and reselect
    if (conn instanceof DelegatingConnection) {
    properties.put("PROXY_USER_NAME","peter/peter");
    oraConn =((DelegatingConnection)conn).getInnermostDelegate();
    if (oraConn == null)
    out.println("oraConn is null\n");
    ((OracleConnection)oraConn).openProxySession(OracleConnection.PROXYTYPE_USER_NAME,properties);
    2-you have to put a setting in the xml file in conf/Catalina/localhost that allows you to call the getInnermostDelegate() method
    By default, Tomcat does not allow you to call this method, it will always return null
    You have to change the xml to allow it to return an object
    It seems that WebSphere and Tomcat both frown on vendor-specific methods that do not comply with the JDBC standards, but do allow it
    Here is the setting:
    <parameter>
    <!-- NOTE: This is necessary to enable access to the Oracle connection object -->
    <name>accessToUnderlyingConnectionAllowed</name>
    <value>true</value>
    </parameter>
    Note, this setting was also put in the conf/server.xml file
    Thanks
    Peter

  • ORACLE 10g : Datapump-Import : Error: unknown parameter name 'REMAP_TABLE'

    Hi,
    I am working on Oracle 10g. When executed import datapump script in the UNIX box with option “RMAP_TABLE” I received the error “unknown parameter name 'REMAP_TABLE' “Can you please give me solution for it?
    Scripts :-
    impdp eimsexp/xyz TABLES=EIMDBO.DIVISION DIRECTORY=DATAMART_DATA_PUMP_DIR DUMPFILE=expdp_DATAMART_tables_%u_$BATCH_ID.dmp LOGFILE=impdp_DATAMART_tables.log REMAP_TABLE=EIMDBO.DIVISION:EIM2DBO:YR2009_DIM_DIVISION
    Note :- The YR2009_DIM_DIVISION table is available in the target database. It is without partition table. The EIMDBO.DIVISION is partition table.
    Thanks,

    See your post here
    ORACLE 10g : Datapump-Import : Error: unknown parameter name 'REMAP_TABLE'
    Srini

  • Case statement problems in oracle forms 6i

    Hello,
    Any one can help me that how to use case statment in Oracle forms 6i.
    i have read one thread and there was no proper solution so could any one please let me know to use case statement.
    Please also let me know which category i should search for FORMS 6i.
    when i'm using below code with cursor then i'm getting error 103
    database:=11g
    application := forms 6i
    operating system:= win Xp
    code is given below :-
    cursor c1 is
    select nc.nomenclature_id,
    nvl(nc.category_value, 0) master,
    nvl(nc2.category_value, 0) case,
    nvl(nc3.category_value, 0) bundle,
    case
    when nvl(nc.category_value, 0) > 0 and
    nvl(nc2.category_value, 0) > 0 and
    nvl(nc3.category_value, 0) > 0 then
    'A' --All packouts Master, Case, Bundle
    when nvl(nc.category_value, 0) > 0 and
    nvl(nc2.category_value, 0) > 0 and
    nvl(nc3.category_value, 0) = 0 then
    'B' --Both Master and Case
    when nvl(nc2.category_value, 0) = 0 and
    nvl(nc3.category_value, 0) = 0 then
    'C' --Master Case Only
    else
    'N'
    end code
    from nomn_category nc, --master case
    (select nc2.nomenclature_id,
    nc2.category_value
    from nomn_category nc2
    where nc2.category_id = '230732') nc2,
    (select nc3.nomenclature_id,
    nc3.category_value
    from nomn_category nc3
    where nc3.category_id = '236566') nc3
    Edited by: Rahul on Feb 3, 2012 7:18 PM
    Edited by: Rahul on Feb 3, 2012 7:20 PM

    hello Andreas,
    It is ok but i dont have to use view there.
    i need to use without view, because this code has to be use in FORMS6i.
    But Forms6i doesn't support to case function. i'm newbie in Forms.
    If you can convert to below bold one portion(case) into decode then please help me or
    if you have any idea about Forms6i then please send me any link where is given explanation about excel report that how to make excel report through Forms6i step by step and that excel report should be generate on any dynamic path which is given by user:-
    cursor c1 is
    select nc.nomenclature_id,
    nvl(nc.category_value, 0) master,
    nvl(nc2.category_value, 0) case,
    nvl(nc3.category_value, 0) bundle,
    case
    when nvl(nc.category_value, 0) > 0 and
    nvl(nc2.category_value, 0) > 0 and
    nvl(nc3.category_value, 0) > 0 then
    *'A'*
    when nvl(nc.category_value, 0) > 0 and
    nvl(nc2.category_value, 0) > 0 and
    nvl(nc3.category_value, 0) = 0 then
    *'B' --Both Master and Case*
    when nvl(nc2.category_value, 0) = 0 and
    nvl(nc3.category_value, 0) = 0 then
    *'C'*
    else
    *'N'*
    end "code"
    from nomn_category nc,
    (select nc2.nomenclature_id,
    nc2.category_value
    from nomn_category nc2
    where nc2.category_id = '230732') nc2,
    (select nc3.nomenclature_id,
    nc3.category_value
    from nomn_category nc3
    where nc3.category_id = '236566') nc3
    thanks

  • Cannot use existing oracle 10g db as collab suite database

    Hi all,
    I am trying to simulate colocated IM architecture installation in my test machines. I tried to use my existing Oracle db 10g R2 as my collab suite database. The OUI prompted an error after checking prerequisites:
    Oracle Home you have specified is an Oracle 10g 10.2.0.0.0 or higher version and cannot be configured into an Oracle Collaboration Suite Database.
    Refering to OCS documentation,
    "You need Oracle Database 10g (10.1.0.4.2) for the Oracle Collaboration Suite installation to be successful. If you have an earlier version of database, for example Oracle Database 10g (10.1.0.2) or Oracle Database 10g (10.1.0.3), then you must apply the Oracle Database 10g
    Release 1 (10.1.0.4.2) Patchset to this existing Database."
    Install Guide 10g R1 B15793-01 Chapter 5.2.1 "You can optionally convert an existing Oracle Database 10g into an Oracle Collaboration Suite Database. The database must be version 10.1.0.5 or higher.."
    Deployment Guide 10g R1 B14479-01 Chapter 4These statements indicates that oracle DB 10.1.0.5 or higher can be converted into OCS DB. But the OUI hit me with the error. Have anyone encountered this before? or any idea why? Thanks

    did you find out the solution for your issue. I ran into the same problem.

  • Oracle 10G : ORA-12500: TNS:listener failed to start a dedicated server pro

    When connecting to Oracle I am getting this error. I have restarted the database, restarted the listener, but the problem does not go away. I have increased the processes to 400.
    Error :
    ORA-12500: TNS:listener failed to start a dedicated server process
    listener.log :
    27-APR-2004 11:15:38 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=BUILD.OCS.COM)(CID=(PROGRAM=C:\oracle\product\10.1.0\db_1\bin\sqlplus.exe)(HOST=MA-BUILDENV1)(USER=nkancharla))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.180.112)(PORT=2265)) * establish * BUILD.OCS.COM * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    Listener.trc :
    [27-APR-2004 11:14:38:382] snttcallback: op = 5, bytes = 170, err = 0
    [27-APR-2004 11:14:38:382] ntt2err: soc 324 error - operation=5, ntresnt[0]=524, ntresnt[1]=997, ntresnt[2]=0
    [27-APR-2004 11:14:38:382] nsdo: 160 bytes from NS buffer
    [27-APR-2004 11:14:38:382] nsglgrDoRegister: inst loads: ld1:12 mld1:100 ld2:12 mld2:445
    [27-APR-2004 11:14:38:382] nsdo: 68 bytes to NS buffer
    [27-APR-2004 11:15:38:951] nsopen: opening transport...
    [27-APR-2004 11:15:38:951] nttcnp: Validnode Table IN use; err 0x0
    [27-APR-2004 11:15:38:951] nttcnp: getting sockname
    [27-APR-2004 11:15:38:951] nttcnr: waiting to accept a connection.
    [27-APR-2004 11:15:38:951] nttcnr: getting sockname
    [27-APR-2004 11:15:38:951] nttcnr: connected on ipaddr 192.168.180.112
    [27-APR-2004 11:15:38:951] nttvlser: valid node check on incoming node 192.168.180.112
    [27-APR-2004 11:15:38:951] nttvlser: Accepted Entry: 192.168.180.112
    [27-APR-2004 11:15:38:951] nttcon: set TCP_NODELAY on 288
    [27-APR-2004 11:15:38:951] nsopen: transport is open
    [27-APR-2004 11:15:38:951] nsnainit: inf->nsinfflg[0]: 0xd inf->nsinfflg[1]: 0xd
    [27-APR-2004 11:15:38:951] nsopen: global context check-in (to slot 7) complete
    [27-APR-2004 11:15:38:951] nsanswer: deferring connect attempt; at stage 5
    [27-APR-2004 11:15:38:951] nscon: doing connect handshake...
    [27-APR-2004 11:15:38:951] nscon: got NSPTCN packet
    [27-APR-2004 11:15:38:951] nsevdrcvreq: recving connect data
    [27-APR-2004 11:15:38:951] nsdo: 248 bytes from NS buffer
    [27-APR-2004 11:15:38:951] nsevdansw: exit
    [27-APR-2004 11:15:38:951] nsglbgetRSPidx: returning ecode=0
    [27-APR-2004 11:15:38:951] nsc2addr: (ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oraclebuild)(ARGS='(LOCAL=NO)'))
    [27-APR-2004 11:15:38:951] nsbeqaddr: connecting...
    [27-APR-2004 11:15:38:951] snlpcss: Unable to spawn Oracle oracle (LOCAL=NO) build, error 258.
    [27-APR-2004 11:15:38:951] nserror: nsres: id=7, op=72, ns=12560, ns2=0; nt[0]=530, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    [27-APR-2004 11:15:38:951] nscon: sending NSPTRF packet
    [27-APR-2004 11:15:38:951] nstimarmed: no timer allocated
    [27-APR-2004 11:15:38:951] nsclose: closing transport
    [27-APR-2004 11:15:38:951] nsclose: global context check-out (from slot 7) complete
    [27-APR-2004 11:15:38:951] nsgldissolve: Deallocating cxd 0xd89e18.

    Listener.ora:
    lsncrtl status:
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 27-APR-2004 11:27:56
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production
    Start Date 27-APR-2004 11:27:23
    Uptime 0 days 0 hr. 0 min. 33 sec
    Trace Level admin
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\oracle\product\10.1.0\db_1\network\admin\listener.ora
    Listener Log File C:\oracle\product\10.1.0\db_1\network\log\listener.log
    Listener Trace File C:\oracle\product\10.1.0\db_1\network\trace\listener.trc
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ma-buildenv1.ocs.open-channels.com)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ma-buildenv1.ocs.open-channels.com)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ma-buildenv1.ocs.open-channels.com)(PORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "BUILD" has 1 instance(s).
    Instance "BUILD", status UNKNOWN, has 1 handler(s) for this service...
    Service "BUILD.OCS.COM" has 1 instance(s).
    Instance "build", status READY, has 2 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    sqlnet.log:
    Fatal NI connect error 12500, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ma-buildenv1.ocs.open-channels.com)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=BUILD.OCS.COM)(CID=(PROGRAM=C:\oracle\product\10.1.0\db_1\bin\sqlplus.exe)(HOST=MA-BUILDENV1)(USER=nkancharla))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.1.0.2.0 - Production
    Time: 27-APR-2004 11:28:42
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12564
    TNS-12564: TNS:connection refused
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    listener.log:
    27-APR-2004 11:28:42 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=BUILD.OCS.COM)(CID=(PROGRAM=C:\oracle\product\10.1.0\db_1\bin\sqlplus.exe)(HOST=MA-BUILDENV1)(USER=nkancharla))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.180.112)(PORT=2527)) * establish * BUILD.OCS.COM * 12500
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    listener.trc with ADMIN on:
    [27-APR-2004 11:28:42:011] nsevwait: 1 newly-posted event(s)
    [27-APR-2004 11:28:42:011] nsevfnt: cxd: 0xd3eed0 stage 0: NT events set:
         CONNECTION REQUEST
    [27-APR-2004 11:28:42:011] nsevfnt: cxd: 0xd3eed0 stage 0: NS events set:
         INCOMING CALL
    [27-APR-2004 11:28:42:011] nsevwait: event is 0x1, on 2
    [27-APR-2004 11:28:42:011] nsevwait: 1 posted event(s)
    [27-APR-2004 11:28:42:011] nsglhe: entry
    [27-APR-2004 11:28:42:011] nsmal: 536 bytes at 0xd7c1f0
    [27-APR-2004 11:28:42:011] nsmal: 1632 bytes at 0xd7e638
    [27-APR-2004 11:28:42:011] nsopen: opening transport...
    [27-APR-2004 11:28:42:011] nttcon: entry
    [27-APR-2004 11:28:42:011] nttcon: toc = 3
    [27-APR-2004 11:28:42:011] nttcnp: entry
    [27-APR-2004 11:28:42:011] ntvlin: entry
    [27-APR-2004 11:28:42:011] ntvlin: exit
    [27-APR-2004 11:28:42:011] nttcnp: Validnode Table IN use; err 0x0
    [27-APR-2004 11:28:42:011] nttcnp: getting sockname
    [27-APR-2004 11:28:42:011] nttcnp: exit
    [27-APR-2004 11:28:42:011] nttcnr: entry
    [27-APR-2004 11:28:42:011] nttcnr: waiting to accept a connection.
    [27-APR-2004 11:28:42:011] nttcnr: getting sockname
    [27-APR-2004 11:28:42:011] nttcnr: connected on ipaddr 192.168.180.112
    [27-APR-2004 11:28:42:011] nttvlser: entry
    [27-APR-2004 11:28:42:011] nttvlser: valid node check on incoming node 192.168.180.112
    [27-APR-2004 11:28:42:011] nttvlser: Accepted Entry: 192.168.180.112
    [27-APR-2004 11:28:42:011] nttcnr: exit
    [27-APR-2004 11:28:42:011] nttcon: set TCP_NODELAY on 248
    [27-APR-2004 11:28:42:011] nttcon: exit
    [27-APR-2004 11:28:42:011] nsopen: transport is open
    [27-APR-2004 11:28:42:011] nsnainit: answer
    [27-APR-2004 11:28:42:011] nsnasvnainfo: NA disabled for this connection
    [27-APR-2004 11:28:42:011] nainit: entry
    [27-APR-2004 11:28:42:011] nagblini: entry
    [27-APR-2004 11:28:42:011] nau_gin: entry
    [27-APR-2004 11:28:42:011] nau_gparams: entry
    [27-APR-2004 11:28:42:011] nam_gbp: Reading parameter "sqlnet.authentication_required" from parameter file
    [27-APR-2004 11:28:42:011] nam_gbp: Parameter not found
    [27-APR-2004 11:28:42:011] nau_gparams: Using default value "FALSE"
    [27-APR-2004 11:28:42:011] nau_gslf: entry
    [27-APR-2004 11:28:42:011] nam_gic: entry
    [27-APR-2004 11:28:42:011] nam_gic: Counting # of items in "sqlnet.authentication_services" parameter
    [27-APR-2004 11:28:42:011] nam_gic: Parameter not found
    [27-APR-2004 11:28:42:011] nam_gic: Found 0 items
    [27-APR-2004 11:28:42:011] nam_gic: exit
    [27-APR-2004 11:28:42:011] nau_gslf: Using default value "all available adapters"
    [27-APR-2004 11:28:42:011] nauss_set_state: entry
    [27-APR-2004 11:28:42:011] nauss_set_state: exit
    [27-APR-2004 11:28:42:011] nau_gslf: exit
    [27-APR-2004 11:28:42:011] nau_gparams: exit
    [27-APR-2004 11:28:42:011] nau_gin: exit
    [27-APR-2004 11:28:42:011] nagblini: exit
    [27-APR-2004 11:28:42:011] na_saveprot: entry
    [27-APR-2004 11:28:42:011] na_saveprot: exit
    [27-APR-2004 11:28:42:011] nacomin: entry
    [27-APR-2004 11:28:42:011] nas_init: entry
    [27-APR-2004 11:28:42:011] nas_init: exit
    [27-APR-2004 11:28:42:011] nau_ini: entry
    [27-APR-2004 11:28:42:011] naugcp_get_connect_parameters: entry
    [27-APR-2004 11:28:42:011] nauss_set_state: entry
    [27-APR-2004 11:28:42:011] nauss_set_state: exit
    [27-APR-2004 11:28:42:011] naugcp_get_connect_parameters: exit
    [27-APR-2004 11:28:42:011] nau_gettab: entry
    [27-APR-2004 11:28:42:011] nau_gettab: exit
    [27-APR-2004 11:28:42:011] nau_sini: entry
    [27-APR-2004 11:28:42:011] nau_sini: exit
    [27-APR-2004 11:28:42:011] nau_ini: exit
    [27-APR-2004 11:28:42:011] naeeinit: entry
    [27-APR-2004 11:28:42:011] nam_gbp: Reading parameter "SQLNET.FIPS_140" from parameter file
    [27-APR-2004 11:28:42:011] nam_gbp: Parameter not found
    [27-APR-2004 11:28:42:011] nam_gnsp: Reading parameter "SQLNET.ENCRYPTION_SERVER" from parameter file
    [27-APR-2004 11:28:42:011] nam_gnsp: Parameter not found
    [27-APR-2004 11:28:42:011] naequad: Using default value "ACCEPTED"
    [27-APR-2004 11:28:42:011] nam_gic: entry
    [27-APR-2004 11:28:42:011] nam_gic: Counting # of items in "SQLNET.ENCRYPTION_TYPES_SERVER" parameter
    [27-APR-2004 11:28:42:011] nam_gic: Parameter not found
    [27-APR-2004 11:28:42:011] nam_gic: exit
    [27-APR-2004 11:28:42:011] naesno: Using default value "all available algorithms"
    [27-APR-2004 11:28:42:011] naeshow: entry
    [27-APR-2004 11:28:42:011] naeshow: exit
    [27-APR-2004 11:28:42:011] naeeinit: exit
    [27-APR-2004 11:28:42:011] naecinit: entry
    [27-APR-2004 11:28:42:011] nam_gnsp: Reading parameter "SQLNET.CRYPTO_CHECKSUM_SERVER" from parameter file
    [27-APR-2004 11:28:42:011] nam_gnsp: Parameter not found
    [27-APR-2004 11:28:42:011] naequad: Using default value "ACCEPTED"
    [27-APR-2004 11:28:42:011] nam_gic: entry
    [27-APR-2004 11:28:42:011] nam_gic: Counting # of items in "SQLNET.CRYPTO_CHECKSUM_TYPES_SERVER" parameter
    [27-APR-2004 11:28:42:011] nam_gic: Parameter not found
    [27-APR-2004 11:28:42:011] nam_gic: exit
    [27-APR-2004 11:28:42:011] naesno: Using default value "all available algorithms"
    [27-APR-2004 11:28:42:011] naeshow: entry
    [27-APR-2004 11:28:42:011] naeshow: exit
    [27-APR-2004 11:28:42:011] naecinit: exit
    [27-APR-2004 11:28:42:011] nadisc: entry
    [27-APR-2004 11:28:42:011] nacomtm: entry
    [27-APR-2004 11:28:42:011] nacompd: entry
    [27-APR-2004 11:28:42:011] nacompd: exit
    [27-APR-2004 11:28:42:011] nacompd: entry
    [27-APR-2004 11:28:42:011] nacompd: exit
    [27-APR-2004 11:28:42:011] nacomtm: exit
    [27-APR-2004 11:28:42:011] nas_dis: entry
    [27-APR-2004 11:28:42:011] nas_dis: exit
    [27-APR-2004 11:28:42:011] nau_dis: entry
    [27-APR-2004 11:28:42:011] nau_dis: exit
    [27-APR-2004 11:28:42:011] naeetrm: entry
    [27-APR-2004 11:28:42:011] naeetrm: exit
    [27-APR-2004 11:28:42:011] naectrm: entry
    [27-APR-2004 11:28:42:011] naectrm: exit
    [27-APR-2004 11:28:42:011] nagbltrm: entry
    [27-APR-2004 11:28:42:011] nau_gtm: entry
    [27-APR-2004 11:28:42:011] nau_gtm: exit
    [27-APR-2004 11:28:42:011] nagbltrm: exit
    [27-APR-2004 11:28:42:011] nadisc: exit
    [27-APR-2004 11:28:42:011] nainit: exit
    [27-APR-2004 11:28:42:011] nsnainit: NS Connection version: 313
    [27-APR-2004 11:28:42:011] nsnainit: inf->nsinfflg[0]: 0xd inf->nsinfflg[1]: 0xd
    [27-APR-2004 11:28:42:011] nsnainit: "or" info flags: 0xd     Translations follow:
         native service(s) is (are) wanted
         NA disabled remotely for this connection
         NA services unavailable on both processes - negotiation not needed
    [27-APR-2004 11:28:42:011] nsnainit: "or" info flags: 0xd     Translations follow:
         native service(s) is (are) wanted
         NA disabled remotely for this connection
         NA services unavailable on both processes - negotiation not needed
    "and" info flags: 0xd     Translations follow:
         native service(s) is (are) wanted
         NA disabled remotely for this connection
         NA services unavailable on both processes - negotiation not needed
    [27-APR-2004 11:28:42:011] nsopen: global context check-in (to slot 7) complete
    [27-APR-2004 11:28:42:011] nsopen: lcl[0]=0x34ffefff, lcl[1]=0x12003, gbl[0]=0x7abf, gbl[1]=0x2001, tdu=32767, sdu=8192
    [27-APR-2004 11:28:42:011] nsdo: cid=7, opcode=65, bl=0, what=0, uflgs=0x0, cflgs=0x2
    [27-APR-2004 11:28:42:011] nsdo: rank=64, nsctxrnk=0
    [27-APR-2004 11:28:42:011] nsdo: nsctx: state=7, flg=0x4000, mvd=0
    [27-APR-2004 11:28:42:011] nsdo: nsctxrnk=0
    [27-APR-2004 11:28:42:011] nsanswer: deferring connect attempt; at stage 5
    [27-APR-2004 11:28:42:011] nsevreg: begin registration process for 7
    [27-APR-2004 11:28:42:011] nsevreg: sgt=0, evn=4, evt[2]=0x0
    [27-APR-2004 11:28:42:011] nsevreg: begin notification process for 7
    [27-APR-2004 11:28:42:011] nsrah: setting transport read mode (2)
    [27-APR-2004 11:28:42:011] nttctl: entry
    [27-APR-2004 11:28:42:011] nttctl: Clearing non-blocking mode
    [27-APR-2004 11:28:42:011] nttctl: entry
    [27-APR-2004 11:28:42:011] nttctl: Setting connection into async mode
    [27-APR-2004 11:28:42:011] nsevreg: rdm=2, sgt=0, evt[0]=0x20, [1]=0x20, [2]=0x0, nrg=0
    [27-APR-2004 11:28:42:011] nsevreg: registering for 0x20
    [27-APR-2004 11:28:42:011] nttmrd: entry
    [27-APR-2004 11:28:42:011] nttrd: entry
    [27-APR-2004 11:28:42:011] snttcallback: entry
    [27-APR-2004 11:28:42:011] snttcallback: exit
    [27-APR-2004 11:28:42:011] nttrd: socket 248 had bytes read=316
    [27-APR-2004 11:28:42:011] nttrd: exit
    [27-APR-2004 11:28:42:011] nsglhe: exit
    [27-APR-2004 11:28:42:011] nsevwait: 7 registered connection(s)
    [27-APR-2004 11:28:42:011] nsevwait: 1 pre-posted event(s)
    [27-APR-2004 11:28:42:011] nsevwait: waiting for transport event (0 thru 7)...
    [27-APR-2004 11:28:42:011] nsevwait: 0 newly-posted event(s)
    [27-APR-2004 11:28:42:011] nsevwait: 1 pre-posted event(s)
    [27-APR-2004 11:28:42:011] nsevdansw: at STAGE 5
    [27-APR-2004 11:28:42:011] nsdo: cid=7, opcode=68, bl=2040, what=8, uflgs=0x0, cflgs=0x3
    [27-APR-2004 11:28:42:011] nsdo: rank=64, nsctxrnk=0
    [27-APR-2004 11:28:42:011] nsdo: nsctx: state=14, flg=0x4004, mvd=0
    [27-APR-2004 11:28:42:011] nsdo: gtn=10, gtc=10, ptn=10, ptc=8155
    [27-APR-2004 11:28:42:011] nscon: doing connect handshake...
    [27-APR-2004 11:28:42:011] nscon: recving a packet
    [27-APR-2004 11:28:42:011] nsprecv: 316 bytes from leftover
    [27-APR-2004 11:28:42:011] nsprecv: tlen=316, plen=58, type=1
    [27-APR-2004 11:28:42:011] nsprecv: 258 bytes to leftover
    [27-APR-2004 11:28:42:011] nscon: got NSPTCN packet
    [27-APR-2004 11:28:42:011] nsconneg: vsn=313, lov=300, opt=0x0, sdu=2048, tdu=32767, ntc=0x860e
    [27-APR-2004 11:28:42:011] nsconneg: vsn=313, gbl=0x1, sdu=2048, tdu=32767
    [27-APR-2004 11:28:42:011] nscon: got 248 bytes connect data
    [27-APR-2004 11:28:42:011] nscon: got 248 bytes connect data
    [27-APR-2004 11:28:42:011] nsdo: nsctxrnk=0
    [27-APR-2004 11:28:42:011] nsevdrcvreq: recving connect data
    [27-APR-2004 11:28:42:011] nsdo: cid=7, opcode=68, bl=248, what=1, uflgs=0x4001, cflgs=0x0
    [27-APR-2004 11:28:42:011] nsdo: nsctx: state=2, flg=0x4004, mvd=0
    [27-APR-2004 11:28:42:011] nsdo: gtn=58, gtc=58, ptn=10, ptc=2011
    [27-APR-2004 11:28:42:011] nsrdr: recving a packet
    [27-APR-2004 11:28:42:011] nsprecv: 258 bytes from leftover
    [27-APR-2004 11:28:42:011] nsprecv: tlen=258, plen=258, type=6
    [27-APR-2004 11:28:42:011] nsrdr: got NSPTDA packet
    [27-APR-2004 11:28:42:011] nsrdr: NSPTDA flags: 0x0
    [27-APR-2004 11:28:42:011] nsdo: what=1, bl=248
    [27-APR-2004 11:28:42:011] nsdo: 248 bytes from NS buffer
    [27-APR-2004 11:28:42:011] nsevdrcvreq: got 248 bytes connect data
    [27-APR-2004 11:28:42:011] nsevdansw: exit
    [27-APR-2004 11:28:42:011] nsevwait: event is 0x20, on 7
    [27-APR-2004 11:28:42:011] nsevwait: 1 posted event(s)
    [27-APR-2004 11:28:42:011] nsglhe: entry
    [27-APR-2004 11:28:42:011] nsglfc: Assume establishing a connection...
    [27-APR-2004 11:28:42:011] nsglfc: command = establish
    [27-APR-2004 11:28:42:011] nsglauthorized: entry
    [27-APR-2004 11:28:42:011] nsglecmd: entry
    [27-APR-2004 11:28:42:011] nttaddr2bnd: entry
    [27-APR-2004 11:28:42:011] nttaddr2bnd: exit
    [27-APR-2004 11:28:42:011] nsglbgetRSPidx: entry
    [27-APR-2004 11:28:42:011] nsglbgetRSPidx: returning ecode=0
    [27-APR-2004 11:28:42:011] nsglbgetRSPidx: exit
    [27-APR-2004 11:28:42:011] nsglb: entry
    [27-APR-2004 11:28:42:011] nsglb: exit
    [27-APR-2004 11:28:42:011] nsc2addr: (ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oraclebuild)(ARGS='(LOCAL=NO)'))
    [27-APR-2004 11:28:42:011] nlpcaini: entry
    [27-APR-2004 11:28:42:011] nlpcaini: prg = oracle
    [27-APR-2004 11:28:42:011] nlpcaini: arg[0] = oraclebuild
    [27-APR-2004 11:28:42:011] nlpcaini: arg[1] = (LOCAL=NO)
    [27-APR-2004 11:28:42:011] nlpcaini: exit
    [27-APR-2004 11:28:42:011] nsbeqaddr: connecting...
    [27-APR-2004 11:28:42:011] ntpcon: entry
    [27-APR-2004 11:28:42:011] ntpcon: toc = 1
    [27-APR-2004 11:28:42:011] sntpcall: entry
    [27-APR-2004 11:28:42:011] snlpcss: entry
    [27-APR-2004 11:28:42:011] snlpcss: Unable to spawn Oracle oracle (LOCAL=NO) build, error 258.
    [27-APR-2004 11:28:42:011] sntpcall: exit
    [27-APR-2004 11:28:42:011] ntpcon: exit
    [27-APR-2004 11:28:42:011] nserror: nsres: id=7, op=72, ns=12560, ns2=0; nt[0]=530, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    [27-APR-2004 11:28:42:011] nsglrespond: entry
    [27-APR-2004 11:28:42:011] nsdo: cid=7, opcode=67, bl=161, what=10, uflgs=0x0, cflgs=0x3
    [27-APR-2004 11:28:42:011] nsdo: rank=64, nsctxrnk=0
    [27-APR-2004 11:28:42:011] nsdo: nsctx: state=2, flg=0x4004, mvd=0
    [27-APR-2004 11:28:42:011] nsdo: gtn=258, gtc=258, ptn=10, ptc=2011
    [27-APR-2004 11:28:42:011] nscon: sending NSPTRF packet
    [27-APR-2004 11:28:42:011] nspsend: plen=173, type=4
    [27-APR-2004 11:28:42:011] nttmwr: entry
    [27-APR-2004 11:28:42:011] nttwr: entry
    [27-APR-2004 11:28:42:011] snttcallback: entry
    [27-APR-2004 11:28:42:011] snttcallback: exit
    [27-APR-2004 11:28:42:011] nttwr: socket 248 had bytes written=173
    [27-APR-2004 11:28:42:011] nttwr: exit
    [27-APR-2004 11:28:42:011] nspsend: 173 bytes to transport
    [27-APR-2004 11:28:42:011] nsdo: nsctxrnk=0
    [27-APR-2004 11:28:42:011] nstimarmed: no timer allocated
    [27-APR-2004 11:28:42:011] nttctl: entry
    [27-APR-2004 11:28:42:011] nttctl: entry
    [27-APR-2004 11:28:42:011] nsdo: cid=7, opcode=66, bl=0, what=0, uflgs=0x0, cflgs=0x2
    [27-APR-2004 11:28:42:011] nsdo: rank=64, nsctxrnk=0
    [27-APR-2004 11:28:42:011] nsdo: nsctx: state=2, flg=0x4000, mvd=0
    [27-APR-2004 11:28:42:011] nsevunreg: cid=7, sgt=0, rdm=2
    [27-APR-2004 11:28:42:011] nsrah: re-setting transport read mode
    [27-APR-2004 11:28:42:011] nttctl: entry
    [27-APR-2004 11:28:42:011] nttctl: Clearing async mode
    [27-APR-2004 11:28:42:011] nsevunreg: 6 registered connection(s)
    [27-APR-2004 11:28:42:011] nsdo: nsctxrnk=0
    [27-APR-2004 11:28:42:011] nsclose: closing transport
    [27-APR-2004 11:28:42:011] nttdisc: entry
    [27-APR-2004 11:28:42:011] nttdisc: Closed socket 248
    [27-APR-2004 11:28:42:011] nttdisc: exit
    [27-APR-2004 11:28:42:011] nsclose: global context check-out (from slot 7) complete
    [27-APR-2004 11:28:42:011] nsmfr: 1632 bytes at 0xd7e638
    [27-APR-2004 11:28:42:011] nsmfr: 536 bytes at 0xd7c1f0
    [27-APR-2004 11:28:42:011] nsgldissolve: entry
    [27-APR-2004 11:28:42:011] nsgldissolve: Deallocating cxd 0xd7c608.
    [27-APR-2004 11:28:42:011] nsgldissolve: exit
    [27-APR-2004 11:28:42:011] nsglrespond: exit
    [27-APR-2004 11:28:42:011] nsglecmd: exit
    [27-APR-2004 11:28:42:011] nsglhe: exit
    [27-APR-2004 11:28:42:011] nsevwait: 6 registered connection(s)
    [27-APR-2004 11:28:42:011] nsevwait: 0 pre-posted event(s)
    [27-APR-2004 11:28:42:011] nsevwait: waiting for transport event (0 thru 6)...
    [27-APR-2004 11:28:45:136] snttcallback: entry
    [27-APR-2004 11:28:45:136] snttcallback: op = 5, bytes = 170, err = 0
    [27-APR-2004 11:28:45:136] snttcallback: exit
    [27-APR-2004 11:28:45:136] nsevwait: 0 newly-posted event(s)
    [27-APR-2004 11:28:45:136] nsevfnt: cxd: 0xd597c8 stage 0: NT events set:
         READ
    [27-APR-2004 11:28:45:136] nsevfnt: cxd: 0xd597c8 stage 0: NS events set:
         INCOMING SEND
    [27-APR-2004 11:28:45:136] nsevwait: event is 0x2, on 4
    [27-APR-2004 11:28:45:136] nsevwait: 1 posted event(s)
    [27-APR-2004 11:28:45:136] nsglhe: entry
    [27-APR-2004 11:28:45:136] nsglrohe: entry
    [27-APR-2004 11:28:45:136] nsdo: cid=4, opcode=68, bl=8196, what=0, uflgs=0x0, cflgs=0x3
    [27-APR-2004 11:28:45:136] nsdo: rank=64, nsctxrnk=0
    [27-APR-2004 11:28:45:136] nsdo: nsctx: state=8, flg=0x400c, mvd=0
    [27-APR-2004 11:28:45:136] nsdo: gtn=258, gtc=258, ptn=10, ptc=8155
    [27-APR-2004 11:28:45:136] nsrdr: recving a packet
    [27-APR-2004 11:28:45:136] nsprecv: 170 bytes from leftover
    [27-APR-2004 11:28:45:136] nsprecv: tlen=170, plen=170, type=6
    [27-APR-2004 11:28:45:136] nttmrd: entry
    [27-APR-2004 11:28:45:136] nttrd: entry
    [27-APR-2004 11:28:45:136] ntt2err: entry
    [27-APR-2004 11:28:45:136] ntt2err: soc 296 error - operation=5, ntresnt[0]=524, ntresnt[1]=997, ntresnt[2]=0
    [27-APR-2004 11:28:45:136] ntt2err: exit
    [27-APR-2004 11:28:45:136] nttrd: exit
    [27-APR-2004 11:28:45:136] nsrdr: got NSPTDA packet
    [27-APR-2004 11:28:45:136] nsrdr: NSPTDA flags: 0x0
    [27-APR-2004 11:28:45:136] nsdo: what=1, bl=8196
    [27-APR-2004 11:28:45:136] nsdo: 160 bytes from NS buffer
    [27-APR-2004 11:28:45:136] nsdo: nsctxrnk=0
    [27-APR-2004 11:28:45:136] nsglgrDoRegister: inst loads: ld1:51 mld1:100 ld2:12 mld2:445
    [27-APR-2004 11:28:45:136] nsglgrDoRegister: exit
    [27-APR-2004 11:28:45:136] nsdo: cid=4, opcode=67, bl=68, what=1, uflgs=0x2, cflgs=0x3
    [27-APR-2004 11:28:45:136] nsdo: rank=64, nsctxrnk=0
    [27-APR-2004 11:28:45:136] nsdo: nsctx: state=8, flg=0x400c, mvd=0
    [27-APR-2004 11:28:45:136] nsdo: gtn=170, gtc=170, ptn=10, ptc=8155
    [27-APR-2004 11:28:45:136] nsdo: 68 bytes to NS buffer
    [27-APR-2004 11:28:45:136] nsdofls: DATA flags: 0x0
    [27-APR-2004 11:28:45:136] nsdofls: sending NSPTDA packet
    [27-APR-2004 11:28:45:136] nspsend: plen=78, type=6
    [27-APR-2004 11:28:45:136] nttmwr: entry
    [27-APR-2004 11:28:45:136] nttwr: entry
    [27-APR-2004 11:28:45:136] snttcallback: entry
    [27-APR-2004 11:28:45:136] snttcallback: exit
    [27-APR-2004 11:28:45:136] nttwr: socket 296 had bytes written=78
    [27-APR-2004 11:28:45:136] nttwr: exit
    [27-APR-2004 11:28:45:136] nspsend: 78 bytes to transport
    [27-APR-2004 11:28:45:136] nsdoacts: flushing transport
    [27-APR-2004 11:28:45:136] nttctl: entry
    [27-APR-2004 11:28:45:136] nsdo: nsctxrnk=0
    [27-APR-2004 11:28:45:136] nsglroHandleError: exit
    [27-APR-2004 11:28:45:136] nsglrohe: exit
    [27-APR-2004 11:28:45:136] nsglhe: exit
    [27-APR-2004 11:28:45:136] nsevwait: 6 registered connection(s)
    [27-APR-2004 11:28:45:136] nsevwait: 0 pre-posted event(s)
    [27-APR-2004 11:28:45:136] nsevwait: waiting for transport event (0 thru 6)...

  • Error in CASE statement used in Reports query

    My query has lots of selection criteria. I'm trying to use CASE for that.
    This is a part of my query with parameters:
    AND ad.location IN (CASE &p_location
    WHEN 1 THEN
    (SELECT TRIM(code_nbr) FROM code_detail
    WHERE code_nbr like 'LC%')
    WHEN 2 THEN -- then the user can type in more than 1 locations
    &p_location1|| p_location2
    END)
    AND --- there are more conditions after this
    The query fails that invalid relational operator in this CASE statement.
    Any suggestions...is there any other way to do it...Thanks in advance

    I would recommend the use of lexical parameters in the before report trigger
    Set up a parameter SQL_WHERE - text, 4000 chars.
    In your datamodel get rid of the case statement and just put &SQL_WHERE
    In the before report trigger modify your case statement to be something like:
    &SQL_WHERE:=' and ad.location in ';
    case when :p_location = 1 then
    &SQL_WHERE:=&SQL_WHERE||' select trim(code_nbr) from code_detail etc';
    end
    This way you can debug and test your case statement in the pl/sql environment. Plus the query should run faster as you are moving the complex where statement into a separate part of the report

  • SQL Query CASE statement using two fields

    Hi,
    I have two fields. One is called rescategory1, the other is called rescategory2.
    I'm not sure if its a CASE statement I need or some sort of WHERE clause but I want to create a query that does the following or something similar:
    CASE rescategory2
    WHEN rescategory1 = '44' AND rescategory2 = '1' THEN 'Backup'
    WHEN rescategory1 = '44' AND rescategory2 = '2' THEN 'Hardware'
    END AS [Resolution Sub Category]
    Basically, I'm looking to give rescategory2 a value based on that of rescategory1 and rescategory2 combined.
    How do I write this?
    Cheers
    Paul

    do you mean this?
    rescategory2 = CASE
    WHEN rescategory1 = '44' AND rescategory2 = '1' THEN 'Backup'
    WHEN rescategory1 = '44' AND rescategory2 = '2' THEN 'Hardware'
    END
    ie assigning value for rescategory2
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Using complete oracle 10g features....

    I do have the documentation but acccording to my personal experince this forum with gurus aroun here is better
    i wud like to noe how to make the best use of forms 10g like
    making good graphically appealing form,increased funcationality how to incude flash objects,
    n whats the use of using import java classes, import OLE interface and how to select the specific class or the package according to the requirements...i.e how to use and when to use them..!!!
    will it be easy to create webbased applications using Jdeveloper or will it b better to use forms....???

    my 5 cent:
    making good graphically appealing form,what does that mean?
    increased funcationality how to incude flash objectsthere is a java-bean that can be used as a "Web-Browser inside forms" that supports Flahs animations ( http://forms.pjc.bean.over-blog.com/article-5029633.html )
    n whats the use of using import java classes, Java-classes can be imported to enhance the functionality with logic written in java. The java-coe gets executed on the application-server. An example might be the logic to call a webservice.
    import OLE interface OLE is a windows-technique to somehow "remote-control" windows-applications or functionality provided in Active-X-dlls. OLE-calls work on the client (and in 10G require WEBUTIL)
    and how to select the specific class or the package according to the requirements...i.e how to use and when to use them..be more specific
    will it be easy to create webbased applications using Jdeveloper "42", or in other words, "it depends".
    It will be easy if you are capable of the nechnologies you need. JDeveloper is not a technology but a tool for java-development which supports the development of web-applications. But, there are a lot of web-technologies based on java which you can use. For more details you might read some stuff about JEE
    or will it b better to use forms....???Also, it depends. There are certain areas where Forms will be better (or easier, or more productive) to use. As forms requires a somehow "fat" client with the installation of the Java-Runtime and certain permissions for the applet to work properly, it may not be the first choice if you implement some public web-application. For "inhouse"-applications run on a companies intranet which deal with "alphanumerical data", forms may be the better choice because of a more Windows-like behaviour and/or its great productivity. (Both are just examples, you'll have to decide which technology to use based on certain reuqirements for a certain application)

  • Which "Analytic Workspace Manager I have to use with Oracle 10g 10.1.0.4?

    I have Oracle 10g 10.1.0.2 and I pallyied patchset OLAP to upgrade to 10.1.0.4, so which version of "Analytic Workspace Manager" I have to install?
    Thanks

    Hi,
    You can find the latest patchset on Metalink. The latest version of workspace manager for your database is 10.1.0.6.0, which is patch 4870951.
    Regards,
    Ben

  • Creating physical standby using rman fails with ORA-19558: error de-allocat

    Dear All,
    We are creating physical stadnby database from 2 node RAC ( 2 node RAC to standalone physical standby).
    While in the rman duplicate process we are getting below error, we were not able to sorted out..
    No third party storage has been used ....
    DB version : 11gR2 and the OS is RHEL5
    Appreciate if any one hepl us to resolve this issue ...
    Thanks in advance ...
    RMAN-03009: failure of backup command on prmy1 channel at 10/05/2011 17:59:26
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03113: end-of-file on communication channel
    Edited by: 889828 on 2011/10/06 2:17 AM

    The problem is well decribed in your alert log.....you are using Oracle Managed File names which means you will not be able to duplicate the database as RMAN won't be able to automatically generate new names for the files using the DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT initialization parameters.
    Youll have to use the SET NEWNAME command to specify the names of the database files. Done this a few times , and I don't recommend using OMF specifically beacuse of this hassle.
    WARNING: OMF is enabled on this database. Creating a physical standby controlfile, when OMF is enabled on the primary database, requires manual RMAN intervention to resolve OMF
    datafile pathnames.
    NOTE: Please refer to the RMAN documentation for procedures describing how to manually resolve OMF datafile pathnames.
    Problem handling is described in
    Oracle® Database Backup and Recovery Reference
    10g Release 2 (10.2)
    Part Number B14194-03

  • Oracle 10g Client ODBC Error

    Dear all,
    My DB is Oracle 10g (10.2.0.4) on Windows 2003 64 Bit and Our Clients are Oracle 10g (10.2.0.4) on Windows XP 32.
    I created net8 connection ‘PROD’ and sqlplus is connecting with the user/password@PROD
    When I create an ODBC named PROD32 using the TNS Name PROD and I tested the connection with the same username and password which I used in SQLPLUS it is not conning and giving the error message.
    Unable to Connect
    SQLState=28000
    [ORACLE][ODBC][ORA]ORA-01017: Invalid username/password; logon denied
    Can anyone give solution for this issue
    Regards
    Blessan

    Hello,
    are you trying to install the client by some other user which is not owner of oracle:dba group?
    this will genrally happen when you have different owner or manually changed the permissions.
    Please check your /tmp directory for any files releated to ora:DBA may have a soft link check permissions thier.
    Regards,
    Ajay

  • Oracle 10g Enterprise Manager Error

    Hi,
    I am getting below error when I open the Oracle-10G EM on GUI(Here my OS is Linux ES)
    "java.lang.Exception: No Such Target", Any idea wt will be the cause?

    Hi Leo,
    I have the same issue.
    1. I am using stand alone version.
    2. "emctl start dbconsole" ran successfully and it said Database Control started.
    3. I tried "localhost:5500/em", "MyComputerName:5500/em" and "IP Address:5500/em", all have the same result that after login and refresh, it shows "java.lang.Exception: No Such Target".
    Connection to the database was fine. No other problem so far except for this error message.
    Thanks for looking into it!
    Ron

  • Oracle 10g Lite-Sync Error

    Hi,
    I am Using Oracle 10g"Lite" Database, I am doing manual SYNC Process.
    Today I started the manual Sync Process i Got this Error Message in the Screen "POL-3201 Invalid Slot Number"
    I referred a document Shows this information
    POL-3201 Invalid slot number
    Cause: Internal error caused by referencing an object that has been deleted. Each
    object in the database, such as a row has a unique object identifier (OID) that
    identifies the location of the object in secondary storage. Each database file is
    divided into fixed size chunks called disk pages. An OID can become invalid
    when the:
    ■ disk page being referred by the OID does not exist in the database file.
    ■ physical read or write of the disk page fails due to an operating system related
    error.
    ■ address of the object (as indicated by the internal encoding in the OID) in the
    disk page is outside the page.
    ■ object is not found in the page.
    But i did not delete any thing in the Lite database.
    Yesterday the Manual SYNC was Successful ...After i did not touch the Lite Database.Today I started the SYNC and i Got the Error.
    Did any one face this error?
    Please advice on this Error
    Thank U for the Useful Information
    SHAN

    See if following OTN forum thread helps...
    Re: POL-3011/3012 when database is on SD Card.

Maybe you are looking for