Change data type column - performance of indexes in Oracle 10 g

Hello
I have a table with too many lines (lines more than 2000000). I changed the data type (NUMBER of VARCHAR2) of an indexed column (the index is only for this column), using a temporary backup table:

CREATE TABLE BKTABLE AS SELECT FIELD, ROWID AS IDROW ORIGNALTABLE;
UPDATE ORIGNALTABLE SET FIELD = NULL;
ALTER ORIGNALTABLE CHANGE THE FIELD VARCHAR2 (256);
ORIGNALTABLE UPDATE A FIELD SET = (SELECT FIELD OF BKTABLE B WHERE B.IDROW = A.IDROW);

This way worked OK.

There is no performance problem knew about the ORIGNALTABLE index? Need to rebuild this index?

Thks!

Need to rebuild this index?

YES

ALWAYS
View the name of the operating system (OS) & version for DB Server System.
View the results of
SELECT * from version $ v
or post the Oracle version with 4 decimals

Tags: Database

Similar Questions

  • Separate with a nclob data type column

    I came across a scenario where we need to extract data from a table that is having a NCLOB data type column.

    Now, the challenge is coming we need to extract only the separate data including NCLOB column of this table type.

    It is showing following error.

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

    1. 00000 - ' incompatible data types: wait %s %s got. "

    * Cause:

    * Action:

    Error on line: column 3:16

    Any suggestion would be appreciated.

    There are several options, such as using dbms_lob.substr or similar functions:

    CLOB DISTINCT column value

    (Kepp hash collusion in mind ;-)

    Depends on your actual data I guess.

  • Full table scan without sweeping particular column (CLOB data type column)

    I want to select the online_bank table. This table with a column of type CLOB data. I want to select all the columns in the table, except the column type of clob data. but oracle full table, including the column analysis server type CLOB data when the query is run. It took a long time to complete the table. Please give me a solution of full table scan without analysis the CLOB data type column. How to avoid the time scanning CLOB data type column... ?

    878728 wrote:
    I want to select the online_bank table. This table with a column of type CLOB data. I want to select all the columns in the table, except the column type of clob data. but oracle full table, including the column analysis server type CLOB data when the query is run. It took a long time to complete the table. Please give me a solution of full table scan without analysis the CLOB data type column. How to avoid the time scanning CLOB data type column... ?

    We do not have your table.
    We do not have your data.
    Therefore, we have no answer to your apparent mystery.

  • Change data type for the column in a table - Oracle 8i

    Team,

    I need to change a VARCHAR2 column in number.

    ALTER table xyz change number abc;

    By giving the above statement, it says I need empty this column before you change.

    I can't change the data type before emptying this column.

    Please indicate any other solution. Give me some suggestions.

    Empty the column for me here BIG task.

    user11081688 wrote:
    I can't change the data type before emptying this column.

    Not according to the documentation:

    You can change the data type of any column or decrease the size of the entire column if all rows in the column contains NULL values.

    Please indicate any other solution. Give me some suggestions.

    You can add another column with the correct data type.

    ALTER TABLE xyz ADD COLUMN def NUMBER;
    UPDATE TABLE xyz SET def = TO_NUMBER(abc);
    ALTER TABLE xyz DROP COLUMN abc;
    ALTER TABLE xyz ADD COLUMN abc NUMBER;
    UPDATE TABLE xyz SET abc = def;
    ALTER TABEL xyz DROP COLUMN xyz;
    

    If I remember correctly, Oracle 8i does not support the change of name of column if this solution is a bit more complicated than 9i and above. Another option would be to create a new table with CREATE TABLE AS... SELECT, drop the old one and rename a new one to the old.

  • Change data type of flashback

    If I change the data type of a column, and there were no other structural changes, I have indeed flashback the table to one point more old if I first return they datatype its original definition?

    I would like to try it myself, but I messed up somewhere and disabled my return of flame somehow... maybe for the current session or the entire database, I need to see what is wrong - for now I would like to continue my current reading instead of playing with that.

    Assistance regarding the issue is appreciated, thanks.

    This should answer your question:

    http://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_9012.htm

    FLASHBACK TABLE

    Goal

    Use of the FLASHBACK TABLE statement to restore a previous state of a table in the event of human error or application. The time in the past including the table can be flashed back is dependent on the amount of undo data in the system. Also, Oracle database cannot restore a table to an earlier state across all DDL operations that modify the structure of the table.

    See that last sentence?

  • How do I edit/change data type on the report which has been selected by mistake


    Hello

    I've created a report in the APEX and a column is in error because the data type of a supposed to be a varchar2 column, but somehow the report was created with a data type Date. I want to change the data type without re-creating the whole report. Can anyone help? I tried to edit the report but could not be able to understand.

    Help...

    I found a solution for this, I thank you.

  • change data type...

    Hello...

    Change the data type of a column... replacement... it generates the error...
    ERROR at line 1:
    ORA-01439: column to be modified must be empty to change datatype 
    How can I change the data type of the column, without trucating and re - insert the records...

    Thank you
    Baskar.l

    Baskar.l wrote:
    Hello..

    is there a way to take the table offline? and do... rather than shoot the PB... Suppose that even if it is the activity less period... is the new records inserted when you change the column will be inserted in the new column?

    Thank you
    Baskar.l

    There is no need to bring the entire base down. Choose a time of low activity and go for it!

    If you are on 10g there is a chance that it will fail with an ORA-00054 as an exclusive table lock is necessary. If not you will have to try again.

    If you are in 11g, add a column does not require an exclusive lock, but drop the column will be even if the risk is always there.

    HTH!

  • Change data type of RTF model

    Hi team,

    I don't know if this is possible, but don't we have a way in which we can change the data type of a column of rtf model by preparing the model.
    Can you please help!

    Thank you
    Bhupendra

    Published by: Bhupendra Gupta on September 9, 2009 04:21

    It's here

    http://winrichman.blogspot.com/2009/09/delimiter-based-e-text.html

    http://winrichman.blogspot.com/search/label/BIP%20E-text

  • timestamp data type column

    Hi guys,.

    I want to extract information from a column that contains the timestamp data type.

    something like that

    loged_date between the 09/03/2015 09/03/2015 and 09:00 20:00

    and it does not work.

    Would be very happy to help.

    Hello

    SQL lover wrote:

    Hi guys,.

    I want to extract information from a column that contains the timestamp data type.

    something like that

    loged_date between the 09/03/2015 09/03/2015 and 09:00 20:00

    and it does not work.

    Would be very happy to help.

    Whenever you have a question, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements) and the exact results you want from this data, so that people who want to help you can recreate the problem and test their ideas.

    Explain, using specific examples, how you get these results from these data.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: Re: 2. How can I ask a question on the forums?

    Maybe you want something like:

    loged_date between TO_TIMESTAMP (' March 9, 2015 09:00 ")

    , ' DD/MM/YYYY HH24:MI:SS.

    )

    and TO_TIMESTAMP (March 9, 2015 20:00 ')

    , ' DD/MM/YYYY HH24:MI:SS.

    )

  • Syntax of data type and name - still new for Oracle

    If I have an Employees table and that I needed the data type and the name of each column of the EMPLOYEES table


    What is the syntax?


    Is - CREATE AN EMPLOYEE in SIGHT?

    Thank you

    I use Oracle 10g express and Oracle SQL * MORE.

    Published by: user11915244 on 24 Sep, 2009 19:03

    call sqlplus

    SQL > DESC EMPLOYEE

  • Simple index (the display of the data (all columns) in an index of Toad)

    Hi all

    I am training on sql tuning and over the years I've seen ppl creating many clues, today I'm trying to learn the different types of index and just curious to see physical data in an index, but I'm not able to do a toad, I know if I have a few def index as :

    create index employees_employee_id on employees (employee_id)

    My clue would have two columns of information: first rowid and employee_ids in a sorted order right? <-if my understanding is not correct could any1 please correct me here.

    PS: The major problem is to see the physical in Toad index data, please help me with this.

    Thank you very much

    Rahul

    There is no SELECT query that could be written on the index. But a select on a TABLE can be a way such that Oracle only scans the index and give you the information

    Here is an example.

    SQL > create table t
    () 2
    3 no integer
    4  );

    Table created.

    SQL > create index t_idx on t (no);

    The index is created.

    SQL > insert into t
    2. Select level
    3 from dual connect by level<=>

    10 rows created.

    SQL > commit;

    Validation complete.

    SQL > alter table t modify is not null;

    Modified table.

    SQL > exec dbms_stats.gather_table_stats (user, 't', cascade-online true)

    PL/SQL procedure successfully completed.

    SQL > select rowid, not according to t;

    ROWID NO.
    ------------------ ----------
    AAFrZaABMAAAiKKAAA 1
    AAFrZaABMAAAiKKAAB 2
    AAFrZaABMAAAiKKAAC 3
    AAFrZaABMAAAiKKAAD 4
    AAFrZaABMAAAiKKAAE 5
    AAFrZaABMAAAiKKAAF 6
    AAFrZaABMAAAiKKAAG 7
    AAFrZaABMAAAiKKAAH 8
    AAFrZaABMAAAiKKAAI 9
    AAFrZaABMAAAiKKAAJ 10

    10 selected lines.

    SQL > select * from table (dbms_xplan.display_cursor);

    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------
    SQL_ID, 35mwb1b3fpfrh, number of children 0
    -------------------------------------
    Select the rowid, not of t

    Hash value of plan: 3354442786

    --------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    --------------------------------------------------------------------------
    |   0 | SELECT STATEMENT |       |       |       |     1 (100) |          |
    |   1.  INDEX SCAN FULL | T_IDX |    10.    30.     1 (0) | 00:00:01 |
    --------------------------------------------------------------------------

    13 selected lines.

    Actually in this case, I questioned the INDEX

  • Insert text into the clob data type column.

    I want to insert text below in the clob column:

    Create a text (a clob);

    insert into text values (a) (q' [])

    <? XML version = "1.0"? >

    " < xsl: stylesheet version ="1.0"xmlns: xsl = ' http://www.w3.org/1999/XSL/transform ">

    < xsl: output method = withdrawal of "text" = "yes" / >

    <! - declaration of variable for catlogid - >

    < name of xsl: variable = "vrCATALOG_ID" / >

    <! - declaration of variable for group - >

    < name of xsl: variable = "vrGROUP_TOC_ID" / >

    < name of xsl: variable = "vrGROUP_TOC_ALIAS" / >

    < name of xsl: variable = "vrGROUP_TOC_TITLE" / >

    < name of xsl: variable = "vrGROUP_TOC_TITLE_KEY" / >

    < name of xsl: variable = "vrGROUP_TOC_TITLE_TAG" / >

    < name of xsl: variable = "vrGROUP_ORDER" / >

    < name of xsl: variable = "vrGROUP_GRAPHIC_ID" / >

    < name of xsl: variable = "vrGROUP_XT_FILE_NAME" / >

    < name of xsl: variable = "vrGROUP_MAPPING_MARKET" / >

    < name of xsl: variable = "vrGROUP_MAPPING_FAMILY" / >

    < name of xsl: variable = "vrGROUP_MAPPING_LINE" / >

    < name of xsl: variable = "vrGROUP_MAPPING_BODY" / >

    < name of xsl: variable = "vrGROUP_MAPPING_SERIES" / >

    < name of xsl: variable = "vrGROUP_MAPPING_MODELYEAR" / >

    < name of xsl: variable = "vrGROUP_LINE_SHOW" / >

    < name of xsl: variable = "vrGROUP_SERIES_SHOW" / >

    < name of xsl: variable = "vrGROUP_ENGINE_SHOW" / >

    < name of xsl: variable = "vrGROUP_BODY_SHOW" / >

    < name of xsl: variable = "vrGROUP_TRANS_SHOW" / >

    < name of xsl: variable = "vrGROUP_TRIM_SHOW" / >

    < name of xsl: variable = "vrSEQ_LINE_SHOW" / >

    < name of xsl: variable = "vrSEQ_SERIES_SHOW" / >

    < name of xsl: variable = "vrSHOW_VALUE" / >

    <! - declaration of variable for logicalillustrations - >

    < name of xsl: variable = "vrLogIll_TOC_ID" / >

    < name of xsl: variable = "vrLogIll_TOC_ALIAS" / >

    < name of xsl: variable = "vrLogIll_TOC_TITLE" / >

    < name of xsl: variable = "vrLogIll_TOC_TITLE_KEY" / >

    < name of xsl: variable = "vrLogIll_TOC_TITLE_TAG" / >

    < name of xsl: variable = "vrLogIll_GRAPHIC_ID" / >

    < name of xsl: variable = "vrLogIll_XT_FILE_NAME" / >

    < name of xsl: variable = "vrLogIll_MAPPING_MARKET" / >

    < name of xsl: variable = "vrLogIll_MAPPING_FAMILY" / >

    < name of xsl: variable = "vrLogIll_MAPPING_LINE" / >

    < name of xsl: variable = "vrLogIll_MAPPING_BODY" / >

    < name of xsl: variable = "vrLogIll_MAPPING_SERIES" / >

    < name of xsl: variable = "vrLogIll_MAPPING_MODELYEAR" / >

    < name of xsl: variable = "numberLogIll" / >

    <! - declaration of variable for the illustrations - >

    < name of xsl: variable = "vrIll_TOC_ID" / >

    < name of xsl: variable = "vrIll_TOC_ALIAS" / >

    < name of xsl: variable = "vrIll_TOC_TITLE" / >

    < name of xsl: variable = "vrIll_TOC_TITLE_KEY" / >

    < name of xsl: variable = "vrIll_TOC_TITLE_TAG" / >

    < name of xsl: variable = "vrIll_TOC_SUBTITLE" / >

    < name of xsl: variable = "vrIll_GRAPHIC_ID" / >

    < name of xsl: variable = "numberIllus" / >

    < name of xsl: variable = "vrIll_ENGINE" / >

    < name of xsl: variable = "vrIll_TRANSMISSION" / >

    < name of xsl: variable = "vrIll_TRIM" / >

    < name of xsl: variable = "vrIll_MARKET" / >

    < name of xsl: variable = "vrIll_LINE" / >

    < name of xsl: variable = "vrIll_BODY" / >

    < name of xsl: variable = "vrIll_SERIES" / >

    < name of xsl: variable = "vrIll_XT_FILE_NAME" / >

    < name of xsl: variable = "vrIll_NOTE_TXT_KEY" / >

    < name of xsl: variable = "vrIll_NOTE_TXT_TAG" / >

    < name of xsl: variable = "vrIll_MAPPING_FAMILY" / >

    < name of xsl: variable = "vrIll_MAPPING_MODELYEAR" / >

    < name of xsl: variable = "vrIll_NOTE_TXT" / >

    < name of xsl: variable = "vrIll_NOTE_XT_ID" / >

    < name of xsl: variable = "vrIll_NOTE_TOC_ID" / >

    <!--> Declaration of the variable element

    < name of xsl: variable = "vrIt_ITEM_ID" / >

    < name of xsl: variable = "vrIt_SEQUENCE_NBR" / >

    < name of xsl: variable = "vrIt_ITEM_NBR" / >

    < name of xsl: variable = "vrIt_ITEM_TXT" / >

    < name of xsl: variable = "vrIt_ITEM_TXT_KEY" / >

    < name of xsl: variable = "vrIt_ITEM_TXT_TAG" / >

    < name of xsl: variable = "vrIt_NOUN_USAGE1" / >

    < name of xsl: variable = "vrIt_NOUN_USAGE1_KEY" / >

    < name of xsl: variable = "vrIt_NOUN_USAGE1_TAG" / >

    < name of xsl: variable = "vrIt_NOUNDESC_USAGE2" / >

    < name of xsl: variable = "vrIt_NOUNDESC_USAGE2_KEY" / >

    < name of xsl: variable = "vrIt_NOUNDESC_USAGE2_TAG" / >

    < name of xsl: variable = "vrIt_PHYDESC_USAGE3" / >

    < name of xsl: variable = "vrIt_PHYDESC_USAGE3_KEY" / >

    < name of xsl: variable = "vrIt_PHYDESC_USAGE3_TAG" / >

    < name of xsl: variable = "vrIt_USAGE4_KEY" / >

    < name of xsl: variable = "vrIt_USAGE4_TAG" / >

    < name of xsl: variable = "vrIt_INDENT_LEVEL" / >

    < name of xsl: variable = "vrIt_ILLUSTRATED_FLAG" / >

    < name of xsl: variable = "numberItem" / >

    < name of xsl: variable = "numberofParts" / >

    <! - declaration of variable for part - >

    < name of xsl: variable = "numberPart" / >

    < name of xsl: variable = "vrPartMarket" / >

    < xsl: template match = "CATALOG" >

    < name of xsl: variable = "vrCATALOG_ID" >

    < xsl: value-of select = "CATALOG_ID" / >

    < / xsl: variable >

    < xsl: for-each select = "GROUP" >

    < name of xsl: variable = "vrGROUP_TYPE_ID" >

    < xsl: value-of select = "GROUP_TYPE_ID" / >

    < / xsl: variable >

    < name of xsl: variable = "vrGROUP_TOC_ID" >

    < xsl: value-of select = "TOC_ID" / >

    < / xsl: variable >

    < name of xsl: variable = "vrGROUP_TOC_ALIAS" >

    < xsl: value-of select = "TOC_ALIAS" / >

    < / xsl: variable >

    < name of xsl: variable = "vrGROUP_TOC_TITLE" >

    < xsl: value-of select = "TOC_TITLE" / >

    < / xsl: variable >

    < name of xsl: variable = "vrGROUP_TOC_TITLE_KEY" >

    < xsl: value-of select = "TOC_TITLE_KEY" / >

    < / xsl: variable >

    < name of xsl: variable = "vrGROUP_TOC_TITLE_TAG" >

    < xsl: value-of select = "TOC_TITLE_TAG" / >

    < / xsl: variable >

    < name of xsl: variable = "vrGROUP_ORDER" >

    < xsl: value-of select = "GROUP_ORDER" / >

    < / xsl: variable >

    < name of xsl: variable = "vrGROUP_GRAPHIC_ID" >

    < xsl: value-of select = "CHART/GRAPHIC_ID" / >

    < / xsl: variable >

    < name of xsl: variable = "vrGROUP_XT_FILE_NAME" >

    < xsl: value-of select = "CHART/XT_FILE_NAME" / >

    < / xsl: variable >

    < name of xsl: variable = "vrGROUP_MAPPING_MARKET" >

    < xsl: for-each select = "MAPS/MARKET" >

    <!-< xsl: if test = "text (). = "" >-->

    < xsl: value - of select = "concat(MAPPINGS/MARKET,.,'^')" / >

    <!-< / xsl: if >->

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vr_GROUP_CODE_TYPE" >

    < xsl: for-each select = "MAPPINGS" >

    < xsl: for-each select = "*" >

    < xsl: if test = "text (). = "and (name () = 'FAMILY' or name = 'ENGINE' name () = 'LINE' or name () ="MODEL_YEAR"name () = 'TRANSMISSION' or name = 'BODY' or name () = 'TRIM' or name = 'MARKET' () or name () = 'SERIES')" > "

    < xsl: value - of select = "concat (name (),' > > ',.,'^ ')" / >

    < / xsl: if >

    < / xsl: foreach >

    < xsl: text > + < / xsl: text >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vr_GROUP_CODE" >

    < xsl: value-of select = "0" / >

    < / xsl: variable >

    < name of xsl: variable = "vrGROUP_LINE_SHOW" >

    < xsl: value-of select = "LINE_SHOW" / >

    < / xsl: variable >

    < name of xsl: variable = "vrGROUP_SERIES_SHOW" >

    < xsl: value-of select = "SERIES_SHOW" / >

    < / xsl: variable >

    < name of xsl: variable = "vrGROUP_ENGINE_SHOW" >

    < xsl: value-of select = "ENGINE_SHOW" / >

    < / xsl: variable >

    < name of xsl: variable = "vrGROUP_BODY_SHOW" >

    < xsl: value-of select = "BODY_SHOW" / >

    < / xsl: variable >

    < name of xsl: variable = "vrGROUP_TRANS_SHOW" >

    < xsl: value-of select = "TRANS_SHOW" / >

    < / xsl: variable >

    < name of xsl: variable = "vrGROUP_TRIM_SHOW" >

    < xsl: value-of select = "TRIM_SHOW" / >

    < / xsl: variable >

    < name of xsl: variable = "vrSEQ_LINE_SHOW" >

    < xsl: for-each select = "*" >

    < xsl: if test = "text () = 'Y'" >

    < xsl: if test = "name () ="LINE_SHOW"" > LINE_SHOW, < / xsl: if >

    < xsl: if test = "name () ="SERIES_SHOW"" > SERIES_SHOW, < / xsl: if >

    < xsl: if test = "name () ="ENGINE_SHOW"" > ENGINE_SHOW, < / xsl: if >

    < xsl: if test = "name () ="BODY_SHOW"" > BODY_SHOW, < / xsl: if >

    < xsl: if test = "name () ="TRANS_SHOW"" > TRANS_SHOW, < / xsl: if >

    < xsl: if test = "name () ="TRIM_SHOW"" > TRIM_SHOW, < / xsl: if >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < xsl: for-each select = "LOGICAL_ILLUSTRATION" >

    < name of xsl: variable = "numberLogIll" >

    < xsl: Number value = "position()" / >

    < / xsl: variable >

    < name of xsl: variable = "vrLogIll_TOC_ID" >

    < xsl: value-of select = "TOC_ID" / >

    < / xsl: variable >

    < name of xsl: variable = "vrLogIll_TOC_ALIAS" >

    < xsl: value-of select = "TOC_ALIAS" / >

    < / xsl: variable >

    < name of xsl: variable = "vrLogIll_TOC_TITLE" >

    < xsl: value-of select = "TOC_TITLE" / >

    < / xsl: variable >

    < name of xsl: variable = "vrLogIll_TOC_TITLE_KEY" >

    < xsl: value-of select = "TOC_TITLE_KEY" / >

    < / xsl: variable >

    < name of xsl: variable = "vrLogIll_TOC_TITLE_TAG" >

    < xsl: value-of select = "TOC_TITLE_TAG" / >

    < / xsl: variable >

    < name of xsl: variable = "vrLogIll_GRAPHIC_ID" >

    < xsl: value-of select = "CHART/GRAPHIC_ID" / >

    < / xsl: variable >

    < name of xsl: variable = "vrLogIll_XT_FILE_NAME" >

    < xsl: value-of select = "CHART/XT_FILE_NAME" / >

    < / xsl: variable >

    < name of xsl: variable = "vrLogIll_MAPPING_MARKET" >

    < xsl: for-each select = "MAPS/MARKET" >

    <!-< xsl: if test = "text (). = "" >-->

    < xsl: value - of select = "concat(MAPPINGS/MARKET,.,'^')" / >

    <!-< / xsl: if >->

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vr_LICODE_TYPE" >

    < xsl: for-each select = "MAPPINGS" >

    < xsl: for-each select = "*" >

    < xsl: if test = "text (). = "and (name () = 'FAMILY' or name = 'ENGINE' name () = 'LINE' or name () ="MODEL_YEAR"name () = 'TRANSMISSION' or name = 'BODY' or name () = 'TRIM' or name = 'MARKET' () or name () = 'SERIES')" > "

    < xsl: value - of select = "concat (name (),' > > ',.,'^ ')" / >

    < / xsl: if >

    < / xsl: foreach >

    < xsl: text > + < / xsl: text >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vr_LICODE" >

    < xsl: value-of select = "0" / >

    < / xsl: variable >

    < xsl: for-each select = "IMAGE" >

    < name of xsl: variable = "numberIllus" >

    < xsl: Number value = "position()" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIll_TOC_ID" >

    < xsl: value-of select = "TOC_ID" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIll_TOC_ALIAS" >

    < xsl: value-of select = "TOC_ALIAS" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIll_TOC_TITLE" >

    < xsl: value-of select = "TOC_TITLE" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIll_TOC_TITLE_KEY" >

    < xsl: value-of select = "TOC_TITLE_KEY" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIll_TOC_TITLE_TAG" >

    < xsl: value-of select = "TOC_TITLE_TAG" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIll_TOC_SUBTITLE" >

    < xsl: value-of select = "TOC_SUBTITLE" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIll_GRAPHIC_ID" >

    < xsl: value-of select = "CHART/GRAPHIC_ID" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIll_MARKET" >

    < xsl: for-each select = "MAPS/MARKET" >

    <!-< xsl: if test = "text (). = "" >-->

    < xsl: value - of select = "concat(MAPPINGS/MARKET,.,'^')" / >

    <!-< / xsl: if >->

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vr_ICODE_TYPE" >

    < xsl: for-each select = "MAPPINGS" >

    < xsl: for-each select = "*" >

    < xsl: if test = "text (). = "and (name () = 'FAMILY' or name = 'ENGINE' name () = 'LINE' or name () ="MODEL_YEAR"name () = 'TRANSMISSION' or name = 'BODY' or name () = 'TRIM' or name = 'MARKET' () or name () = 'SERIES')" > "

    < xsl: value - of select = "concat (name (),' > > ',.,'^ ')" / >

    < / xsl: if >

    < / xsl: foreach >

    < xsl: text > + < / xsl: text >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vr_ICODE" >

    < xsl: value-of select = "0" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIll_XT_FILE_NAME" >

    < xsl: value-of select = "CHART/XT_FILE_NAME" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIll_NOTE_TXT" >

    < xsl: value-of select = "NOTES/NOTE_TXT" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIll_NOTE_XT_ID" >

    < xsl: value-of select = "NOTES/XT_ID" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIll_NOTE_TOC_ID" >

    < xsl: value-of select = "NOTES/TOC_NOTE_ID" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIll_NOTE_TXT_KEY" >

    < xsl: value-of select = "NOTES/NOTE_TXT_KEY" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIll_NOTE_TXT_TAG" >

    < xsl: value-of select = "NOTES/NOTE_TXT_TAG" / >

    < / xsl: variable >

    < xsl: for-each select = "ITEM" >

    < name of xsl: variable = "numberItem" >

    < xsl: Number value = "position()" / >

    < / xsl: variable >

    < name of xsl: variable = "numberofParts" >

    < xsl: value - of select = "count (descendant::PART)" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_ITEM_ID" >

    < xsl: value-of select = "ITEM_ID" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_SEQUENCE_NBR" >

    < xsl: value-of select = "SEQUENCE_NBR" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_ITEM_NBR" >

    < xsl: value-of select = "ITEM_NBR" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_ITEM_TXT_KEY" >

    < xsl: value-of select = "ITEM_TXT_KEY" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_ITEM_TXT_TAG" >

    < xsl: value-of select = "ITEM_TXT_TAG" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_ITEM_TXT" >

    < xsl: value-of select = "ITEM_TXT" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_NOUN_USAGE1" >

    < xsl: value-of select = "NOUN_USAGE1" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_NOUN_USAGE1_KEY" >

    < xsl: value-of select = "NOUN_USAGE1_KEY" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_NOUN_USAGE1_TAG" >

    < xsl: value-of select = "NOUN_USAGE1_TAG" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_NOUNDESC_USAGE2" >

    < xsl: value-of select = "NOUNDESC_USAGE2" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_NOUNDESC_USAGE2_KEY" >

    < xsl: value-of select = "NOUNDESC_USAGE2_KEY" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_NOUNDESC_USAGE2_TAG" >

    < xsl: value-of select = "NOUNDESC_USAGE2_TAG" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_PHYDESC_USAGE3" >

    < xsl: value-of select = "PHYDESC_USAGE3" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_PHYDESC_USAGE3_KEY" >

    < xsl: value-of select = "PHYDESC_USAGE3_KEY" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_PHYDESC_USAGE3_TAG" >

    < xsl: value-of select = "PHYDESC_USAGE3_TAG" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_USAGE4_KEY" >

    < xsl: value-of select = "USAGE4_KEY" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_USAGE4_TAG" >

    < xsl: value-of select = "USAGE4_TAG" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_INDENT_LEVEL" >

    < xsl: value-of select = "INDENT_LEVEL" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_ILLUSTRATED_FLAG" >

    < xsl: value-of select = "ILLUSTRATED_FLAG" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_REQUIRED_FLAG" >

    < xsl: value-of select = "ITEM_APPLICATION/REQUIRED_FLAG" / >

    < / xsl: variable >

    < name of xsl: variable = "vrIt_SERVICEABLE_FLAG" >

    < xsl: value-of select = "ITEM_APPLICATION/SERVICEABLE_FLAG" / >

    < / xsl: variable >

    < xsl: for-each select = "PARTY" >

    < name of xsl: variable = "numberPart" >

    < xsl: Number value = "position()" / >

    < / xsl: variable >

    < name of xsl: variable = "vrPartChild" >

    < xsl: value - of select = "count (*)" / >

    < / xsl: variable >

    < name of xsl: variable = "vrPartU1" >

    < xsl: value-of select = "NOUN_USAGE1" / >

    < / xsl: variable >

    < name of xsl: variable = "vrPartU2" >

    < xsl: value-of select = "NOUNDESC_USAGE2" / >

    < / xsl: variable >

    < name of xsl: variable = "vrPartU3" >

    < xsl: value-of select = "PHYDESC_USAGE3" / >

    < / xsl: variable >

    < name of xsl: variable = "vrPartTxt" >

    < xsl: value-of select = "ITEM_TXT" / >

    < / xsl: variable >

    < name of xsl: variable = "vrPartMarket" >

    < xsl: for-each select = "ON" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat(MARKET,.,'^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vr_PMARKET" >

    < xsl: for-each select = "ON" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat('M','^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vrPartEngine" >

    < xsl: for-each select = "ENGINE" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat(ENGINE,.,'^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "var_PENGINE" >

    < xsl: for-each select = "ENGINE" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat('E','^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vrPartBody" >

    < xsl: for-each select = "BODY" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat(BODY,.,'^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "var_PBODY" >

    < xsl: for-each select = "BODY" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat('B','^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vrPartLine" >

    < xsl: for-each select = "LINE" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat(LINE,.,'^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "var_PLINE" >

    < xsl: for-each select = "LINE" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat('L','^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vrPartTrim" >

    < xsl: for-each select = "TRIM" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat(TRIM,.,'^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "var_PTRIM" >

    < xsl: for-each select = "TRIM" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat('R','^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vrPartTrimColor" >

    < xsl: for-each select = "TRIM_COLOR" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat(TRIM_COLOR,.,'^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "var_PTRIMCOLOR" >

    < xsl: for-each select = "TRIM_COLOR" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat('C','^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vrPartTrimExt" >

    < xsl: for-each select = "TRIM_EXTERIOR" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat(TRIM_EXTERIOR,.,'^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "var_PTRIMEXT" >

    < xsl: for-each select = "TRIM_EXTERIOR" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat('X','^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vrPartSeries" >

    < xsl: for-each select = "SERIES" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat(SERIES,.,'^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "var_PSERIES" >

    < xsl: for-each select = "SERIES" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat('Z','^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vrPartTrans" >

    < xsl: for-each select = "TRANS" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat(TRANS,.,'^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "var_PTRANS" >

    < xsl: for-each select = "TRANS" >

    < xsl: if test = "text (). = "" >

    < xsl: value - of select = "concat('T','^')" / >

    < / xsl: if >

    < / xsl: foreach >

    < / xsl: variable >

    < name of xsl: variable = "vrPartFamily" >

    < xsl: value - of select = "concat(/CATALOG/APPLICATIONS/FAMILY,'^')" / >

    < / xsl: variable >

    < name of xsl: variable = "var_PFAMILY" >

    < xsl: value - of select = "concat('F','^')" / >

    < / xsl: variable >

    < name of xsl: variable = "vrPartModelYear" >

    < xsl: value - of select = "concat(/CATALOG/APPLICATIONS/MODEL_YEAR,'^')" / >

    < / xsl: variable >

    < name of xsl: variable = "var_PYEAR" >

    < xsl: value - of select = "concat('Y','^')" / >

    < / xsl: variable >

    < name of xsl: variable = "vr_PCODE_TYPE" >

    < xsl: value - of select = "concat($var_PBODY,$var_PTRIMCOLOR,$var_PENGINE,$var_PFAMILY,$var_PLINE,$vr_PMARKET,$var_PTRIM,$var_PTRANS,$var_PTRIMEXT,$var_PYEAR,$var_PSERIES)" / >

    < / xsl: variable >

    < name of xsl: variable = "vr_PCODE" >

    < xsl: value - of select = "concat ($vrPartBody, $vrPartTrimColor, $vrPartEngine, $vrPartFamily, $vrPartLine, $vrPartMarket, $vrPartTrim, $vrPartTrans, $vrPartTrimExt, $vrPartModelYear, $vrPartSeries)" / >

    < / xsl: variable >

    < name of xsl: variable = "varITEM_SALES_CODES" >

    < xsl: value-of select = "ITEM_SALES_CODES" / >

    < / xsl: variable >

    < xsl: value-of select = "$vrCATALOG_ID" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "/ CATALOGUE/APPLICATIONS/MODEL_YEAR" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "/ CATALOGUE/APPLICATIONS/FAMILY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrGROUP_TOC_ID" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrGROUP_TOC_ALIAS" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrGROUP_TOC_TITLE_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrGROUP_TOC_TITLE_TAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrGROUP_ORDER" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrLogIll_TOC_ID" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrLogIll_TOC_ALIAS" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrLogIll_TOC_TITLE" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrLogIll_TOC_TITLE_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrLogIll_TOC_TITLE_TAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIll_TOC_ID" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIll_TOC_ALIAS" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIll_TOC_TITLE" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIll_TOC_TITLE_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIll_TOC_TITLE_TAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIll_TOC_SUBTITLE" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIll_NOTE_TXT_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIll_NOTE_TXT_TAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIll_GRAPHIC_ID" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIll_XT_FILE_NAME" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_ITEM_ID" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_ITEM_NBR" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_ITEM_TXT_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_ITEM_TXT_TAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_ITEM_TXT" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_NOUN_USAGE1" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_NOUN_USAGE1_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_NOUN_USAGE1_TAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_NOUNDESC_USAGE2" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_NOUNDESC_USAGE2_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_NOUNDESC_USAGE2_TAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_PHYDESC_USAGE3" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_PHYDESC_USAGE3_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_PHYDESC_USAGE3_TAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_USAGE4_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_USAGE4_TAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_INDENT_LEVEL" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_ILLUSTRATED_FLAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "ITEM_ID" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "PART_NBR" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "PART_NBR_FORMAT" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "QUANTITY" / >

    < xsl: text > | < / xsl: text >

    < xsl: choose >

    < template test = "$numberofParts = 1 and $vrPartU1 =" and $vrPartU2 = "and $vrPartU3 =" and $vrPartTxt = "and $vrPartChild! = 0 ">

    < xsl: value-of select = "$vrIt_NOUN_USAGE1" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_NOUNDESC_USAGE2" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_PHYDESC_USAGE3" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_ITEM_TXT" / >

    < / xsl: When >

    < xsl: otherwise >

    < xsl: value-of select = "$vrPartU1" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrPartU2" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrPartU3" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrPartTxt" / >

    < / xsl: otherwise >

    < / xsl: choose >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "USAGE_SOURCE" / >

    < xsl: text > | < / xsl: text >

    < xsl: choose >

    < template test = "$varITEM_SALES_CODES =" ">."

    < xsl: text > ST < / xsl: text >

    < / xsl: When >

    < xsl: otherwise >

    < xsl: value-of select = "$varITEM_SALES_CODES" / >

    < / xsl: otherwise >

    < / xsl: choose >

    < xsl: text > | < / xsl: text >

    < xsl: choose >

    < template test = "$numberofParts = 1 and $vrPartU1 =" and $vrPartU2 = "and $vrPartU3 =" and $vrPartTxt = "and $vrPartChild! = 0 ">

    < xsl: value-of select = "$vrIt_NOUN_USAGE1_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_NOUN_USAGE1_TAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_NOUNDESC_USAGE2_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_NOUNDESC_USAGE2_TAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_PHYDESC_USAGE3_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_PHYDESC_USAGE3_TAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_ITEM_TXT_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_ITEM_TXT_TAG" / >

    < / xsl: When >

    < xsl: otherwise >

    < xsl: value-of select = "NOUN_USAGE1_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "NOUN_USAGE1_TAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "NOUNDESC_USAGE2_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "NOUNDESC_USAGE2_TAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "PHYDESC_USAGE3_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "PHYDESC_USAGE3_TAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "ITEM_TXT_KEY" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "ITEM_TXT_TAG" / >

    < / xsl: otherwise >

    < / xsl: choose >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "SEQUENCE_NBR" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrGROUP_TOC_TITLE" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_SEQUENCE_NBR" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrGROUP_GRAPHIC_ID" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrGROUP_XT_FILE_NAME" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrLogIll_GRAPHIC_ID" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrLogIll_XT_FILE_NAME" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$numberIllus" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$numberItem" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$numberPart" / >

    < xsl: text > | < / xsl: text >

    < xsl: choose >

    < template test = "$vrPartChild = 0" > ".

    < xsl: value-of select = "$vrPartChild" / >

    < / xsl: When >

    < xsl: otherwise >

    < xsl: value-of select = "$numberofParts" / >

    < / xsl: otherwise >

    < / xsl: choose >

    < xsl: text > | < / xsl: text >

    < xsl: choose >

    < template test = "substring($vrGROUP_MAPPING_MARKET,1,1) ='^ '" > ".

    < xsl: text > < / xsl: text >

    < / xsl: When >

    < template test = "contains($vrGROUP_MAPPING_MARKET,'^^')" >

    < xsl: text > < / xsl: text >

    < / xsl: When >

    < xsl: otherwise >

    < xsl: value-of select = "$vrGROUP_MAPPING_MARKET" / >

    < / xsl: otherwise >

    < / xsl: choose >

    <!-< xsl: value-of select = "$vrGROUP_MAPPING_MARKET" / >-->

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vr_GROUP_CODE_TYPE" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vr_GROUP_CODE" / >

    < xsl: text > | < / xsl: text >

    < xsl: choose >

    < template test = "substring($vrIll_MARKET,1,1) ='^ '" > ".

    < xsl: text > < / xsl: text >

    < / xsl: When >

    < template test = "contains($vrIll_MARKET,'^^')" >

    < xsl: text > < / xsl: text >

    < / xsl: When >

    < xsl: otherwise >

    < xsl: value-of select = "$vrIll_MARKET" / >

    < / xsl: otherwise >

    < / xsl: choose >

    <!-< xsl: value-of select = "$vrIll_MARKET" / >-->

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vr_ICODE_TYPE" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vr_ICODE" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$numberLogIll" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrPartMarket" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vr_PCODE_TYPE" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vr_PCODE" / >

    < xsl: text > | < / xsl: text >

    < xsl: value - of select = "substring($vrIll_NOTE_TXT,1,3999)" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIll_NOTE_XT_ID" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIll_NOTE_TOC_ID" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrGROUP_LINE_SHOW" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrGROUP_SERIES_SHOW" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrGROUP_ENGINE_SHOW" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrGROUP_BODY_SHOW" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrGROUP_TRANS_SHOW" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrGROUP_TRIM_SHOW" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrSEQ_LINE_SHOW" / >

    < xsl: text > | < / xsl: text >

    <!-< xsl: value-of select = "$vrLogIll_MAPPING_MARKET" / >-->

    < xsl: choose >

    < template test = "substring($vrLogIll_MAPPING_MARKET,1,1) ='^ '" > ".

    < xsl: text > < / xsl: text >

    < / xsl: When >

    < template test = "contains($vrLogIll_MAPPING_MARKET,'^^')" >

    < xsl: text > < / xsl: text >

    < / xsl: When >

    < xsl: otherwise >

    < xsl: value-of select = "$vrLogIll_MAPPING_MARKET" / >

    < / xsl: otherwise >

    < / xsl: choose >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vr_LICODE_TYPE" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vr_LICODE" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_SERVICEABLE_FLAG" / >

    < xsl: text > | < / xsl: text >

    < xsl: value-of select = "$vrIt_REQUIRED_FLAG" / >

    < xsl: text > # < / xsl: text >

    < / xsl: foreach >

    < / xsl: foreach >

    < / xsl: foreach >

    < / xsl: foreach >

    < / xsl: foreach >

    < / xsl: template >

    [< / xsl: stylesheet >]';

    I am getting error below.

    [Error] Execution (2: 1): ORA-01704: string literal too long.

    Please help me on this

    You cannot insert more than 4000 characters. Use Pl/SQL as below

    DECLARE

    Str VARCHAR2 (32767).

    BEGIN

    Str: =.

    q']

    http://www.w3.org/1999/XSL/transform">

       

     

     

     

     

     

     

     

     

    ++

     

     

     

     

     

     

          

    LINE_SHOW,

    SERIES_SHOW,

    ENGINE_SHOW,

    BODY_SHOW,

    TRANS_SHOW,

    TRIM_SHOW,

                  

      

     

     

    ++

      

                  

       

           

     

    ++

                  

                  

                          

                  

                   

                   

                   

                   

                   

     

     

          

     

          

          

          

          

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    ST

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    |

    #####

    ]';

    INSERT IN the text (A)

    VALUES (str);

    END;

  • Date type column cannot be sorted in Discoverer Plus report

    Hi gurus,

    I have a situation here. I developed a relationship with the transferor, Created_by, Creation_date table gl_je_headers. I am able to get the data I want in the report and it works fine.

    But, when I want to sort date_creation high to low or low to high, it does not work...

    Any help would be appreciated.

    Thank you
    SAI

    Hello

    What is a table or PivotTable report?

    First, edit the spreadsheet, goto to the sort tab, then make sure that the date of creation is at the top of the list of sorted items.

    If this does not work, see the SQL code to the Inspector in SQL and verify that the fields are in ORDER BY the end of the SQL. The creation date field must be the first field in the order of.

    Rod West

  • Changing data in the undo tablespace or db Oracle buffer cache

    Hello

    I have serious doubt in the feature of oracle architecture, when a user issues an update statement, the data blocks are transported to the db buffer cache and where the data changes are made? Made a copy data block is stored in the cache db pads and the changes are made to the block in the buffer cache? or the copy of the data block is stored in the undo tablespace and changes are made to the blocks in the undo tablespace?

    In singles, the changes to the data blocks are make to the db or undo tablespace buffer cache?


    Thanks in advance

    Kind regards
    007

    Did you have a look to the Internet for the answer?

    In short, if a trial Oracle wants to update a record in the table, it does:

    -Read the record to be changed in the buffercache
    -Audits (the record already locked, is the update allowed)
    -Put the folder (called image before) in a rollback in the UNDO tablespace segment
    -Writing redo information about this change in the UNDO tablespace
    -Lock the record
    -Write the change in registration in the buffer cache
    -Put the change also in the redo buffer
    S ' sit and wait... (for a commit or a rollback)

    When are committed:
    -Release the lock
    -Empty folder of restoration since the UNDO tablespace
    -Write a record of this change forward in the UNDO tablespace

    When rollback:
    -Release the lock
    -Rinse the record changed the buffercache
    -Read the original value
    -Empty folder of restoration since the UNDO tablespace
    -Write a record of this change forward in the UNDO tablespace

    It of here, some more specific complexity when a checkpoint occurs between the change and the commit / rollback or redo buffer has been emptied for redo files

    Please any other s/n, correct me if I'm wrong...

    See you soon
    FJFranken

  • Change the Data Type of column on large partitioned Table Tablet

    Hello

    I was tasked to change a certain NUMBER of collar to a colonel VARCHAR2

    It is usually an easy task, but I ran into several challenges due to the size of the table, the second major problem is the compression of the table.

    To begin with, the Table and index are 4.4 to and hold around 11 lines billion. That the Table is compressed, not the index.

    The first option was to add a new collar of VCHAR, update from the Col de NUM, file and then drop the colonel NUM


    We ran this test in the Test environment and because discovered Compression Table that you can only mark the column is not used, and it can only be moved permanently from the Table if you unzip the whole Table and run «...» REMOVE the UNUSED COLUMNS'.

    The second way is to create a separate Table copy with the values of the source of neck, then write to null to the source of neck, change data Type when its empty and then update the source again with the copy Table values.

    The second option, that's what I'm testing, but I work with nearly 30 million lines by daily score, inserts take very long to fill.

    How can I make faster inserts between the Source and the copy Table?

    What other channels follow to accomplish the task above?

    Concerning

    Stephan

    Nowhere in your proposed solution was necessary for you to understand why the data source changes, its as simple that to take what is ons the table (all the facts in the original post) and offering the best way on the basis of previous experience or oracle skills acquired over time.

    If you spent so much time and thought to help with a solution that you did on WHY complain, you could have provided some feasible solutions already.

    No thanks to your information irrelevant and unnecessary, I've implemented a solution already.

    1 export the Source Table

    2. create a 'replica Table' using the DDL source using a temporary table name

    3. import all Partitions in the Table new

    4. before the Cut-Over, synchronize the changes from the Source to the replica Table

    5 rename the Source

    5 rename the Table of replica for the Original Source Table name

    6. slide the original Source Table

Maybe you are looking for

  • 2 sided with HP PHOTOSMART 5520 e and Mavericks

    I can not put 2-sided on my Photosmart 5520e for Word documents. I'm sure I've seen this option previously in my Menu print but it cannot access it now.

  • Satellite L300-2CP - video via dongle for TV

    I have a Satellite L300-2CP, a Toshiba Regza 37RV753 37' LCD TV and a Toshiba WLM-10U2 dual band LAN adapter I can't play videos from MY VIDEOS on my laptop, via dongle WIFI on TV according to the instructions in the user guide. I have my computer ne

  • HP compaq 8200 elite SFF graphic settings

    I have HP compaq 8200 elite SFF and only intel dedicated hd graphics 2000 which says that I have only 32 MB of ram, how do I increase it? I tried to get into the BIOS but I can't change it whatever it is, not even overclock my processor, is there a s

  • CQ61-355sq compatible cpuss

    Hello I own a laptop CQ61-355SQ Compaq with a intel T6600 CPU and I want to update something better. Where could I find a list of supported processors? I have updated all the drivers including BIOS (Insydeh20 F.23 rev., 3.5). Thank you.

  • Cannot install Picture It 2000

    My old computer died, and the most recent that I got, which also has XP Home Edition sp3, does not allow me to install Picture It 2000. I works 2006 installed as well. Tried to uninstall Ie8, computer switches automatically back to Ie7 and still won'