ORA-16086: Redo data cannot be written in the expectation of recovery log redo

Hello

I have enough disk space: 85% full on both servers, v$ flash_recovery_area_usage shows 56% of the area of dest used recovery.

So after checking that I have matching sizes for standby records and logs and check that there is enough space allocated to the domain recovery and disk space on the server, I don't know what else could cause a problem to archive log shipping.

Any ideas?

My old journals and newspapers of recovery were the same size:

SQL > select group #, the bytes of the log v$.

GROUP # BYTES

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

1 52428800

2 52428800

3 52428800

SQL > select group #, bytes from v$ standby_log;

GROUP # BYTES

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

4 52428800

5 52428800

6 52428800

7 52428800

standby time:

SQL > select group #, the bytes of the log v$.

GROUP # BYTES

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

1 52428800

3 52428800

2 52428800

SQL > select group #, bytes from v$ standby_log;

GROUP # BYTES

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

4 52428800

5 52428800

6 52428800

7 52428800

However, on the autonomy in standby:

SQL > select group #, status from v$ standby_log;

GROUP # STATUS

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

4. UNORDERED

5 UNASSIGNED

6 NOT ASSIGNED

7. UNASSIGNED

Finally, on the primary:

SQL > select status, error from v$ archive_dest where dest_id = 2;

STATE ERROR

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

ERROR ORA-16086: Redo data cannot be written in the expectation of recovery log redo

Hello

As you can see, your flash_recovery_Area is 99% used.  57% consumed by the archivelogs and 42% consumed by the flashback logs

ARCHIVED JOURNAL 57.19 0

439

FLASHBACK TO CONNECT 42,44 0

178

you have 3 options

1. increase the flash_recovery_Area if you have space left in recovery_file_Dest

2. check the retention of archives and remove the old

3. do you really use flashback function? If this isn't the case, you can disable it. If you need to check if there is no restore point (sometimes if you have and not intended them to use it will cause flashback logs to be kept longer than they should

Select * from v$ restore_point;

also check the retention of flashback in operation below

show the flashback of parameter

Tags: Database

