ORA-23420: interval must evaluate to a time in the future

Hi to All,
While creating matrelized view im facing this error.Can any one help me on this.
ORA-23420: interval must evaluate to a time in the future
ORA-06512: at "SYS.DBMS_JOB", line 57
ORA-06512: at "SYS.DBMS_JOB", line 134
ORA-06512: at "SYS.DBMS_IREFRESH", line 186
ORA-06512: at "SYS.DBMS_IREFRESH", line 369
ORA-06512: at "SYS.DBMS_REFRESH", line 88
ORA-06512: at "SYS.DBMS_REFRESH", line 62
ORA-06512: at "SYS.DBMS_ISNAPSHOT", line 76
ORA-06512: at line 1
Thanks

You NEXT clause is seriously dependent on the date and time you run the create statement. For me, you want the next run of the job to start almost 15 hours ago.
SQL> ALTER SESSION SET nls_date_format = 'dd-mon-yy hh24:mi:ss';
Session altered.
SQL> SELECT TO_DATE('12-May-2008','dd-mon-yyyy') startdt,
  2         TRUNC(sysdate) - TO_NUMBER(TO_CHAR(sysdate - 1, 'd')) + 7 next_dt,
  3         sysdate now
  4  FROM dual;
STARTDT            NEXT_DT            NOW
12-may-08 00:00:00 11-may-08 00:00:00 11-may-08 14:57:32Since I'm not sure when exactly you want to run this next time, you need to play wth your formula.
John

