To_date query nt working properly

SELECT auction_header_id,
ABSTRACT_DETAILS,
AUCTION_STATUS,CLOSE_BIDDING_DATE,INT_ATTRIBUTE1,
to_date(Int_attribute1,'yyyy-mm-dd hh24:mi:ss')
FROM PON_AUCTION_HEADERS_ALL
WHERE auction_header_id=xyz;
The above qury resulting error
ORA-01830: date format picture ends before converting entire input string.

It looks like data in TIMEGROUP.TIME_GROUP_STARTED/TIME_GROUP_ENDED column(s) do not match 'HH24:MI' format - some of them are longer.
Please tryu to alter the session and run the query again.
Steps Could Be:
=================
Current Query Having Error:
=================
SQL> select to_date( '03-APR-2012 11:550', 'DD-MON-YYYY HH24:MI' ) from dual;
select to_date( '03-APR-2012 11:550', 'DD-MON-YYYY HH24:MI' ) from dual
ERROR at line 1:
ORA-01830: date format picture ends before converting entire input string
==================
Alter The Session
==================
SQL> alter session set nls_date_format = 'yyyy-mm-dd hh24:mi:ss';
Session altered.
==================
Now Run the same Query:
==================
select to_date( '03-APR-2012 11', 'DD-MON-YYYY HH24:MI' ) from dual;
TO_DATE('03-APR-201
2012-04-03 11:00:00
1 row selected.
Hope this Help ...!!!!!!!!!!!!!!!!!
Regards,
Prem

Similar Messages

  • List of Character which cause Query not work properly

    I want the List of characters and resolution which can leads the SQL query to not work properly
    LIKE
    Problem: Single Quotes " ' " in SQL query.
    Solution: Use one more single Quotes
    Example: Select 'D''Sa'as EName from dual;
    Please provide all Such special cases so I take care while developing my application.

    That's what I ment by 'copied to every other iBook I have to create in this series' ( I mean 'linked in ePub export pop up').
    I use a small CSS file containing what I need and have no surprises anymore. I learned a lot this weeks...
    And concerning InDesign (as I always say in the IT-world): For every solution there is a problem...
    Cees
    information designer

  • Can't get IVI Power Meter error query to work properly.

    I have been trying to use the IviPwrMeter Error-Query.vi to read possible errors coming from the Power Meter.  However, I have found that no errors can be detected using this vi.  This is because the returned value 'status' is wired over to the 'error code' input of 'IviPwrMeter Error Converter.vi' and the status value will always be equal to VI_SUCCESS as the attached code signifies.
    All of this code was generated by either LabWindows/CVI and/or LabView.
    If I wire the error code output of 'IviPwrMeter_error_query' function to the error code input of 'IviPwrMeter IVI error converter.vi', the errors on the Power Meter is at least detected.
    Am I doing something wrong here or are there other work arounds?
    Source listing of driver call:
    ViStatus _VI_FUNC age4418b_error_query (ViSession vi, ViInt32 *errCode,
                                            ViChar errMessage[])
        ViStatus    error = VI_SUCCESS;
        checkErr( Ivi_LockSession (vi, VI_NULL));
        if (errCode == VI_NULL)
            viCheckParm( IVI_ERROR_INVALID_PARAMETER, 2, "Null address for Error Code");
        if (errMessage == VI_NULL)
            viCheckParm( IVI_ERROR_INVALID_PARAMETER, 3, "Null address for Error Message");
     if (!Ivi_Simulating(vi))                /* call only when locked */
         ViSession   io = Ivi_IOSession(vi); /* call only when locked */
         checkErr( Ivi_SetNeedToCheckStatus (vi, VI_TRUE));
         viCheckErr( viPrintf(io, "YST:ERR?"));
      viCheckErr( viScanf (io, "%ld,\"%256[^\"]", errCode, errMessage));
     else
             /* Simulate Error Query */
         *errCode = 0;
         strcpy (errMessage, "No error.");
    Error:
        Ivi_UnlockSession(vi, VI_NULL);
        return error;

    Dennis,
    I get the same results as you if I don't have a power meter connected.  However, this doesn't supprise me because the session handle is probably checked at a higher level.
    The calling hiearchy is as follows (I think, because I don't have all of the code)  IviPwrMeter Error Query.vi -> IviPwrMeter_error_query (IviPwrMeter.dll) ->age4418b_error_query (age4418b.dll).  I would guess that the session is validated in the second layer and not the bottom layer where the actual instrument error query is happening.
    Something you may try.  If you have any instrument, write a simple program to get a valid handle then call the error query using the error cluster to link them together.  Set a breakpoint before the error query, run the program, use MAX to send an invalid command and create an error.  Then resume your original program and see if an error is reported in the error cluster after executing the IVI error query.
    Bob

  • Query not working properly

    I have a simple inventory query where the user can input a
    search term, and a price span in 2 text boxes, named p1 and p2, the
    search box is named s.
    When I just change the price boxes and submit, it works
    perfectly, but if I put anything in the search text box, it always
    returns 0 records, even though I know it should be returning
    hundreds of records. The real kicker here is that when I copy the
    query submitted to the db in the debugging section, and I paste it
    directly into the access database, it runs perfect.
    What could make it run perfect in the db directly, but not
    return any records when sent via CF?
    Any suggestions would be helpful, thank you, and the CF code
    is listed below, then below that the code found in the debugger
    with my sample search.

    Welcome to the world of non-standard SQL. ANSI standard SQL
    is a myth. Trial and error and experience is the only solution. Not
    only are things vastly different between the database players (even
    those that purport to be ANSI compliant), things are even different
    amongst the different drivers (ODBC, JDBC, OLE, Native, etc.) that
    you can use to go against those databases. Typically Database
    differences will simply crash. With Driver differences, anything
    can happen, although they are typically more restrictive. They will
    often not allow certain keywords or constructs to pass through even
    though the DB supports it.

  • Migrated 3.x query not working properly

    Hi All,
       I am migrating existing 3.x queries in system to BI 7. Some queries are showing strange behaviour like when i am executing them in analyzer the results are perfect. When i am executing same queries on web through query designer or through a web template all the Key figures are coming completely balnk.
    What may be the reason?? pls guide.
    Regards:
    Jitendra
    Edited by: Jitendra Gupta on Apr 22, 2010 4:09 PM

    Welcome to the world of non-standard SQL. ANSI standard SQL
    is a myth. Trial and error and experience is the only solution. Not
    only are things vastly different between the database players (even
    those that purport to be ANSI compliant), things are even different
    amongst the different drivers (ODBC, JDBC, OLE, Native, etc.) that
    you can use to go against those databases. Typically Database
    differences will simply crash. With Driver differences, anything
    can happen, although they are typically more restrictive. They will
    often not allow certain keywords or constructs to pass through even
    though the DB supports it.

  • Inner join query not working properly

    Hi everyone,
    It does not gives any error, but it is not fetching any values...but when i dont include fourth table CSKT AND THE FIELD LTEXT it is fetching the values.
    SELECT SINGLE
          T1~PERNR
          T1~BEGDA
          T1~ENAME
          T1~PLANS
          T1~KOSTL
          T2~STRAS
          T2~PSTLZ
          T2~ORT01
          T3~PLSTX
          T4~LTEXT
          INTO  FS_TAB
          FROM PA0001 AS T1
          INNER JOIN PA0006 AS T2 ON T1PERNR eq T2PERNR
          INNER JOIN T528T AS T3 ON T1PLANS EQ T3PLANS
          INNER JOIN CSKT AS T4 ON T1KOSTL EQ T4KOSTL
          WHERE T1~PERNR eq p_pernr.

    Change like this
    SELECT SINGLE
    T1~PERNR
    T1~BEGDA
    T1~ENAME
    T1~PLANS
    T1~KOSTL
    T2~STRAS
    T2~PSTLZ
    T2~ORT01
    T3~PLSTX
    T4~LTEXT
    INTO FS_TAB
    FROM PA0001 AS T1
    INNER JOIN PA0006 AS T2 ON T1~PERNR eq T2~PERNR
    INNER JOIN T528T AS T3 ON T1~PLANS EQ T3~PLANS
    LEFT OUTER JOIN CSKT AS T4 ON T1~KOSTL EQ T4~KOSTL
    WHERE T1~PERNR eq p_pernr.
    OR
    SELECT SINGLE
    T1~PERNR
    T1~BEGDA
    T1~ENAME
    T1~PLANS
    T1~KOSTL
    T2~STRAS
    T2~PSTLZ
    T2~ORT01
    T3~PLSTX
    T4~LTEXT
    INTO FS_TAB
    FROM PA0001 AS T1
    LEFT OUTER JOIN PA0006 AS T2 ON T1~PERNR eq T2~PERNR
    LEFT OUTER JOIN T528T AS T3 ON T1~PLANS EQ T3~PLANS
    LEFT OUTER JOIN CSKT AS T4 ON T1~KOSTL EQ T4~KOSTL
    WHERE T1~PERNR eq p_pernr.
    as long as the table is not used in where condition, u can use left outter join.

  • Query is not working properly when statistics are computed (XE 11g Windows 7 32 bits)

    Hi,
    We have an application with a Oracle XE 11.2 database on a Windows 7 32 bits plateform.
    We have a query wich access 4 tables end use a user defined package function.
    When the statistics are computed the query is returning no rows, (with the data in the tables it should return 349 rows).
    When the statistics are deleted (with ANALYZE TABLE xxx DELETE STATISTICS) the query is working fine.
    I tried different statistics calculation methods, and sometimes the query is working, sometimes it is not!
    I don't understand how the statistics caluclation method can change the query results.
    Has anybody already encountered such an issue?
    Regards,
    Yves

    I understand how the statistics are working.
    What i don't undestand is why the number of rows returned is different with or without statistics.
    I tried yesterday to had a hint /*+ RULE */ and with the hint, rows are correctly returned!
    Here is the query:
    SELECT l_activite.copaip, l_activite.nunati, l_activite.numeul, obsoff.dapaul,
                                        obsoff.lai24h / 10 * DECODE (coefat, NULL, 1, 0, 1, coefat / 200) lai24h, obsoff.etfeob, obsoff.tplaco / 10 tplaco,
                                        obsoff.tblaco / 10 tblaco, l_lactoff.nulact, obsoff.dapaul - l_lactoff.dadela + 1 dulact, l_lactoff.dadela,
                                        l_activite.dcenul,
                                        (  obsoff.tblaco
                                         / 10
                                         * (DECODE (obsoff.tblaco, 0, 0, NULL, 0, obsoff.lai24h * DECODE (coefat, NULL, 1, 0, 1, coefat / 200) / 10))
                                        ) mg,
                                        (  obsoff.tplaco
                                         / 10
                                         * (DECODE (obsoff.tplaco, 0, 0, NULL, 0, obsoff.lai24h * DECODE (coefat, NULL, 1, 0, 1, coefat / 200) / 10))
                                        ) mp,
                                        DECODE (obsoff.tblaco, 0, 0, NULL, 0, obsoff.lai24h * DECODE (coefat, NULL, 1, 0, 1, coefat / 200) / 10) lait_mg,
                                        DECODE (obsoff.tplaco, 0, 0, NULL, 0, obsoff.lai24h * DECODE (coefat, NULL, 1, 0, 1, coefat / 200) / 10) lait_mp,
                                        pck_f_valorises.f_present_mul (obsoff.etfeob,
                                                                       obsoff.nulact,
                                                                       (SELECT MAX (l_obsoff.dapaul)
                                                                          FROM l_obsoff
                                                                         WHERE TRIM (l_obsoff.copaip) = TRIM (l_activite.copaip)
                                                                           AND TRIM (l_obsoff.nunati) = TRIM (l_activite.nunati)
                                                                           AND l_obsoff.dapaul < obsoff.dapaul
                                                                           AND l_obsoff.etfeob <> 'T'),
                                                                       obsoff.dapaul,
                                                                       l_lactoff.dadela
                                                                      ) as OK
                                   FROM l_activite, l_obsoff obsoff, l_lactoff, l_passage
                                  WHERE TRIM (l_activite.copaul) = TRIM ('FR')
                                    AND TRIM (l_activite.numeul) = TRIM ('61323017') || '    0'
                                    AND TRIM (l_activite.copaip) = TRIM (obsoff.copaip)
                                    AND TRIM (l_activite.nunati) = TRIM (obsoff.nunati)
                                    AND TRIM (l_activite.copaip) = TRIM (l_lactoff.copaip)
                                    AND TRIM (l_activite.nunati) = TRIM (l_lactoff.nunati)
                                    AND TRIM (l_passage.copaul) = TRIM (l_activite.copaul)
                                    AND TRIM (l_passage.numeul) = TRIM (l_activite.numeul)
                                    AND (   (DECODE (l_activite.dacosu, TO_DATE ('01/01/0001', 'dd/MM/YY'), 'VIDE', NULL, 'VIDE', l_activite.dacosu) = 'VIDE')
                                         OR (l_activite.dacosu >= l_passage.dapaul)
                                    AND l_passage.dapaul = obsoff.dapaul
                                    AND obsoff.nulact = l_lactoff.nulact
                                    AND obsoff.dapaul >= l_activite.dcenul
                                    AND l_passage.dapaul <= to_date('24/04/2013')
                                    AND l_passage.dapaul >= to_date('24/04/2012') - 50
                                    AND pck_f_valorises.f_present_mul (obsoff.etfeob,
                                                                       obsoff.nulact,
                                                                       (SELECT MAX (l_obsoff.dapaul)
                                                                          FROM l_obsoff
                                                                         WHERE TRIM (l_obsoff.copaip) = TRIM (l_activite.copaip)
                                                                           AND TRIM (l_obsoff.nunati) = TRIM (l_activite.nunati)
                                                                           AND l_obsoff.dapaul < obsoff.dapaul
                                                                           AND l_obsoff.etfeob <> 'T'),
                                                                       obsoff.dapaul,
                                                                       l_lactoff.dadela
                                                                      ) = 1
    and the function :
    FUNCTION F_PRESENT_MUL(p_etat IN CHAR,p_nulact IN NUMBER,
    p_derniere_obs_lait IN DATE, p_date_passage IN DATE,p_dadela IN DATE)
    RETURN NUMBER IS
       NAME:       F_PRESENT_MUL
       PURPOSE:    Retourne 1 si présent MUL 0 sinon
       REVISIONS:
       Ver        Date        Author           Description
       1.0        01/12/2006  Mathieu GUIDEL        1. Created this function.
       NOTES:
    BEGIN
       IF p_derniere_obs_lait IS NULL THEN /* vache présente MUL */
        RETURN 1;
       END IF;
       IF p_etat='P' THEN /* vache présente MUL */
       RETURN 1;
       ELSE
        IF p_etat = 'N' THEN /* NC ou FV */
         IF (p_date_passage - p_dadela + 1) <= 7 THEN /* FV */
          IF p_nulact=1 THEN
          RETURN 0;
          ELSE /* considérée comme tarie */
           IF (p_date_passage - p_derniere_obs_lait) < 100 THEN /* derniere obs lait inférieur à 100 jour, présente MUL */
           RETURN 1;
           ELSE /* FV tarie depuis trop longtemps : non présente MUL */
           RETURN 0;
           END IF;
          END IF;
         ELSE /* NC */
         RETURN 1;
         END IF;
        ELSE
         IF p_etat = 'T' THEN /* Tarie */
          IF (p_date_passage - p_derniere_obs_lait) < 100 THEN /* derniere obs lait inférieur à 100 jour, présente MUL */
          RETURN 1;
          ELSE /* tarie depuis trop longtemps : non présente MUL */
          RETURN 0;
          END IF;
          ELSE /* etat différent de P, N, T donc etat = S */
          /*vérification du contrôle précédent non FV*/
          IF (p_derniere_obs_lait - p_dadela + 1) <= 7 THEN /* FV au contrôle précédent*/
          RETURN 0;
          ELSE
            IF (p_date_passage - p_derniere_obs_lait) < 30 THEN /* derniere obs lait ou NC inférieur à 30 jour, présente MUL */
            RETURN 1;
            ELSE /* sortie sans lait depuis trop longtemps : non présente MUL */
            RETURN 0;
            END IF;
          END IF;
         END IF;
        END IF;
       END IF;
    END F_PRESENT_MUL;
    Regards

  • 4.0 EA2 - Autofit not working properly in Query Result grid

    Hi,
    in 4.0 EA2 the Autofit isn't working properly in Query Result grid.
    Rather than shrinking columns to the narrowest size that accommodates headings and contents (as per 3.2), it auto-expands to fit the whole data query grid.
    It looks worse, and makes it harder to see results at a glance.

    Bug and will be fixed for v4 release.

  • Copy Function is Not Working properly In Order Management

    Hi,
    Description-
    When an order with remnant model is copied, it copied only the topple model line and they include items attached to the top model line. It doesn’t copy the
    option class lines and the option item lines (unshipped and shipped).
    Example-
    Enter an order with for pd-pto-model. See order#21231.The ordered quantities and structure of the model is shown below:
    pd-pto-model 5 qty
    pd-std-item1 (included item) 5 qty
    pd-pto-oc (option class) 5 qty
    pd-std-item1 (included item with rfr checked) 5 qty
    pd-std-item2 (option item with rfr checked) 5 qty
    pd-std-item3 (option item) 5 qty
    Booked the order and pick relased the order. While shipconfirming only shipped 5 qty of pd-std-item3 and staged the rest. On querying the sales order, the line status is seen correctly as follows:
    pd-pto-model Closed
    pd-std-item1 (included item) Picked
    pd-pto-oc (option class) Closed
    pd-std-item1 (included item with rfr checked) Picked
    pd-std-item2 (option item with rfr checked) Picked
    pd-std-item3 (option item) Partially Interfaced to receivables
    Copied this order from the order header. The new order# is 21232.On querying the order, I see only 2 lines as follows:pd-pto-model.
    Anyone can help me on this issue.
    Thanks,
    Chinna

    haisrig wrote:
    Hi ,
    We are facing an issue with select() in Solaris 10. we had written a sample program to this issue.
    Program name :- sel.cpp
    int main()
    struct timeval sleeptime;
    sleeptime.tv_sec = 60;
    printf("1\n");
    select(0,NULL,NULL,NULL,&sleeptime);
    printf("2");
    return 0;
    When i run this program in Solaris 9, its printing 1 and after one minute its printing 2.
    When i run this program on Solaris 10, its printing 1 and 2 without waiting for 60 seconds.
    When i tried to print tv_usec, its printing as 0 in solaris 9 and some garbage values in solaris 10.
    I think because of that the above select function is not working properly in solaris 10.
    Why the tv_usec is not taking 0 as default values in Solaris 10?
    We are using our legacy code for past 20 years. So, before going to do any changes we are trying to find why this happenig like this.Hi
    It sounds to me that you've been lucky for 20 years then.
    Local POD variables on the stack that aren't explicitly initialized can contain any value. Here's what I see in your app with dbx
    (dbx) run
    Running: sel
    stopped in main at line 9 in file "sel.cpp"
        9      sleeptime.tv_sec = 60;
    (dbx) print sleeptime
    sleeptime = {
        tv_sec  = -4198732
        tv_usec = 0
    }That's on a Solaris 10 SPARC machine. If I try it on a Solaris 10 x86 box then I get
    (dbx) print sleeptime
    sleeptime = {
    tv_sec = -830490588
    tv_usec = 134510556
    and I see the behaviour that you describe.
    Paul

  • CTSS is not working properly in RAC 11.2.0.1 on vmware 1 (redhat 5.3)

    Dears
    I have installed CRS 11.2.0.1 on vmware 1 at redhat 5.3 .
    CRS has installed sucessfully without any error. but when execute
    [oracle@RAC1 grid]$ ./runcluvfy.sh stage -post crsinst -n RAC1,RAC2 -verbose
    Checking if Clusterware is installed on all nodes...
    Check of Clusterware install passed
    Checking if CTSS Resource is running on all nodes...
    Check: CTSS Resource running on all nodes
      Node Name                             Status                 
      RAC2                                  passed                 
      RAC1                                  passed                 
    Result: CTSS resource check passed
    Querying CTSS for time offset on all nodes...
    Result: Query of CTSS for time offset passed
    Check CTSS state started...
    Check: CTSS state
      Node Name                             State                  
      RAC2                                  Active                 
      RAC1                                  Active                 
    CTSS is in Active state. Proceeding with check of clock time offsets on all nodes...
    Reference Time Offset Limit: 1000.0 msecs
    Check: Reference Time Offset
      Node Name     Time Offset               Status                 
      RAC2          -4700.0                   failed                 
      RAC1          0.0                       passed                 
    Result: PRVF-9661 : Time offset is NOT within the specified limits on the following nodes:
    "[RAC2]"
    PRVF-9652 : Cluster Time Synchronization Services check failed
    Post-check for cluster services setup was unsuccessful on all the nodes.
    [oracle@RAC1 grid]$ After That I checked on RAC1
    [oracle@RAC1 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): 0
    [oracle@RAC1 ~]$
    and on RAC2
    [oracle@RAC2 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): -4700
    [oracle@RAC2 ~]$ But when some time ago i checked it was
    oracle@RAC1 ~]$
    [oracle@RAC1 ~]$ cluvfy comp clocksync -n all
    Verifying Clock Synchronization across the cluster nodes
    Checking if Clusterware is installed on all nodes...
    Check of Clusterware install passed
    Checking if CTSS Resource is running on all nodes...
    CTSS resource check passed
    Querying CTSS for time offset on all nodes...
    Query of CTSS for time offset passed
    Check CTSS state started...
    CTSS is in Active state. Proceeding with check of clock time offsets on all nodes...
    Check of clock time offsets passed
    Oracle Cluster Time Synchronization Services check passed
    Verification of Clock Synchronization across the cluster nodes was successful.
    [oracle@RAC1 ~]$
    [oracle@RAC1 ~]$
    [oracle@RAC1 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): 0
    [oracle@RAC1 ~]$
    [oracle@RAC1 ~]$
    and on RAC2 is was
    [oracle@RAC2 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): -800
    [oracle@RAC2 ~]$
    [oracle@RAC2 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): -800
    [oracle@RAC2 ~]$
    [oracle@RAC2 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): -900
    [oracle@RAC2 ~]$
    [oracle@RAC2 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): -900
    [oracle@RAC2 ~]$
    [oracle@RAC2 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): -1000
    [oracle@RAC2 ~]$ So, I am seeing that in RAC2, CTSS is not working properly . I don't know why it's time Offset is increasing ?
    Thanks&Regards
    Muhammad Abdul Halim
    http://halimdba.blogspot.com

    Dears
    I have installed CRS 11.2.0.1 on vmware 1 at redhat 5.3 .
    CRS has installed sucessfully without any error. but when execute
    [oracle@RAC1 grid]$ ./runcluvfy.sh stage -post crsinst -n RAC1,RAC2 -verbose
    Checking if Clusterware is installed on all nodes...
    Check of Clusterware install passed
    Checking if CTSS Resource is running on all nodes...
    Check: CTSS Resource running on all nodes
      Node Name                             Status                 
      RAC2                                  passed                 
      RAC1                                  passed                 
    Result: CTSS resource check passed
    Querying CTSS for time offset on all nodes...
    Result: Query of CTSS for time offset passed
    Check CTSS state started...
    Check: CTSS state
      Node Name                             State                  
      RAC2                                  Active                 
      RAC1                                  Active                 
    CTSS is in Active state. Proceeding with check of clock time offsets on all nodes...
    Reference Time Offset Limit: 1000.0 msecs
    Check: Reference Time Offset
      Node Name     Time Offset               Status                 
      RAC2          -4700.0                   failed                 
      RAC1          0.0                       passed                 
    Result: PRVF-9661 : Time offset is NOT within the specified limits on the following nodes:
    "[RAC2]"
    PRVF-9652 : Cluster Time Synchronization Services check failed
    Post-check for cluster services setup was unsuccessful on all the nodes.
    [oracle@RAC1 grid]$ After That I checked on RAC1
    [oracle@RAC1 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): 0
    [oracle@RAC1 ~]$
    and on RAC2
    [oracle@RAC2 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): -4700
    [oracle@RAC2 ~]$ But when some time ago i checked it was
    oracle@RAC1 ~]$
    [oracle@RAC1 ~]$ cluvfy comp clocksync -n all
    Verifying Clock Synchronization across the cluster nodes
    Checking if Clusterware is installed on all nodes...
    Check of Clusterware install passed
    Checking if CTSS Resource is running on all nodes...
    CTSS resource check passed
    Querying CTSS for time offset on all nodes...
    Query of CTSS for time offset passed
    Check CTSS state started...
    CTSS is in Active state. Proceeding with check of clock time offsets on all nodes...
    Check of clock time offsets passed
    Oracle Cluster Time Synchronization Services check passed
    Verification of Clock Synchronization across the cluster nodes was successful.
    [oracle@RAC1 ~]$
    [oracle@RAC1 ~]$
    [oracle@RAC1 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): 0
    [oracle@RAC1 ~]$
    [oracle@RAC1 ~]$
    and on RAC2 is was
    [oracle@RAC2 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): -800
    [oracle@RAC2 ~]$
    [oracle@RAC2 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): -800
    [oracle@RAC2 ~]$
    [oracle@RAC2 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): -900
    [oracle@RAC2 ~]$
    [oracle@RAC2 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): -900
    [oracle@RAC2 ~]$
    [oracle@RAC2 ~]$ crsctl check ctss
    CRS-4701: The Cluster Time Synchronization Service is in Active mode.
    CRS-4702: Offset (in msec): -1000
    [oracle@RAC2 ~]$ So, I am seeing that in RAC2, CTSS is not working properly . I don't know why it's time Offset is increasing ?
    Thanks&Regards
    Muhammad Abdul Halim
    http://halimdba.blogspot.com

  • Total Result is not working properly in QA

    Hi,
    We have requirement to show Total No. of Employees with respect to Age Band and Total No. of Employees in the entire Organization.
    We developed the reports as per the requirement to show employees in the age band <20 Years/ 21-30 Years/31-40 Years and so on by restricting No. of Employees with the dimension AGE.
    <20 Years----21-30 Years-31-40 Years----->50 Years
    0.00 -
    754.00--  425.00--
    120.00
    The query working properly in DEV, but not in QA.
    This is the case with another report also, were we executing to check Total No. of Employees without any restrictions.
    But, when i drill down the report with Org. Unit, it is displaying No. of Employees corresponding to each Org. Unit, but not the total Employees (Overal Result) with all the Org. Units.
    We checked all the properties with respect to info objects and as well as query properties, but no luck.
    Please provide any valuable suggestions.
    Regards,
    RAO.
    Edited by: RAO on Oct 30, 2008 7:30 AM

    Dear Aravindth
      (.*?) means -> Select all contents from where you start and end,
    For Ex. <month>(.*?)</month> then Select for start <month> and end last </month> tag.
    (?) Match zero or one occurrences. Equivalent to {0,1}.
    (*) Match zero or more occurrences. Equivalent to {0,}.
    (+) Match one or more occurrences. Equivalent to {1,}.
    (.) (Dot). Match any character except newline or another Unicode line terminator.
    (.*?) means -> Zero or more times Match any character except newline or another Unicode line terminator + Match zero or more occurrences. Equivalent to {0,}.+Match zero or one occurrences. Equivalent to {0,1}.
    Could you please refere the below cite :
    http://www.javascriptkit.com/jsref/regexp.shtml
    Thanks & Regards
    T.R.Harihara SudhaN

  • Router.attach(String, Class ? extends ServerResource ) not working properly

    I am having getting router.attach() to work properly
    Server server = new Server(Protocol.HTTP, 8182, new TestServerApplication());
    server.start()
    Here's the code that's in the client
    ClientResource clientResource = new ClientResource(
    "http://localhost:8182/contacts/123");
    The following code does NOT work
    router.attach("/contacts/123", ContactServerResource.class);
    Exception in thread "main" Not Found (404) - Not Found
    The following code does NOT work
    router.attach("/contacts/123", ContactServerResource.class, Router.MODE_BEST_MATCH);
    Exception in thread "main" Not Found (404) - Not Found
    * using attachDefault results in the call being handled properly
    // success!
    router.attachDefault(ContactServerResource.class);
    I also tried something different rather than using a Server.
    Component component = new Component();
    // Add a new HTTP server listening on port 8182.
    component.getServers().add(Protocol.HTTP, 8182);
    // Attach the sample application.
    component.getDefaultHost().attach("/contacts/123",
    new TestServerApplication());
    component.start();
    In this case router.attach("/contacts/123", ContactServerResource.class) is still called and it still fails to work. You have to attachDefault() to get it to work
    I can't think of anything else to try. Anybody have any ideas? thank you
    java

    Try running your query directly into the database and make sure it actually returns a row. This may get you started with the debugging process. Are you doing any stacktraces or System.out.println(theException); in your catch blocks? This may also help if there is an excpetion. You may need to consult your server logs (unless you have some sort of console running) in order to see the results of any prints.

  • Mouse is not working properly on a one month old HP Pavillion 15-NO28US

    I'm sure it's already been talked about on here, but I haven't found a successful fix or the same exact problem as I'm having. I went thru the latest Windows 8.1 update recently (at least I think it was the update) and when I restarted my computer yesterday the mouse was not working properly. Like a lot of other people who are complaining about it, the two-finger scrolling and other similar features are not working, but what really bothers me is the the mouse is almost acting like it was changed to a left handed mouse. I've checked the settings and it is still set on right-handed, but when I click the left mouse button the small window opens up next to where I clicked, which has the copy, delete and paste options (and other regular options) in it. When I click the right mouse button, nothing happens. Double tapping on the touchpad doesn't do anything either. I downloaded and install the latest synaptic drivers and nothing happened. I even performed a system recovery last night to reset all setting and it's still not working. This really sucks because I've only had this computer for about a month and I've already lost everything I've put on it...most importantly all of my school work and music apps. Is there anything to fix this or can anyone tell me what's going on with this stuff, before I have to call into HP and have a melt down?

    Hi Kevin3047,
    Thank you for your query, I will do my best to assist you!!
    I understand that after updating from Windows 8 to 8.1 your mouse is not performing correctly. You have tried the built in troubleshooter but to no avail.
    You checked the settings and they appear ok, but when you click the left mouse button the small window opens up next to where you  clicked, which has the copy, delete and paste options (and other regular options) in it. When you click the right mouse button, nothing happens. Double tapping on the touchpad doesn't do anything either. I grasp that you did a recovery but it did not help.  You also stated you lost your data once, and that in itself is extremely aggravating, I agree.
    Here is a step that may help.
    Go to the Command Prompt and right click on it to run as Administrator
    type sfc /scannow and press enter.  This will scan for corrupted files and try to repair them.
    Here are links to two documents that may aid with this process.
    Troubleshooting Mouse Problems (Windows 8)
    Using and Troubleshooting the TouchPad or ClickPad (Windows 8)
    Would you also please try a clean boot to see if it persists. Here is  a Windows document to assist you.
    How to perform a clean boot in Windows
    If none of this has alleviated the issue, I suggest you do a  Refresh Your PC to Resolve Problems (Windows 8).
    If the issue still pesists, I would do a recovery again.  You will be prompted during the recovery to backup your personal files to prevent data loss. I would suggest you choose yes, to prevent data loss.
    Performing an HP System Recovery (Windows 8)
    Restoring Files that were Backed Up Using HP Recovery Manager (Windows 8)
    This will take it back to factory. Here is a document on Updating Windows 8 to 8.1 to assist you with doing the update again.
    If you are still experiencing the issue, as @visruth stated I would contact HP support for assistance.  They are able to remotely log onto your system to help with this difficulty.
    Please call HP technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region HP Technical Support Sitemap.
    Good Luck!!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • ESS is not working properly after upgrade from 4.7 to ECC6.0

    ESS Scenario in 4.7
    4.7 Scenario:
    The IMG configuration u201CWork and Life Eventsu201D is done to map them with the PZM3 service (Home Page) to get them as different folders/links on the home page as given below:
    List of Services used to set up ESS:
    Sl.No     Functionality     Service/EWT/URL Name     Standard/ Customized     Type
    1     Home Page     PZM3                                          Standard                 Service
    2     Inbox                     BWSP                                          Standard                 Service
    3     Calendar                     BWCA                                          Standard                 Service
    4     Whou2019s Who     PZ01                                          Standard                 Service
    5     CPF Display     http://192.168.0.2:7070/omcpf             NA                                  URL
    6     Payslip Display     ZPAYSLIP_USER                          Customized                Service
    7     Section 80C     PZ88                                          Standard                EWT
    8     Section 80                     PZ80                                          Standard                EWT
    9     Form 16                     HRESSIN_F16                          Standard                EWT
    10     Address                     PZ02                                             Standard                EWT
    11     Bank Information     PZ03                                          Standard                Service
    12     Open Appraisals     Not Available                           NA                                 Service
    13     Emergency Address     PZ05                                           Standard                 EWT
    14     Family/Dependents     PZ12                                           Standard                 EWT
    15     Personal Data     PZ13                                               Standard                  EWT
    16     Previous Employers     PZ28                                           Standard                 EWT
    17     Apply Leave     WS20000081                           Standard               Service
    18     Leave Overview     WS01000109                           Standard              Service
    19     Leave Balance     PZ09                                             Standard              Service
    20     Loan Application     ZLOAN                                          Customized              Service
    ECC6.0 Scenario:
    In ECC6.0, flow based services are no more supported by ECC6.0 and Dynpro based services are supported.PZM3 (Home Page) is a flow based service.
    There is no replacement provided for PZM3 service, so the IMG configuration is not possible for u201CWork and Life Eventsu201D.
    OSS ticket raised, but no solution for IMG u201CWork and Lifeu201D events.
    List of Services would be used to set up ESS:
    Sl.No     Functionality     Service/EWT/URL Name     Standard/ Customized    Type
    1     Home Page     PZM3                                       Standard                           service
    1)this service is not available
    2)SAP does not provide any replacement.
    3)PZM3 is not supported in Integrated ITS. No direct solution proposed.
    4)Given reference of few notes.
    5) A dynpro (module pool screen) based IAC needs to be created and links need to be provided on that screen. Generated HTML page is modified  to access the services via URL or by OKCODE.
    Screenshot attached below.
    2           Whou2019s Who                 PZ01                                      Standard                             Service
    1)this service Available
    2)Not Working properly.
    3) The problem may be because of the dependency with SAP Query. Either Query is missing in the new system or not having the proper authorization. Needs to be debugged and finalized.
    7     Section 80C     PZ88      Standard     EWT     Available               
    8     Section 80      PZ80     Standard     EWT     Available               
    9     Form 16                HRESSIN_F16     Standard     EWT     Available               
    10     Address                PZ02     Standard     EWT     Available     Only EWT Available.          Service needs to be created to access the EWT.
    11     Bank Information     PZ03     Standard     Service     Available     EWT Available.           Service needs to be created to access the EWT.
    12     Open Appraisals     Not Available     NA     Service          EWT Available.           Service needs to be created to access the EWT.
    13     Emergency Address     PZ05     Standard     EWT     Available     EWT Available.           Service needs to be created to access the EWT.
    14     Family/Dependents     PZ12     Standard     EWT          EWT Available.           Service needs to be created to access the EWT.
    15     Personal Data     PZ13     Standard     EWT          EWT Available.           Service needs to be created to access the EWT.
    16     Previous Employers     PZ28     Standard     EWT          Service Available          
    17     Apply Leave     WS20000081     Standard     Service     Available, but not working                                                                               No solution is proposed yet.
    18     Leave Overview     WS01000109     Standard     Service     Available, but not working               No solution is proposed yet.
    19     Leave Balance     PZ09     Standard     Service     Available, but not working               No solution is proposed yet.

    Ya ramakrishna,
    Even easier is for you to send us the mail ID of your client. We will do the work, then send them an idoc of message type INVOICE and for you a post card of course.
    Please do the needfull,
    Julius

  • Can't get query to work.  table alias in subquery in FROM clause

    How can I rearrange this query to work?
    SELECT
                               TO_CHAR(dt.date_time, 'YYYY-MM-DD') start_date,
                                       (SELECT COUNT(*) FROM
                                            (SELECT DISTINCT a.non_asp, a.start_time, a.end_time
                                                  FROM appointments a
                      WHERE  a.start_time >= dt.date_time AND a.start_time < dt.date_time + 1
                                       ) num_overlap
                             FROM
                                  table(times_pkg.between_times(TO_DATE('2010-05-30'),
                                             TO_DATE('2010-07-03'), 60*24, 'Y')) dtbetween_times is a table function that returns times at given intervals.
    I am trying to get a count of distinct (non_asp, start_time, end_time) sets that fall on each day.
    However, it doesn't recognize dt.date_time in the FROM clause.

    Hi,
    A sub-query can be correlated only to its immediate parent. You're trying the correlate the SELECT DISTINCT sub-query to its grandparent.
    You can re-write the sub-query as a join, like this:
    SELECT  TO_CHAR(dt.date_time, 'YYYY-MM-DD') start_date,
         a.num_overlap
    FROM     table ( times_pkg.between_times ( TO_DATE('2010-05-30'),
                               TO_DATE('2010-07-03'),
                               60*24,
                               'Y'
               ) dt
    JOIN    (
           SELECT    start_time,
                    end_time,
                  COUNT (DISTINCT non_asp)     AS num_overlap
           FROM         appointments
         )  a         ON  a.start_time         >= dt.date_time
                  AND a.start_time         < dt.date_time + 1
    ;You could also eliminate the extra level between the SELECT DISTINCT sub-query and the main query by using SELECT (DISTINCT ...).

Maybe you are looking for

  • Reciever Determination condition error in PI7.1

    Hi Experts, I done File to File scenario in XI with multiple recievers based on FileName in Reciever Determination, i use context object(FileName, http://sap.com/xi/XI/System/File) in Expession editor, this condition was working in XI, but in PI7.1 i

  • Photo attachment issues

    I'm trying to send simple .jpg files to client. She's on a PC and this is what she tells me: "I use the insert picutre from file to get it into the document, on publisher it needs to be done this way to get the right text box to fit. The result is at

  • Website has gaps and spaces

    http://contentsofadeadmanspockets.com/meet.html The website that I made is showing spaces between the navigation bar and the banner. Can anyone please take a look at the code for me and suggest what I should do cause as you can see there appears to b

  • Labview program stops running correctly after computer is switched on one hour

    Hope to get help on this strange problem. I have a Labview program (executable using a run time version) running on a portable computer (Dell Inspiron 4000 with Windows ME) which collects measurement data and stores these to a file over a long time p

  • AirDrop showing the wrong name and picture with iOS 7

    AirDrop is showing the wrong name and picture on my wife's phone....It is showing my name and picture.  She has an iPhone 5 and I just updated her to iOS7 about an hour ago, same time as I did mine. Is it because we are connected with the same Apple