Similar Questions

  • ORA-14080 partition cannot be divided along the upper limit

    Hello

    Oracle 11.2.0.3

    After a table

    We want to split the partition PART_201610 on for each month

    Issuing command

    ALTER table RETAILER_TRANSACTION

    Split partition PART_201610

    to (to_date('01-MAY-2016','DD-MON-YYYY'))

    into (partition RTRN_PART_201604, partition PART_201610 tablespace PART_201604)

    Ora-14080 getting partition cannot be split along the specified upper limit.

    Anyone know why this is?

    Thank you

    partitions on the table below.

    partition values PART_201603 less (TO_DATE (' 2016-04-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '))

    tablespace RTRN_PART_201603

    PCTFREE 0

    INITRANS 1

    maxtrans 255

    (

    SUBPARTITION SYS_SUBP65343 tablespace RTRN_PART_201603,

    SUBPARTITION SYS_SUBP65344 tablespace RTRN_PART_201603,

    SUBPARTITION SYS_SUBP65345 tablespace RTRN_PART_201603,

    SUBPARTITION SYS_SUBP65346 tablespace RTRN_PART_201603

    ),

    partition values PART_201610 less (TO_DATE (' 2016-11-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '))

    tablespace RTRN_PART_201610

    PCTFREE 0

    INITRANS 1

    maxtrans 255

    (

    SUBPARTITION SYS_SUBP65333 tablespace RTRN_PART_201610,

    SUBPARTITION SYS_SUBP65334 tablespace RTRN_PART_201610,

    SUBPARTITION SYS_SUBP65335 tablespace RTRN_PART_201610,

    SUBPARTITION SYS_SUBP65336 tablespace RTRN_PART_201610

    ),

    partition values PART_400012 less (TO_DATE (' 4001-01-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '))

    tablespace RTRN_PART_400012

    PCTFREE 0

    INITRANS 1

    maxtrans 255

    (

    SUBPARTITION SYS_SUBP12390 tablespace RTRN_PART_400012,

    SUBPARTITION SYS_SUBP12391 tablespace RTRN_PART_400012,

    SUBPARTITION SYS_SUBP12392 tablespace RTRN_PART_400012,

    SUBPARTITION SYS_SUBP12393 tablespace RTRN_PART_400012

    )

    Please mark this thread ANSWERED so that others know that we.

  • the files could not be written to the cache

    When I try to download bank statement site web I get this error.  Internet Explorer cannot download a of files cannot be written to the cache.  I made sure that the do not save the encrypted data on disk is not checked.

    Look here:

    http://www.Vistaheads.com/forums/Microsoft-public-InternetExplorer-General/291210-file-could-not-written-cache-error.html

    Try w/o IE Add ons

    Reset Internet Explorer

    see you soon

  • ORA-01124: cannot retrieve the data file 1 - file is in use or recovery

    I'm trying to recover the database in waiting, but it gives the error below.

    ORA-00283: cool cancelled due to errors
    ORA-01124: cannot retrieve the data file 1 - file is in use or recovery, the recovery is already said
    ORA-01110: data file 1: ' I:\ORACLE\QAS\SAPDATA1\SYSTEM_1\SYSTEM. DATA1'

    When I checked in the alert log recovery is not started. and later I hae given ' alter database recover Cancel "and the command to meet with the threshold.

    "media recovery has not started.

    It seems that the recovery was stuck between the two.
    Please advise me how to kill the recovery session that is stuck. because I don't want to bounce the database pending.

    Thanks in advance.

    Dataguard and MRP, you run a script before.

    In a standby scripted, a session to RETRIEVE the DATABASE would an UNTIL clause (SEQUENCE up to THAT most likely). At the end of the recovery at this point (SEQUENCE #), he left and stop at the database.

    In addition, the script is such that when a RECOVERY session is active, another session is not authorized to start. It can loop in pending state or go out and do it again the next scheduled interval.

    Apparently your startup script is not strong enough to prevent another session of RECOVERY to start even though the first is active (or it doesn't have a good up to THAT clause and stop, exit, closing stocks)

    What you have is a custom implementation of a database of pending. Without all the details of the script, the 'blocking' between sessions (to avoid a second RECOVER start when one is already running) etc... We can't really do much to help you.
    Your scripts must be standing with status information. It should be possible for you to discover the 'other' sqlplus session which emanates a DATABASE to RECOVER, but not yet out (p. ex... How about a simple "ps - ef |") grep sql' and ' ps - ef | combination of grep ora"?)

    Hemant K Collette

    Published by: Hemant K Collette on May 29, 2013 17:47

  • ORA-02327: cannot create indexes on the LOB data type expression

    DB 10.2.0.4
    DB 5.2

    I am not able to move lobindex and lobsegment. While try occurs below error

    SQL > ALTER INDEX dev. "" SYS_IL0000718396C00002$ $"REBUILD THE TABLESPACE DATA_TEMP;
    ALTER INDEX dev. "" SYS_IL0000718396C00002$ $"REBUILD TABLESPACE DATA_TEMP
    *
    ERROR on line 1:
    ORA-02327: cannot create indexes on the LOB data type expression

    Thank you

    Published by: user13382934 on October 16, 2012 14:05

    correct syntax is
    ALTER TABLE.

    MOVE the LOB ()
    STORE AS (tablespace );

    Where is a name of the / columns LOB, not the name of the segment. Moving type LOB data will move its indexes as well.

  • DAC 11.1.1.6.4 fails with the error cannot get columns: ORA-01403: no data found

    Hello

    We strive to run a full charge in DAC, but it is a failure.

    The S_ASSET table is empty and therefore, we get the error

    Could not get column: ORA-01403: no data found

    We were not facing this error in DAC 10 g but after upgrade to DCA 11 g, this task has no place if the array is empty. How remove this restriction and DAC will work perfectly even if the tables are empty to full charge?

    CAD DETAILS

    Console Administration Oracle BI DW

    CAD build a 11.1.1.6.4.20121119.2022 Build date: November 19, 2012

    Management Console to install, configure, and administer the Warehouse Analytics of Oracle Business

    Schema version - 47, Index version - 36, repository version - 6, data version Seed - 16

    INFORMATICA - VERSION9.0.1 HF2


    Here's the log of IMG_BUILD - S_ASSET when this task was running in DAC 10 g. The task facing any problem when S_ASSET table was empty.

    [code]

    2013-12-23 15:34:29.644 CHANGE CAPTURE: IMG_BUILD - internal S_ASSET began.

    the number of days of prunes: 4

    After change data capture: 2013-12-19 12:23:19.332 in full Mode.

    2013-12-23 15:34:29.69 - execution:

    TRUNCATE TABLE S_ETL_I_IMG_6

    2013-12-23 15:34:29.89 - executed successfully.

    2013-12-23 15:34:29.9 - execution:

    TRUNCATE TABLE S_ETL_R_IMG_6

    2013-12-23 15:34:30.145 - executed successfully.

    2013-12-23 15:34:30.16 - execution:

    TRUNCATE TABLE S_ETL_D_IMG_6

    2013-12-23 15:34:30.198 - executed successfully.

    2013-12-23 15:34:30.236 - execution:

    INSERT / * + APPEND * / INTO S_ETL_R_IMG_6

    (ROW_ID, MODIFICATION_NUM, LAST_UPD)

    SELECT

    ROW_ID

    MODIFICATION_NUM

    LAST_UPD

    Of

    S_ASSET

    WHERE

    LAST_UPD > TO_DATE ('2013-12-19 12:23:19 ',' ' YYYY-MM-DD HH24:MI:SS)

    2013-12-23 15:34:30.968 - executed successfully.

    2013 12-23 15:34:30.989 - execution of deleting duplicates rowid.

    2013-12-23 15:34:31.01 - successfully deleting duplicates rowid.

    2013-12-23 15:34:31.27 - execution:

    DROP VIEW V_ASSET

    2013-12-23 15:34:31.566 - executed successfully.

    2013-12-23 15:34:31.569 - execution:

    CREATE VIEW V_ASSET AS

    SELECT

    *

    Of

    S_ASSET

    2013-12-23 15:34:31.743 - executed successfully.

    2013-12-23 15:34:31.78 - execution:

    SELECT COUNT (*) IN S_ASSET

    The County is: 0

    Executed successfully: CHANGE CAPTURE: IMG_BUILD - internal S_ASSET

    (Number of attempts: 1).

    Executed orders:

    IMG_BUILD - internal

    2013-12-23 15:34:31.851 CHANGE CAPTURE: IMG_BUILD - internal S_ASSET has finished running with the completed state.

    The same task, IMG_BUILD - S_ASSET fails when it is running in DAC 11 g, because the table is empty. Here is the log for the failure of the task to 11g.

    [code]

    2013-12-27 21:21:47.497 acquisition of resources

    2013-12-27 21:22:20.33 acquired resources

    2013-12-27 21:22:20.787 CHANGE CAPTURE: IMG_BUILD - internal S_ASSET began.

    the number of days of plum: 5760

    After change data capture: 2013-12-23 21:19:19.233 in full Mode.

    21:22:21.211 2013-12-27 - execution:

    TRUNCATE TABLE S_ETL_I_IMG_6

    2013-12-27 21:22:22.384 - executed successfully.

    21:22:22.389 2013-12-27 - execution:

    TRUNCATE TABLE S_ETL_R_IMG_6

    2013-12-27 21:22:22.532 - executed successfully.

    21:22:22.534 2013-12-27 - execution:

    TRUNCATE TABLE S_ETL_D_IMG_6

    2013-12-27 21:22:22.546 - executed successfully.

    21:22:22.55 2013-12-27 - execution:

    INSERT / * + APPEND * / INTO S_ETL_R_IMG_6

    (ROW_ID, MODIFICATION_NUM, LAST_UPD)

    SELECT

    ROW_ID

    MODIFICATION_NUM

    LAST_UPD

    Of

    S_ASSET

    WHERE

    LAST_UPD > TO_DATE ('2013-12-23 21:19:19 ',' ' YYYY-MM-DD HH24:MI:SS)

    2013-12-27 21:22:22.614 - executed successfully.

    2013 12-27 21:22:22.616 - execution of deleting duplicates rowid.

    2013-12-27 21:22:24.72 - successfully deleting duplicates rowid.

    Could not get column: ORA-01403: no data found

    FAULT INFO: Error executing: CHANGE CAPTURE: IMG_BUILD - internal S_ASSET

    MESSAGE: com. Siebel.Analytics.etl.Execution.exceptions.ChangeCaptureTaskFailedException: Change Capture failed.

    EXCEPTION CLASS: java.lang.RuntimeException

    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:536)

    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:372)

    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:253)

    com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:655)

    com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)

    java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)

    java.util.concurrent.FutureTask.run(FutureTask.java:138)

    java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:441)

    java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)

    java.util.concurrent.FutureTask.run(FutureTask.java:138)

    java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)

    java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)

    java.lang.Thread.run(Thread.java:619)

    : CAUSE:

    MESSAGE: change Capture failed.

    EXCEPTION CLASS: com.siebel.analytics.etl.execution.exceptions.ChangeCaptureTaskFailedException

    com.siebel.analytics.etl.etltask.ChangeCaptureTask.executeChangeCapture(ChangeCaptureTask.java:93)

    com.siebel.analytics.etl.etltask.ChangeCaptureTask.doExecute(ChangeCaptureTask.java:46)

    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:477)

    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:372)

    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:253)

    com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:655)

    com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)

    java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)

    java.util.concurrent.FutureTask.run(FutureTask.java:138)

    java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:441)

    java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)

    java.util.concurrent.FutureTask.run(FutureTask.java:138)

    java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)

    java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)

    java.lang.Thread.run(Thread.java:619)

    (Number of attempts: 1).

    IMG_BUILD - internal

    2013-12-27 21:22:31.526 CHANGE CAPTURE: IMG_BUILD - internal S_ASSET has finished running with the Failed state.

    [[code


    The CREATE VIEW privilege was missing from the CAD database user, therefore, was not to create the step. I have granted CREATE VIEW and all is well.

  • ORA-16086: standby database does not available? Help me

    Hi all
    I use logic ensures db,.
    my database is very well that there is an error: ORA-16086: does not log pending available files, standby database contain
    It's log_archive_dest_2 on the primary database: log_archive_dest_2 = "service = LGWR SYNC dgora SAY valid_for =(online_logfiles,primary_role) db_unique_name = dgora'"

    even then, oder data still are transported from primary eve db db and then applied on the eve of the database.
    I run the command: select group #, the journal of v status $; -> the result is normal.

    can someone help with this problem?

    I thank you,

    They are a bit like the pads to do it again.

    It will speed up to apply, rocking and tilting.

    Standby Redo Logs are similar to online redo logs and the difference between the two is that standby Redo Log is used to store restore data by progress coming from another (primary) database.

    Standby redo logs are used only when the database_role is in sleep mode, it is recommended to add in the primary also so that they can be used on the evolution of the role, however, in the normal course work standby redo logs will be used at all on the primary.

    Using groups of waiting for redo log depends on the rate of generation of redo, you can see only 2 newspapers roll forward pending use even if you have 4 groups of waiting for redo log, when the production of roll forward rate is lower.

    It is recommended to have a group of newspapers of recovery sleep when redo production rates are high and all of the current log roll forward pending use.

    Best regards

    mseberg

    Add correct you issue?

    Published by: mseberg on July 20, 2011 08:17

  • OCI error ORA-01403: no data found in oracle goldengate replication after tts instaniation

    I recently migrated our central system of tg (11.1.0.7) solaris from Sun to linux (11.2.0.3) environment using goldengate (tablespace transportable method used for instantiation).

    Initial replication has worked with HANDLECOLLISIONS and after I took over LAG, I took off Handlecollisions and noticed updated report discarded with OIC error ORA-01403: no data available in two repetitions.


    I followed all the steps in the migration tts steps provided by oracle best practices.


    Can anyone provide any clue how to fix this?


    Thank you in advance.

    For that error, the common problem is missing data, GoldenGate cannot find it because there is no key (search KEYCOLS in the installation guide), or a null is present (trying to update a record and a constraint is not null).

  • ORA-00932: inconsistent data types: expected - got CURSER

    Hi all

    I created a function and tried to run SQL Plus, but I get an error

    ORA-00932: inconsistent data types: expected - got CURSER

    I tried to debug for centuries, but are unable to the root of what could be the problem. I'd appreciate any help or idea people could offer

    The only consolation I take from this is that Oracle have typo in one of their error messages :)



    SQL MORE CODE
    select * FROM TABLE(CAST(tsoraimpdb.QueryAuthorsFunc(116, 1, -1, 1, 0) as tsoraimpdb.ENTITYIDTABLE));
    THE FUNCTION CODE
    CREATE OR REPLACE FUNCTION &HKImpDB_Schema_Name..QueryAuthorsFunc 
    (
    aKGID NUMBER,
      aPageNumber NUMBER,              -- The page interested
      aPageSize NUMBER,                -- Number of records per page
      aOffset NUMBER,                  -- The offset = number of records already got
      aTotalRecord NUMBER          -- Total number of users in the database
    )
    RETURN sys_refcursor
    as
    l_FuncCur sys_refcursor;
    l_TotalRecord NUMBER(10) := aTotalRecord;
    l_Offset NUMBER(10) := aOffset;
    l_PagingTable TEMP_T_TABLE:= TEMP_T_TABLE();
    
    -- paging set up
    l_MinRecordsOnAPge NUMBER(10); --last record on the previous page
    l_MaxRecordsOnAPge NUMBER(10); --last record on the current page
    begin
    DBMS_OUTPUT.PUT_LINE('start');
    select KnowdePos(rownum,p.ID) bulk collect into l_PagingTable
      FROM KnowledgeGene kg
      INNER JOIN HKResource r ON kg.KGOwner = r.ID
      INNER JOIN Person p ON r.PersonID = p.ID
    WHERE kg.kgid = akgid
    ORDER BY p.FirstName + ' ' + p.LastName;
    
    l_TotalRecord := l_PagingTable.count; -- get total records
    DBMS_OUTPUT.PUT_LINE(  l_TotalRecord);
    
    if aPageSize > 0 then
      if aPageNumber <= 0 then
              Raise_application_error(-20003,'Invalid Page Number');
      else
          l_MinRecordsOnAPge := (aPageNumber-1)*aPageSize;
          l_MaxRecordsOnAPge := aPageNumber*aPageSize;
      end if;
    else -- if @PageSize < 0 return all records
        l_Offset := 0;
        l_MinRecordsOnAPge := 0;
        l_MaxRecordsOnAPge := l_TotalRecord;
    END if;
    
    -- return results for the correct page
    open l_FuncCur for
    SELECT pos
      from HKResource r
      INNER JOIN Person p ON r.PersonID = p.ID
      inner join TABLE(CAST(l_PagingTable AS TEMP_T_TABLE)) on pos = p.id
      WHERE KnowdeID > l_MinRecordsOnAPge - l_Offset AND KnowdeID <= l_MaxRecordsOnAPge - l_Offset;
    
    return l_FuncCur;
    EXCEPTION when NO_DATA_FOUND then null;
    end;

    You cannot get the ref cursor in a table like this. Either use a PL/SQL program to extract the lines of ref cursor and display them via dbms_output.put_line (or something) or load the results into a collection and then cast the collection in a table in your select statement.

  • ORA-01111: 129 data file name is unknown

    I have a 10.2.0.1 databases and a watch on another server on which recovery logs apply every 15 minutes.

    I have added a new file to the primary db backup server drive was full, so when he tried to automatically failed.

    I resolved the issue of space, but now I get the following error:

    ORA-00283: cool cancelled due to errors
    ORA-01111: name for the data file 129 is unknown - rename it to the correct file
    ORA-01110: data file 129: "C:\ORACLE\ORA10G\DATABASE\UNNAMED00129."
    ORA-01157: cannot identify/lock data file 129 - see DBWR trace file
    ORA-01111: name for the data file 129 is unknown - rename it to the correct file
    ORA-01110: data file 129: "C:\ORACLE\ORA10G\DATABASE\UNNAMED00129."

    I tried to manually copy the files from the live database and I tried a command alter database rename file but that tells me name change is not allowed if management standby is set to automatic. I had a search but cannot see a solution, any ideas?

    Thank you
    Robert

    Step 1:-check the name of the data file on the backup database

    Select name from v$ datafile; -This command should display the name of the data file as UNNAMEDxxxxx

    STEP 2:-ON THE BACKUP DATABASE
    ALTER system set standby_file_management = "manual";

    Step 3:-rename the data file
    ALTER database create datafile 'C:\ORACLE\ORA10G\DATABASE\UNNAMED00129' as 'C:\ORACLE\ORA10G\DATABASE\actual_dbfile_name.dbf '.

    Step 4:-on the backup database
    ALTER system set standby_file_management = "auto";

    Step 5:-on the backup database
    recover managed standby database disconnect;

  • Error.' c:\docume~'\earl\locals~1\temp. A temporary file needed for initialization could not be created or cannot be written in ' when try to run 16-bit programs in windows xp computer at home.

    original title: 16-bit windows subsystem error

    I was able to run 16-bit programs on my computer with windows xp home edition. now when I try to open the program I get a 16-bit windows subsystem error. c:\DOCUME~'\earl\locals~1\Temp. a temporary file needed for initialization could not be created or cannot be written to. Make sure that the path exists, and the space is 'close' to teminate the application available.choose

    Hi EarlBettencourt,

    You can follow this link & check if the problem persists:

    Error message when you install or start an MS-DOS-based program or 16 - bit Windows based

    Hope the helps of information.

  • Unable to set the current location of the recovery image - "the recovery image cannot be written - error Code: 0x80004005.

    Original title Windows 8 error

    I'm trying to set the current location of the recovery image that I created with this command: "recimg /setcurrent C:\RefreshImage", but I get this error:
    "The recovery image cannot be written.
    "Error code: 0x80004005.

    I'm not trying to create an image, because I already have. I had backed up and copied to an external drive. My current drive became unbootable plu and had to rebuild and now want to set the location of the recovery image, I get this message on multiple computers.

    Hey guys

    don't know if your problem persists

    I solved my problem

    My recimg has win8.1 and my current OS is win8

    I've updated to win 8.1 and then set in the former could earn 8.1 recimg

    Salute the master

    PS. hope this works

  • Query cannot be parsed in the generator. If you believe that your query is syntactically correct, check the generic "columns" box below the source of the region without analysis. ORA-00905: lack of keyword

    Hi all

    I have create report sql in version 4.2, and now we have apex version 5.0 upgrade.

    I encountered error when I change the State of sql

    The error massage:

    Query cannot be parsed in the generator. If you believe that your query is syntactically correct, check the generic "columns" box below the source of the region without analysis. ORA-00905: lack of keyword

    My SQL

    SELECT VW.*

    , CASE WHEN (VW.file_code is null

    OR VW.cancel_flg = 'Y'

    OR (TOUR_DEP_DATE + GET_FILE_LOCKING_DAYS (VW. (SBU_CODE) < = trunc (sysdate))

    ) THEN

    ' < font color = "Red" > < b > other < /b > < / police > '

    ON THE OTHER

    "< a href =" f? p = & APP_ID.:51: & SESSION. : O PR: & DEBUG. : 51:P51_FILE_CODE, P51_COSTING_CODE, P51_TOUR_REG_NO, P51_VERSION_NO, P51_REQUEST, P51_AGENT_NAME, P51_ADULTS, P51_CHILDS, P51_MKT_CODE, P51_QUOT_CURR:'

    || FILE_CODE | «, » || COSTING_CODE | «, » || TOUR_REG_NO | «, » || VERSION_NO | «, » ||' OPR' | «, » || AGENT_CODE | «, » || VW. FROM_PAX | «, » || 0||','|| VW.mkt_code | ',' | VW. QUOT_CURR |': ' > < font color = blue > < b > other < /b > < / police > '. "

    END as "other Actions".

    , CASE WHEN ((VW.file_code is not null AND TOUR_DEP_DATE + GET_FILE_LOCKING_DAYS (VW. (SBU_CODE) < = TRUNC (SYSDATE))

    OR cancel_flg = 'Y '.

    OR (VW. REF_COSTING_CODE = VW. ADDL_FIELD2 AND VW. ADDL_FIELD1 LIKE '% COPIED FROM % OF APPROVAL'

    AND BOOKING_NAME LIKE "%-Backup")

    ) THEN

    ' < font color = "Red" > < b > edit < /b > < / police > '

    ON THE OTHER

    "< a href =" f? p = & APP_ID.:149: & SESSION. : & DEBUG. : 149:P149_COSTING_CODE:'

    || COSTING_CODE |': ' > < font color = blue > < b > edit < /b > < / police > '. "

    END AS 'Edit '.

    , CASE WHEN (Nvl (cancel_flg, 'n') = 'Y')

    )

    THEN

    ' < font color = "Red" > < b > add < /b > < / police > '

    ON THE OTHER

    "< a href =" f? p = & APP_ID.:33: & SESSION. : & DEBUG. : 33:P33_COSTING_CODE, P33_FILE_CODE, P33_MKT_CODE, P33_QUOT_CURR, P33_NO_OF_ADULT, P33_NO_OF_CHILD:'

    || COSTING_CODE | «, » || file_code | «, » || VW.mkt_code | ',' | VW. QUOT_CURR | «, » || VW. FROM_PAX | «, » || 0 | ': "> < font color = blue > < b > add < /b > < / police > '

    END as 'Services '.

    OF TOUR_MAS_VW VW

    How to solve it.

    Thank you

    Dear friends

    Thanks for your helping hands.

    I found the solution for this. We can solve this problem by using these solutions

    • A region of HTML:

      click me
      
    • Using PL/SQL:
      htf.anchor('f?p=100:5:'||V('APP_SESSION'),'click me');
      
    • Using a SQL query: SELECT htf.anchor('f?p=100:5:'||:APP_SESSION,'clickme') FROM DUAL;

    We can write the query in the form

    SELECT ' f? p = 100: 1 :'|| : APP_SESSION |': ' | : APP_UNIQUE_PAGE_ID |

    ': P1_EMPNO :'|| employe_id,

    first name,

    job_id

    Employees

    Thank you & best regards

    CORINE

  • When I try to change the interactive report columns, then triggers the error: "unable to change column attributes. "ORA-01403: no data found. Pls tell me why?

    When I try to change the interactive report columns, then triggers the error: "unable to change column attributes. "ORA-01403: no data found. Pls tell me why?

    You use listener EA3 ADR?

  • ORA-00902: invalid data type on xmltable

    Hello

    I learn XMLTABLE but not able to run the following queries,

    with xml11g as
    (
    select '<?xml version="1.0"?>
    <purchaseorder orderdate="1999-10-20">
      <shipto country="us">
        <name>alice smith</name>
        <street>123 maple street</street>
        <city>mill valley</city>
        <state>ca</state>
        <zip>90952</zip>
      </shipto>
      <billto country="us">
        <name>robert smith</name>
        <street>8 oak avenue</street>
        <city>old town</city>
        <state>pa</state>
        <zip>95819</zip>
      </billto>
      <comment>hurry, my lawn is going wild!</comment>
      <items>
        <item partnum="872-aa">
          <productname>lawnmower</productname>
          <quantity>1</quantity>
          <usprice>148.95</usprice>
          <comment>confirm this is electric</comment>
        </item>
        <item partnum="926-aa">
          <productname>baby monitor</productname>
          <quantity>1</quantity>
          <usprice>39.98</usprice>
          <shipdate>1999-05-21</shipdate>
        </item>
      </items>
    </purchaseorder>' myxml from dual
    )
    select s.*, b.*
    from xml11g t,
      xmltable ('/purchaseorder' passing
        xmlparse(document t.myxml)
        columns
          "shipto" xml,
          "billto" xml
        ) x,
        xmltable ('/shipto' passing x."shipto"
          columns
            "name" char(20),
            "street" char(40),
            "city" char(40),
            "state" char(2),
            "zip" number(10)
        ) s,
        xmltable ('/billto' passing x."billto"
          columns
            "name" char(20),
            "street" char(40),
            "city" char(40),
            "state" char(2),
            "zip" number(10)
        ) b;
    
    

    It is showing me special suite

    < zip > 90952 < / zip >

    *

    ERROR on line 10:

    ORA-00902: invalid data type

    Please guide me what I'm missing here.

    Thanks and greetings

    Alexander gelin

    For me the (slightly modified) works:

    [sql]

    with xml11g as
    (
    Select ' 
     
       
        Alice Smith 
        123 maple Street 
        Mill Valley 
        CA 
        90952 
       
       
        Robert Smith 
        8 Oak avenue 
        old town 
        PA 
        95819 
       
      Hurry, my lawn is going wild
    !                 lawn mower        1        148.95        confirm this is electric                    baby monitor        1        39.98        1999-05-21            "double myxml. ) Select *. of xml11g t.   XMLTable ('/ purchaseorder' by the way)     xmlParse (document t.myxml)     columns       "shipto" XMLtype,       "billto" XMLtype     )     x,     XMLTable ("' / shipto' passing x." ShipTo")       columns         'name' char (20)         , 40 "Street."         'city' 40,         'State' (2) tank.         "zip" INTEGER     + 1 ,     XMLTable ("' / billto' passing x." BillTo")       columns         'name' char (20),         40 "Street."         'city' 40,         'State' (2) tank.         "zip" INTEGER    

    ) b ;

    [SQL]

Maybe you are looking for

  • Problem with the mode standby in Windows 7

    Hello friends, I have a big problem when Windows 7 updated itself. I have a laptop Toshiba Satellite L505D. When I close the lid, it will automatically 'sleep' mode. Unfortunately, the screen is black and the laptop is still in progress, I have to st

  • How to set up the Intel Graphics = battery / AC Power = nVIDIA GPU?

    Right, so I formatted my laptop and reinstalled all the drivers Lenovo stocks to avoid headaches I'm on a High Performance plan for the moment What I want to do is... set the plan of the High Performance always use the nVIDIA GPU if I was connected t

  • inaccurate time using ProsesSystemEvents

    Hello I suffer incorrect delay function when using ProcessSystemEvents. I have no need of 1 second precision, rather 10 seconds precision would be sufficient. But I need ProcessSystemEvents because I need to wait a long time and do so using only Dela

  • A box came in my computer that said 'carat' and now I can't use my mouse and keyboard.

    Original title: Carat a box came in my computer that said carat now does not allow me to use my mouse and my keyboard, how can I solve this problem and check if everything goes well it doesn't happen

  • Reference Dell place 11 Pro shipping disappointment

    I am writing this primarily to express my frustrations and I hope that someone at Dell will take notice because I think to complain to someone on the phone at Dell will fall on the deaf ears and will be a waste of time.  It seems that we, the consume