Similar Messages

  • Will Firefox work on a Huawia 858 Vodafone smartphone some time in the future, please. Thank you.

    I note that Firefox works on a Huawei Impulse 4G phone. Do you have plans to make it available for a Huawei 858 Vodafone smartphone some time in the future, please?
    Thank you.

    Thanks for your prompt reply. Yes my phone can connect to the Android market. When I perform a search for Firefox on the market, it only shows up books, no apps. When I type in http/fennec etc (correctly), I get a screen showing "Index of/pub/mozilla.org/mobile/releases/latest/android/multi", with 2 choices underneath - a "Parent Directory" and one with a ? So I have selected the one with the ? It showed "downloading" for a few seconds, then returned to the "Index etc" menu. There is nothing new on my phone - certainly not Firefox.
    Not sure what to do now, but thanks for your suggestion.

  • How to Send an Email at a Specific Time in the Future Using Mozilla Thunderbird.

    Hi guys,
    I downloaded Thunderbird for my Mac for one single purpose, simpy to be able to send an email by executing the time and date i wish my email to be send, automatically. The extension saves the message to draft and monitors the messages in the draft folder, when the chosen time arrives it moves the message to unsent and sends unsent messages. So i can send messages in the future.
    I dont know how to manage this, and i would appreciate help and tutorials from you guys!

    Why not read Thunderbirds tutorials and post in their forum area?

  • Getting the current time and comparing it to a time in the future

    Hello,
    I am seeing in my research some debate on the best way to get the time. I am reading that just using the Date class and calling getTime() is not the most reliable way to do things. Overall, I am trying to get the current time down to the millisecond. I then want to add 5 seconds to that time and then store that value. FInally, when the current time is greater or equal to this stored value, I want to continue on in my program. Can anyone point me in the right direction on how to calculate the time variable? Any help would be much appreciated. I am new to the JAVA world.
    Thanks,
    Tim

    To store the current time, simply use new java.util.Date(). Yes, there might be slight inconsistencies and it might not be the most accurate time possible, but without significant additional effort (perhaps a native O/S call or the use of another time library), you will not do much better. Calendar won't help in this instance either. The easiest way to get five seconds in the future is to do the following:
    Date now = new Date();
    Date future = new Date(now.getTime() + 5000);To store and retrieve the value, it depends on what you are doing. You can place it in the database via JDBC (BTW, if you trust the database timestamp more than Java's you can use something like Oracle's SYSDATE instead of Java's date in your SQL query). You can place it in the filesystem. You can store it in the user's session.
    - Saish

  • Why must I login each time on the same mac?

    There should be a way to stay logged-in on the same Mac instead of having to repeat UserId and PW each time I want to enter

    That's strange because by using the built-in Contacts and Calendars applications you effectively are working directly with the data on the server as all the master data is stored on the server regardless of where you access it from.
    In theory, using a native client that communicates directly with the data on the server via CardDAV or CalDAV should be much more reliable than going through a website pretending to be CalDAV /CardDAV client.

  • I'd like to save the URLs of the group of pages tabbed in one particular FF window to be reloaded en masse when I use FF again some time in the future

    I have a lot of browser tabs currently and I will not have finished using them by the time I next reboot, shutting down Firefox. On the other hand there are too many to fit neatly in one FF window so I've opened a 2nd window and moved a bunch over. Now I want to know how I can make sure FF will remember all the tab URLs when I start it again - and how I can be sure it will load them up in separate windows as presently. Because I have a feeling it will just dump them all in the one window. But there's too many to make that useful! On Opera you can save a 'session' with a particular selection of tabbed URLs, under a particular name, and then reload that session later. You can even start up several past sessions as separate windows at the same time. In that way you can select which groups of previous tabs you want to recall when. I'd like that in Firefox but I can't see anything to create it. :) What will happen for instance when I close the two current windows before rebooting? I suspect I will lose the record of the URLs in the window that is closed first, and only those of the 2nd to be recalled will come back when re-starting it. Basically there needs to be a "Save Group of Tabs" option on the File menu near "Save Page As...". On the other hand maybe this facility already exists and I just don't know how to find it?

    Take a look at [https://addons.mozilla.org/en-US/firefox/search/?q=Session&cat=all&lver=any&pid=1&sort=&pp=20&lup=&advanced= these extensions at AMO] for those features.

  • Would Lightroom 6 be able to read and work with photos in a Lightroom CC catalog should I decide someday to cancel my subscription at some time in the future?

    I will download and use Lightroom CC but want to know what my options will be should I someday cancel the CC subscription.
    I know that simply cancelling the subscription would mean that one no longer has access to the Develop module. Could a person cancel the subscription, purchase the stand-alone program and continue  to have full access to the photos in the catalog including edits?

    Depends what you mean by "in"!! I know the photos are in the folders that I have created.
    Thanks for the fast answer.

  • ORA-01790: expression must have same datatype as corresponding expression

    can somebody see a problem with the query below:
    error message: ORA-01790: expression must have same datatype as corresponding expression
    select CREV_D_POSTMARK,CRF1_A_PREM_CREDIT,CRF1_A_SPREM_FLAT,CRF1_A_SPREM_VAR,HSTA_C_UPDATE_SEQ, DTAX_C_LINE_SEQ,
    SCHA_C_PV_EIN_5500, SCHA_C_PV_PN_5500, CRBH_D_RECEIVE, SCHA_A_SIG_EVENT,SCHA_C_EIN_PAGE_2, SCHA_C_PN_PAGE_2,
    SCHA_D_SIGN_ADMN, SCHA_D_UNF_BEN, SCHA_F_INIT_412I, SCHA_F_INIT_AJ_ACT, SCHA_F_INIT_AJ_ADM, SCHA_F_INIT_ENTITL,
    SCHA_F_INIT_GEN_RL, SCHA_F_INIT_NO_UNF, SCHA_F_INIT_NOPROF, SCHA_F_INIT_PART, SCHA_F_INIT_REQMT, SCHA_F_INIT_SIG_EV,
    SCHA_L_SIGN_NAME, SCHA_A_ADJ_VAL_RCV, SCHA_A_ADJ_VAL_TOT, SCHA_A_ADJ_VAL_ASS, SCHA_A_ADJ_VL_NRCV, SCHA_A_ASSET_CONT,
    SCHA_A_ASSET_DISC, SCHA_A_ASSET_VALUE, SCHA_A_SPREM_VAR, SCHA_A_VBVAL_NRCV, SCHA_A_VBVAL_RCV, SCHA_A_VBVAL_TOTAL,
    SCHA_C_EIN, SCHA_C_PN, SCHA_C_FORM_YEAR, SCHA_D_ASSET_VALUE,SCHA_D_DETER_AS_OF, SCHA_D_DIST_INVOL, SCHA_D_STAND_TERM,
    SCHA_D_VAL_PYC, SCHA_F_NO_SIG_EV,SCHA_F_SIG_EVENT_1, SCHA_F_SIG_EVENT_2, SCHA_F_SIG_EVENT_3, SCHA_F_SIG_EVENT_4,
    SCHA_F_SIG_EVENT_5,SCHA_F_SIG_EVENT_6, SCHA_F_SIG_EVENT_7, SCHA_N_PLAN_NAME, SCHA_P_REQ_INT_RAT, SCHA_P_VBVAL_NRCV,
    SCHA_P_VBVAL_RCV, SCHA_Q_ASS_RET_AGE, SCHA_T_ACCRUAL_FAC, SCHA_F_CERT_NREQ_I, SCHA_F_CERT_REQ_I,SCHA_F_CERT_EXP_A,
    SCHA_F_SIG_EV_NEG, SCHA_A_INT_ADJ_VAL, SCHA_D_SIGN_ACTU, SCHA_C_ENCL_SEQ,DTAX_C_UID, DTAX_A_AMOUNT_PAID, CRF1_A_NET_PREMIUM,
    CRBH_Q_SOA_PAYMENT, CRBH_A_CONTROL_TOT,CSOA_A_PREM_PAYMT, CSOA_A_PEN_PAYMENT, CSOA_A_INT_PAYMENT, CSOA_A_PAYMENT from [email protected] minus
    select CREV_D_POSTMARK,CRF1_A_PREM_CREDIT,CRF1_A_SPREM_FLAT,CRF1_A_SPREM_VAR,HSTA_C_UPDATE_SEQ, DTAX_C_LINE_SEQ,
    SCHA_C_PV_EIN_5500, SCHA_C_PV_PN_5500, CRBH_D_RECEIVE, SCHA_A_SIG_EVENT,SCHA_C_EIN_PAGE_2, SCHA_C_PN_PAGE_2,
    SCHA_D_SIGN_ADMN, SCHA_D_UNF_BEN, SCHA_F_INIT_412I, SCHA_F_INIT_AJ_ACT, SCHA_F_INIT_AJ_ADM, SCHA_F_INIT_ENTITL,
    SCHA_F_INIT_GEN_RL, SCHA_F_INIT_NO_UNF, SCHA_F_INIT_NOPROF, SCHA_F_INIT_PART, SCHA_F_INIT_REQMT, SCHA_F_INIT_SIG_EV,
    SCHA_L_SIGN_NAME, SCHA_A_ADJ_VAL_RCV, SCHA_A_ADJ_VAL_TOT, SCHA_A_ADJ_VAL_ASS, SCHA_A_ADJ_VL_NRCV, SCHA_A_ASSET_CONT,
    SCHA_A_ASSET_DISC, SCHA_A_ASSET_VALUE, SCHA_A_SPREM_VAR, SCHA_A_VBVAL_NRCV, SCHA_A_VBVAL_RCV, SCHA_A_VBVAL_TOTAL,
    SCHA_C_EIN, SCHA_C_PN, SCHA_C_FORM_YEAR, SCHA_D_ASSET_VALUE,SCHA_D_DETER_AS_OF, SCHA_D_DIST_INVOL, SCHA_D_STAND_TERM,
    SCHA_D_VAL_PYC, SCHA_F_NO_SIG_EV,SCHA_F_SIG_EVENT_1, SCHA_F_SIG_EVENT_2, SCHA_F_SIG_EVENT_3, SCHA_F_SIG_EVENT_4,
    SCHA_F_SIG_EVENT_5,SCHA_F_SIG_EVENT_6, SCHA_F_SIG_EVENT_7, SCHA_N_PLAN_NAME, SCHA_P_REQ_INT_RAT, SCHA_P_VBVAL_NRCV,
    SCHA_P_VBVAL_RCV, SCHA_Q_ASS_RET_AGE, SCHA_T_ACCRUAL_FAC, SCHA_F_CERT_NREQ_I, SCHA_F_CERT_REQ_I,SCHA_F_CERT_EXP_A,
    SCHA_F_SIG_EV_NEG, SCHA_A_INT_ADJ_VAL, SCHA_D_SIGN_ACTU, SCHA_C_ENCL_SEQ,DTAX_C_UID, DTAX_A_AMOUNT_PAID, CRF1_A_NET_PREMIUM,
    CRBH_Q_SOA_PAYMENT, CRBH_A_CONTROL_TOT,CSOA_A_PREM_PAYMT, CSOA_A_PEN_PAYMENT, CSOA_A_INT_PAYMENT, CSOA_A_PAYMENT from
    [email protected] where to_number(to_char(asum_d_pyc,'YYYY')) = 2001;
    Message was edited by:
    mc

    Any sugestion on easy way to verify what coulmn may have different datatype?
    The table has quite a few columns, will take time to do it manually....
    Any other better way to compare this two tables?

  • ORA-1850: hor must be between 0 and 23 error

    Hi All
    i have the following table for creating and inserting i included only two fileds as these are the fields that i'm getting errors on.
    WITH     sample_data     AS
         SELECT     '50709' AS start_date, '2400' AS start_time  FROM dual     UNION ALL
         SELECT     '082510',              '0000'                  FROM dual
    SELECT       *
    FROM       sample_data
    ;DATA:
    START_DATE     START_TIME
    50709                        2400
    082510                        0000And now when i run the query against the table:
    SELECT   direction, car_count_pos, truck_count_pos,
             (car_count_pos + 2 * (truck_count_pos)) AS adjusted, car_count_neg,
             truck_count_neg,
             (car_count_neg + 2 * (truck_count_neg)) AS adjusted_neg,
             TO_DATE (start_date, 'MMDDYY') AS start_date,
             TO_DATE (end_date, 'MMDDYY') AS end_date,
             ROUND (TO_CHAR (TO_DATE (LPAD (start_time, 4, '0'), 'HH24MI'),
                             'HH24.MI'
                   ) AS start_time,
             start_time,
             (TO_DATE (end_date, 'MMDDYY') - TO_DATE (start_date, 'MMDDYY')
             ) AS days
        FROM (SELECT   (CASE
                           WHEN t1.direction = '1'
                              THEN (  COUNT (t1.bin_1_data)
                                    + COUNT (t1.bin_2_data)
                                    + COUNT (t1.bin_3_data) * 0.981 * 1.019
                           ELSE NULL
                        END
                       ) AS car_count_pos,
                       t1.direction,
                       (CASE
                           WHEN t1.direction = '1'
                              THEN (  COUNT (t1.bin_4_data)
                                    + COUNT (t1.bin_5_data)
                                    + COUNT (t1.bin_6_data)
                                    + COUNT (t1.bin_7_data)
                                    + COUNT (t1.bin_8_data)
                                    + COUNT (t1.bin_9_data)
                                    + COUNT (t1.bin_10_data)
                                    + COUNT (t1.bin_11_data)
                                    + COUNT (t1.bin_12_data)
                                    + COUNT (t1.bin_13_data)
                                    + COUNT (t1.bin_14_data)
                                    + COUNT (t1.bin_15_data) * 0.981 * 1.019
                           ELSE NULL
                        END
                       ) AS truck_count_pos,
                       (CASE
                           WHEN t1.direction = '3'
                              THEN (  COUNT (t1.bin_1_data)
                                    + COUNT (t1.bin_2_data)
                                    + COUNT (t1.bin_3_data) * 0.981 * 1.019
                           ELSE NULL
                        END
                       ) AS car_count_neg,
                       (CASE
                           WHEN t1.direction = '3'
                              THEN (  COUNT (t1.bin_4_data)
                                    + COUNT (t1.bin_5_data)
                                    + COUNT (t1.bin_6_data)
                                    + COUNT (t1.bin_7_data)
                                    + COUNT (t1.bin_8_data)
                                    + COUNT (t1.bin_9_data)
                                    + COUNT (t1.bin_10_data)
                                    + COUNT (t1.bin_11_data)
                                    + COUNT (t1.bin_12_data)
                                    + COUNT (t1.bin_13_data)
                                    + COUNT (t1.bin_14_data)
                                    + COUNT (t1.bin_15_data) * 0.981 * 1.019
                           ELSE NULL
                        END
                       ) AS truck_count_neg,
                       t2.start_date, t2.start_time, t2.end_date, t2.end_time
                  FROM bin_data t1, traffic_sample t2
                 WHERE t1.traffic_sample_id = t2.traffic_sample_id
              GROUP BY t1.direction,
                       t2.start_date,
                       t2.start_time,
                       t2.end_date,
                       t2.end_time)
       WHERE direction IN ('1', '3')
    GROUP BY TO_DATE (start_date, 'MMDDYY'),
             direction,
             car_count_pos,
             truck_count_pos,
             (car_count_pos + 2 * (truck_count_pos)),
             truck_count_neg,
             (car_count_neg + 2 * (truck_count_neg)),
             TO_DATE (end_date, 'MMDDYY'),
             ROUND (TO_CHAR (TO_DATE (LPAD (start_time, 4, '0'), 'HH24MI'),
                             'HH24.MI'
             start_time,
             car_count_negI'm getting the error
    ORA-1850: Hour must be between 0 and 23
    But as you see there is a value 2400 in the table is there any way to get around this? please need help.
    Thanks
    Edited by: thinkingeye on Aug 26, 2010 8:42 AM

    Thanks AP but i came up with something different which i guess sserved the same purpose i used the DECODE fucntion in the INNER query.
    SELECT   direction, car_count_pos, truck_count_pos,
             (car_count_pos + 2 * (truck_count_pos)) AS adjusted, car_count_neg,
             truck_count_neg,
             (car_count_neg + 2 * (truck_count_neg)) AS adjusted_neg,
             TO_DATE (start_date, 'MMDDYY') AS start_date,
             TO_DATE (end_date, 'MMDDYY') AS end_date,
             ROUND (TO_CHAR (TO_DATE (LPAD (start_time, 4, '0'), 'HH24MI'),
                             'HH24.MI'
                   ) AS start_time,
                   ROUND (TO_CHAR (TO_DATE (LPAD (end_time, 4, '0'), 'HH24MI'),
                             'HH24.MI'
                   ) AS end_time,
             start_time,
             (TO_DATE (end_date, 'MMDDYY') - TO_DATE (start_date, 'MMDDYY')
             ) AS days,
             CITY,COUNTY,LOCATION,ROUTE_NBR,ROUTE_TYPE
        FROM (SELECT   (CASE
                           WHEN t1.direction = '1'
                              THEN (  COUNT (t1.bin_1_data)
                                    + COUNT (t1.bin_2_data)
                                    + COUNT (t1.bin_3_data) * 0.981 * 1.019
                           ELSE NULL
                        END
                       ) AS car_count_pos,
                       t1.direction,
                       (CASE
                           WHEN t1.direction = '1'
                              THEN (  COUNT (t1.bin_4_data)
                                    + COUNT (t1.bin_5_data)
                                    + COUNT (t1.bin_6_data)
                                    + COUNT (t1.bin_7_data)
                                    + COUNT (t1.bin_8_data)
                                    + COUNT (t1.bin_9_data)
                                    + COUNT (t1.bin_10_data)
                                    + COUNT (t1.bin_11_data)
                                    + COUNT (t1.bin_12_data)
                                    + COUNT (t1.bin_13_data)
                                    + COUNT (t1.bin_14_data)
                                    + COUNT (t1.bin_15_data) * 0.981 * 1.019
                           ELSE NULL
                        END
                       ) AS truck_count_pos,
                       (CASE
                           WHEN t1.direction = '3'
                              THEN (  COUNT (t1.bin_1_data)
                                    + COUNT (t1.bin_2_data)
                                    + COUNT (t1.bin_3_data) * 0.981 * 1.019
                           ELSE NULL
                        END
                       ) AS car_count_neg,
                       (CASE
                           WHEN t1.direction = '3'
                              THEN (  COUNT (t1.bin_4_data)
                                    + COUNT (t1.bin_5_data)
                                    + COUNT (t1.bin_6_data)
                                    + COUNT (t1.bin_7_data)
                                    + COUNT (t1.bin_8_data)
                                    + COUNT (t1.bin_9_data)
                                    + COUNT (t1.bin_10_data)
                                    + COUNT (t1.bin_11_data)
                                    + COUNT (t1.bin_12_data)
                                    + COUNT (t1.bin_13_data)
                                    + COUNT (t1.bin_14_data)
                                    + COUNT (t1.bin_15_data) * 0.981 * 1.019
                           ELSE NULL
                        END
                       ) AS truck_count_neg,
                       t2.start_date, t2.start_time, t2.end_date,*decode(t2.END_TIME,2400,'2359',t2.end_time) as end_time*,t3.CITY, t3.COUNTY,t3.LOCATION,t3.ROUTE_NBR, t3.ROUTE_TYPE
                  FROM bin_data t1, traffic_sample t2,location_details t3
                 WHERE t1.traffic_sample_id = t2.traffic_sample_id
                 and t2.TRAFFIC_SAMPLE_ID=t3.TRAFFIC_SAMPLE_ID
              GROUP BY t1.direction,
                       t2.start_date,
                       t2.start_time,
                       t2.end_date,
                       t2.end_time,
                       t3.CITY, t3.COUNTY,t3.LOCATION,t3.ROUTE_NBR, t3.ROUTE_TYPE)
       WHERE direction IN ('1', '3')
    GROUP BY TO_DATE (start_date, 'MMDDYY'),
             direction,
             car_count_pos,
             truck_count_pos,
             (car_count_pos + 2 * (truck_count_pos)),
             truck_count_neg,
             (car_count_neg + 2 * (truck_count_neg)),
             TO_DATE (end_date, 'MMDDYY'),
             ROUND (TO_CHAR (TO_DATE (LPAD (start_time, 4, '0'), 'HH24MI'),
                             'HH24.MI'
             start_time,
             car_count_neg,
             end_time,
             CITY,COUNTY,LOCATION,ROUTE_NBR,ROUTE_TYPE

  • I copied message to SMS field and sent. After that the message still exist all the time in the SMS field. When I open the application I must always first delete the "saved"  ones before I write the new one. What to do to finally/definitely delete the save

    I copied message to SMS field and sent. After that the message still exist all the time in the SMS field. When I open the application I must always first delete the “saved”  ones before I write the new one. What to do to finally/definitely delete the save message?

    sorry it's ios6

  • I did download the new version of adobe but a massage showed all the time (Before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User License Agreement, then Quit and relaunch the browser)

    i did download the new version of adobe but a massage showed all the time (Before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User License Agreement, then Quit and relaunch the browser)

    You downloaded Adobe... what? Adobe has tons of applications.
    Which Adobe product did you download?
    Clinton

  • How to set the interval time in the   JFormattedTextField? Pls Contribute..

    Hi Frienz,
    Hi have a following code in which i want set the interval time for the TextField by 15 min
    So how it is possible please tell me out.
    DateFormatter frmtr = new DateFormatter();
                   SimpleDateFormat sdf = new SimpleDateFormat("HH:mm");
                   frmtr.setFormat(sdf);
                   frmtr.setAllowsInvalid(false);
                   DefaultFormatterFactory factory = new DefaultFormatterFactory(frmtr, frmtr, frmtr);
                   fmtToTime.setFormatterFactory(factory);

    AFAIK there is no easy (pure java) way: either you exec something (depending on your paltform) or use native code. Appropriate privileges will be necessary.

  • Not able to terminate an Emp, Error: The person must exist as an employee at the time specified by Date Start

    HI Guru's
    We are sourcing Employee records from upstream system and the Effective_start_date for particular record of Employee is getting changed, consider a below scenario.
    EXISTING RECORD.
    Person_id, effective_start_date,Effective_end_date, person_type
    123,       01-JAN-2001         ,31-MAY-2001,        EMP
    123,       01-JUN-2001         ,31-DEC-4712,        EMP
    MODIFIED DRECORD
    Person_id, effective_start_date,Effective_end_date, person_type
    123,       01-JAN-2001         ,14-MAY-2001,        EMP
    123,       15-MAY-2001         ,31-DEC-4712,        EMP
    So when i am able to change the effective_start_date for 2nd record from 01-JUN-2001 to 15-MAY-2001 using an API "hr_person_api.update_person" with p_datetrack_update_mode as 'UPDATE_OVERRIDE'..
    but after this when i am trying to terminate the employee using an API "hr_ex_employee_api.actual_termination_emp" for below scenario, i am getting the following error: "The person must exist as an employee at the time specified by Date Start".
    For Termination:
    Person_id, effective_start_date,Effective_end_date, person_type
    123,       01-JAN-2001         ,14-MAY-2001,        EMP
    123,       15-MAY-2001        ,09-JUL-2001,        EMP
    123,       10-JUL-2001         ,31-DEC-4712,       EX_EMP  ----> Not able to process erroing
    Please help me in resolving this issue..
    Regards,
    Mushtaq

    Hi,
    Just wondering if this is an ATG related question.
    Thanks,
    Gopinath Ramasamy

  • ORA-10827: database must be opened with MIGRATE option

    Hi,
    We are trying to migrate an Oracle 8.1.7 database to an Oracle 9i(9.2) database. I moved all the database files to the appr folder and I created a new instance using:
    oradim -new -sid PROD -intpwd Oracle -startmode a -pfile C:\oracle\OraDb\Neuropace\initPROD.ORA.
    I checked the alter log file and I get the following error:
    ORA-10827: database must be opened with MIGRATE option.
    How should one go about migrating a database(different versions). I went ahead with the migration. I opened the database using
    alter database open resetlogs migrate.
    But when i log into the database, I get an internal code error.
    Any pointers?.

    You must not open normally your database after an upgrade, in short the method is
    1) startup migrate
    2) run the upgrade script (which one depends on your old database version)
    For step-by-step instructions see
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96530/upgrade.htm#1009200
    'alter database open resetlogs migrate' is only applicable to upgrades from version 7 to 9.2, hopefully your database is not corrupted now.

  • Ora-01790 Expression must have same datatype as correspoding expression

    Can somebody help me how to fix this.
    award_number is varchar2(30)
    The problem is with award_name. Throwing an error.
    Not sure why it is giving problem.
    ora-01790 Expression must have same datatype as correspoding expression
    SELECT *  from award_test
            UNPIVOT(VAL for operator in(   
    AWARD_NAME,                                                                                                                                                                                                      
    TOTAL_PROCEEDS,                                                                                                                                                                                                             
    EARNING_PROCS ,                                                                                                                                                                                                              
    TOT_PROCS_EARNINGS ,                                                                                                                                                                                                           
    GROSS_PROCS    ,                                                                                                                                                                                                               
    PROC_REF_DEF_ESCR ,                                                                                                                                                                                                        
    OTH_UNSP_PROCS ,                                                                                                                                                                                                              
    ISSUANCE_COST ,                                                                                                                                                                                                            
    WORK_CAP_EXP ))
            PIVOT(max(VAL) for award_number in  ('XIAAE' as "XIAAE",'XIBNG' as "XIBNG" ))

    it has not resolved my problem. Still the problem is there. if i remove award_name it is working fine. only problem with award_name

Maybe you are looking for

  • How to install OS X Jaguar on a USB Stick?

    I was wondering how I could install OS X Jaguar on my USB stick. I have upgraded my iMac G3 to OS X Tiger and I don't want to partition the hard-drive because it is a small hard drive. So I want to install OS X Jaguar on my USB stick. But when I choo

  • Problem with fifth generations Ipod, usb problem...

    The loader helps with an Ipod of fifth generation, alone me recononce cuandoes firewire and the port usb not, already I have virificado with 4 different cables and in several computers but it me it does not recognize in other computer. I dondt speak

  • What resolution with log & transfer

    When a 1920 x 1080i AVCHD clip is brought into FCE HD via log and transfer, it is my understanding that it goes from AVCHD to AIC. What would the resolution be after the import? In iMovie the clips become 1920 x 540 AIC, I am hoping for something mor

  • I cant find the "manage devices" on my "account information"

    Can someone help me on my account information page i cant find the "Manage devices" someone help me please

  • Iphoto book sharpening for print

    Hello everyone: I am planning on sending an iPhoto album to print to Apple. I have one doubt regarding my final workflow step, which is the output sharpening: using either Aperture3  or Capture NX2 what are the most appropriate output sharpening valu