Table 1 d Split in 2d

Hello

I want to divide a table 1 d of paths in a 2d array. Attached, I have a copy of my path-table 1 d. The aim should be that all the filenames without extensions are in a line. For example: 1st row: .bst 00124241-, 00124241 - .dat, 00124241 - .by 2nd row: .dat .by 00124244-, 00124244-- and so on. My static solution for those who can't handle a file type missing due to the modulo function of file types.

Someone at - it an idea?

Kind regards

--
Joachim

Try something like that. Modify if needed.

Tags: NI Software

Similar Questions

  • The tables and then splitting wrapping them (liquid)

    Just a simple question on here, is there away from separate data from the table for a web application? A perfect example would be when you create a check box form field. When the output data, it's just a unique string that looks like this "Ryan, Ashley, Melissa. Would be, I would like to do is to separate the data and then wrap with a < li >.

    I created the JQuery version of what works, but I'd like to see if it is far to do with liquid, as I'm new to the platform.

    
    
    

    {$('.padt20') .find ('ul') .each (function ()}

    var $this = $(this);

    Var words = $this.text () .split (",");

    var text = words.join ("< /li > < li > < class i ="fa fa-review"style =" margin-right: 10px; color: #F26228;) "" > < / i > ");"

    $this.html ("< li >" + "< i class ="fa fa-review"style =" margin-right: 10px; color: #F26228;) "" > < / i > "+ text +"< /li >");"

    });

    <ul>{{ArrayTag}}</ul>
    

    HI Ryan

    If we call to the output string "formdata", then all you have to do is

    {{formdata | divided: ","}}

    to get a table and then just loop through it:

    {% assign array formdata = | split: ',' %}}

    {% for me in table-%}

  • {{ i }}
  • {% endfor %}

    You must create a first variable because it will not work if you try to split in the loop for

    To bookmark this - the Developer Reference

    It provides a pretty good overview of what is available in cash & a lot of other things besides. I use it all the time.

  • Lively table consist of Split String?

    I have a question; is it possible to animate a table that contains a string of split? I added the channel in a dynamically done textfield, and I try to figure out how to have each letter will appear one by one, creating the effect of typing and acceleration towards the end... thanks a lot for all the help in advance.

    SerializableAttribute public class InfoPage extends AbstractPage {}

    private var _info:TextField;
    private var _infoText:String = "Lorem ipsum dolor sit amet, adipiscing elit computer. UT id orci at 195kgs porttitor ipsum. Donec pulvinar purus eget laoreet placerat, sem, dignissim ut auctor libero nisl is justo ac dui. Proin vel libero lectus, lacinia vel massa. Integer eget sapien ac massa lacinia non eros nec mattis. Vivamus ac lacus had convallis malesuada arcu. Amongst leo tincidunt id, posuere vel, bibendum metus malesuada metus. Praesent in sapien, nisi ut sollicitudin odio. Aenean sit amet lorem in eros laoreet congue. Nam tincidunt eros ac faucibus blandit arcu. Morbi pulvinar dui ante no congue in MPCs dapibus neque. Integer tellus and adipiscing placerat ligula eleifend. Nullam nibh nulla, sold had congue sed, pharetra magna EU. Nunc purus, dictum vitae, the ultrices blandit volutpat total had turpis. In euismod faucibus tristique. Amongst eget diam urna. DUIs sem and tincidunt facilisis quis, blandit tempus nunc ligula. Suspendisse sed lectus sit amet quam, eleifend commodo. « ;
    private var _infoArray:Array = _infoText.split("");

    public void InfoPage() {}

    createText();

    for (var i = 0; i < _infoArray.length; i ++) {}
    trace (_infoArray [i]);
    TweenLite.to (_infoArray [i], 1, {alpha: 1, ease:Cubic.easeOut});})
    }

    }

    private function createText (): void {}

    var _font: make = new Font();
    var _tf:TextFormat = new TextFormat();
    _tf.font = _font.fontName;
    _tf. Size = 14;
    _tf. Color = 0 x 333333;
    _tf. Leading = 3;

    _info = new TextField();
    _info. Name = "info";
    _info.defaultTextFormat = _tf;
    _info.antiAliasType = AntiAliasType.ADVANCED;
    _info.embedFonts = true;
    _info.WordWrap = true;
    _info. Multiline = true;
    _info. Selectable = false;
    _info. Text = _infoText;
    _info.x = 10;
    _info.y = 116;
    _info. Width = 800;
    _info. Height = 400;

    addChild (_info);



    }
    }
    }

    1 make sure that your textfield is added to the displaylist.

    2. make sure that your fla is published for actionscript 3.

    3 use:

    private void typeText(e:Event) {}
    index ++;
    If (index<_infoText.length)>
    _info. AppendText (_infoText.charAt (index));
    } else {}
    removeEventListener (Event.ENTER_FRAME, typeText);
    }
    }

  • How add us partition on an existing table?

    Hi gurus,

    What would be the best way to add a partition to an existing table?

    Is there a simple documentation for example?

    Thank you

    What would be the best way to add a partition to an existing table?

    Is there a simple documentation for example?

    Was it something you were ask in an interview?

    You cannot add a partition to a table unless this table is a partitioned table.

    The table is already partitioned? If so, after the DDL.

    The Oracle documentation has examples of adding partitions to a table that is already partitioned

    Partition management

    Adding Partitions

    This section explains how to manually add partitions of a partitioned table and explains why partitions can be added specifically for partitioned more indexes.

    Adding a Partition to a partitioned Table range

    Use of the ALTER TABLE ... ADD PARTITION statement to add a new partition at the end 'high' (the point after the last existing partition). To add a partition at the beginning or in the middle of a table, use the SPLIT PARTITION clause.

  • text in table fields

    I'm trying to do a Hangman style game.i have 33 on my stage like that dynamic text fields.

    I've analyzed all the fields of text line-by-line in the 3 tables.

    I also analyzed my 3 words in 3 tables with the split method so I can check later if the letter that the selected user exists.

    in the section when the game starts and the user selects a letter that I can check if the letter exists in my first word table cannot display it on current textfield on my stage.

    I get the following error: ReferenceError: Error #1056: cannot create text String property.

    I guess when I analyzed the textfields into tables, they have gotten automatically channels. And I can't do for example:

    firstwordarray is the table where I analyzed my first word with the split method.

    letterchosentxt is the textfield when the user selects a letter.

    firstArray is the table where I analyzed the first row (11) of the text fields.

    for (var p:uint = 0; p < firstwordarray.length; ++ p)

    {

    If (letterchosentxt. Text is firstwordarray [p])

    {

    firstArray [p] .text = letterchosentxt.text;

    break;

    }

    }

    Thanks in advance.

    Yes, because you not assign the textfields but only their text property (these are two different things)

    However, you could put a textfield named "textfield1" in a table

    either with:

    Array.push (TextField1)

    or with

    Array [0] = textfield1

    It is important to mention that put a displayobject into a table, does nothing visibly to the displayobject, but only provides a method to easily reference.

  • Question about "split partition" command

    Hello

    I have the following partitioned table...

    CREATE TABLE trans_tab
    (

    TRANS_ID number (10),
    DATE OF TRANS_DATE,
    CONSTRAINT PK_TRNS_ID PRIMARY KEY (TRANS_ID))
    PARTITION BY RANGE (TRANS_DATE)
    (PARTITION TRANS_2010 VALUES LESS THAN (TO_DATE ("2010-10-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '")) TABLESPACE TRANS_2010,)
    PMAX VALUES LESS THAN (MAXVALUE) TABLESPACE TRANS_MAX PARTITION);

    Now, I intend to add a partition, as shown below...

    ALTER table split partition pmax trans_tab at (TO_DATE (' 2012-10-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN ')) in (2012 partition, partition pmax);


    The command above split partition worked well and ended quickly in the TEST environment which had only 100 records. I now intend to do in the production, which has about 90 MM records in the table. Here are my questions...

    (1) I will try to find how long would the "split partition" command to run into a table that has ~ 90 mm record table the command "split partition" to physically move the records or just logically to remap the records to the appropriate partition? If it is logical remapping, I guess that the split command would complement quickly even against a huge table... Could check you?

    (2) in the TEST environment, I checked the non partitioned status of the global and the local index after splitting the partiton and they look good? Should I be rebuild the index after splitting the partition?

    Thanks for your time...

    Assuming he has no line of 2012 year in partition PMAX, the SPLIT would create a vacuum PMAX anew. However, it has the maximum value of TRANS_DATE in the PMAX partition - so he must sweep the partition (or use a LOCAL index on the partition, if available). Therefore, depending on how it can identify lines, it may take a little time.

    I think that the current PMAX partition is not empty (that is, it has lines of 2011). As a result, a SPLIT will cause GLOBAL Indexes to score UNUSABLE unlesss you use the UPDATE GLOBAL INDEXES.

    Was your test with the actual number of lines to PMAX?

    Hemant K Collette

  • Create a table with a thinner than the source table granulaty

    Hello
    I had a problem. I have a source table that has vacation date / period for employees inside. I want to create a table where I "split" the period of vacation days for each employee.
    Example:
    Holiday table:
    Name - Holiday beginning - end of holiday
    Mr.X - 1.1.2011 - 5.1.2011
    Mr.Y - 2.5.2011 - 3.5.2011

    -> new table:
    Name - Day of vacation
    Mr.X - 1.1.2011
    Mr.X - 2.1.2011
    Mr.X - 3.1.2011
    Mr.X - 4.1.2011
    Mr.X - 5.1. 2011

    and so on
    Is there an operator or something else with which I could create the new table? I use OWB 11 GR 2

    THX

    Hello
    Join your source table to another table that contains all the dates (for example, you can use time dimension in OWB):

    Select vt.name, d.date_value in the vacation_table, vt, dates_tab d vacation_day
    where d.date_value between vt.vacation_start and vt.vacation_end

    Kind regards
    Oleg

  • Table header to repeat on each page

    Hello
    I need and can be a municipality. I built a rtf model for orders to the output to PDF. I have a header table and the secondary table in the model. If there is more detail the secondary table record get extended to the next page, but not the header. I've coded something like below:

    for each: g_header

    < header_table >

    for each: g_lines
    < detail_table >

    end foreach

    end foreach




    If I change something as below:

    for each: g_header
    for each: g_lines

    < header_table >


    < detail_table >

    end foreach

    end foreach


    He repeats the tables for each detail line. I want to repeat on each page, the header section. In my view, it is a general question. If anyone knows anything, please help.
    Thank you.

    The post above describes how to repeat the header row, in each table that is split over several pages. But if you want that the table header itself to repeat the acoss pages, I suggest that you include the table header in the header section of the report so that it is on every page. You can also use a submodel containing the header and call the subtemplate where you want the table to appear... and not to do you know not XSL :-)

  • Impact of setting the interval partitioning off and then on again

    Hi all

    Have discovered that to split the partitions of a partitioned table Beach-interval, in that we need to define the partitioning interval all issue the command split then on again.

    e, g.

    ALTER TABLE retailer_transaction SET INTERVAL ();

    ALTER TABLE POR2_retailer_transaction

    SPLIT PARTITION PART_400012 AT (TO_DATE (' 2020-09-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '))

    INTO (PARTITION PART_202008,

    PART_400012 PARTITION)

    ALTER TABLE retailer_transaction SET INTERVAL (NUMTOYMINTERVAL(1,'MONTH'))

    Everything we need to pay attention to that?

    Using oracle 11.2.0.3

    Thank you

    You can NOT split the LAST (most HIGH_VALUE) partition of a partitioned table interval interval. You can only separate partitions BEFORE the last. Which converts also all partitions from the bottom (split and below) for the partitions of the RANGE.

    If interval partitioning will only apply to data added above the transition point (the score higher.

    To return to your original question. To split the LAST interval follow the procedure described in your original post

    1. range partitioning

    2 split the partitioning

    3 set the partitioning interval on

    Conclusion with this however when adding data back to a nine month doesn't automatically create the partition again.

    This "new month" MUST BE above the point of passage for a new partition to create. In your code example, this point of transition is for the year 4000.

    This works very well for me:

    ALTER TABLE sales PARTITION RENAME SYS_P1122 to SALE_400012

    ALTER TABLE sale SET INTERVAL ();

    ALTER TABLE SPLIT PARTITION for sale

    SALE_400012 TO (TO_DATE('01/02/2020','DD/MM/YYYY')) IN

    (

    SALE_202001 PARTITION,

    SALE_400012 PARTITION

    );

    ALTER TABLE sale SET INTERVAL (NUMTOYMINTERVAL(1,'MONTH'))

    INSERT INTO sales

    (SALES_DATE, STORE_NUM, QTY_SOLD)

    values (to_date('31/12/4001','DD/,MM/YYYY'), 1, 10);

    This last INSERT statement above creates a NEW partition because the date (31/12/4001) is above the transition point.

    Looks like you want to move the transition point downwards. That is - you were using this year there date of 4000 as a 'catch all '.

    1. set the partitioning interval

    2 split that last partition into two NEW partitions (new names) by using a VALUE that is high enough to contain ALL the data you have in this last partition.

    3. remove the last partition - it should now be empty

    4. turn on range partitioning

    Now, any data that you insert above this NEW point of transition (the limit that you used for the new partition) it will create a new partition of the interval. Make sure the border is really an end of month, if that's what you want.

    If your data sample had this

    INSERT INTO sales

    (SALES_DATE, STORE_NUM, QTY_SOLD)

    values (to_date('05/10/2016','DD/,MM/YYYY'), 1, 10);

    INSERT INTO sales

    (SALES_DATE, STORE_NUM, QTY_SOLD)

    values (to_date('31/12/4000','DD/,MM/YYYY'), 1, 10);

    So for the step #2 above use split date 06/2016 so that the line above for 10/05/2106 goes to the new partition and 12/31/4000 stays in the old.

    Then, drag this old and lines in it (31/12/4000).

    You can NOT split the last partition if interval is always on because it is the last partition interval.

    And as long as you have given for 12/31/4000, you will get no new partitions unless you insert was more TOP than this.

    So if you want partitioning interval to activate again 06/2016 that higher data would be deleted and the score he falls.

    You have discovered only among "traps" with the help of partitioning of the interval. Oracle will happily create new partition needed to keep the data. If ANYONE, even accidentally, between a date as 12/31/4000 that nobody would ever know until the new data seem to DISAPPEAR for some use cases.

    This is because all data will start to enter this new partition ACCIDENTALLY created instead of a partition for the month, it's part.

    And, and you have discovered, you cannot split this partition directly.

    Delayed segment creation can allow you to pre-create the partitions ahead without actually affecting the segment for them until the first row is inserted.

    Interval partitioning will create the appropriate partitions but not if someone accidentally or intentionally, data will be a valuable capitalized in the table.

  • 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.

  • ODI CBC to tgt

    I have a requirement to move 100 reviews source to target because 100 90 records are good and remaining are bad, I want to spend 90 records in a single target and remaining in another target. How to differentiate in this total records, please help me

    Thanks in advance

    Depending on what you want and what you need:

    (1) in ODI there are several types of constraints: key, references and conditions. You can, for example, to create a condition and make ODI automatically isolate the (unwanted) incorrect records in the table in its table of error:

    CREATE TABLE MY_SOURCE
    (
        "ID"        NUMBER(6,0) PRIMARY KEY,
        "SOMETHING" VARCHAR2(5)
    );
    
    CREATE TABLE MY_TARGET
    (
        "ID"        NUMBER(6,0) primary key,
        "SOMETHING" VARCHAR2(5)
    );
    
    INSERT INTO MY_SOURCE
    SELECT n , cc
    FROM
    ( SELECT rownum n, concat('c',rownum) cc FROM dual CONNECT BY level <= 100)
    WHERE n >= 1;
    

    As bone you the metadata of your tables, create a condition on your data store target, as shown in the following image:

    You need a Module imported in addition to your IKM CKM knowledge in order to implement this. In this example, we imported "CKM Oracle' and more 'Append IKM Oracle control".

    Look at the image and the following note:

    • The maximum number of allowed errors, as we know in this case it's going to be 10 I did 10, until which will succeed the result
    • Our condition that we defined previously
    • The IKM and CKM parameters

    Run the interface and you will get in your target good 90 records.

    You can find the 10 remaining records in [SCHEME OF WORK]. E$ _MY_TARGET

    You can do:

    SELECT * FROM E$_MY_TARGET;
    

    to view detailed information about the 10 records of bad or unwanted:

    OR just do:

    SELECT ID, SOMETHING FROM E$_MY_TARGET;
    
    SELECT * FROM MY_TARGET;
    
           ID SOMETHING
    ---------- ---------
             1 c1
             2 c2
             3 c3
             4 c4
             5 c5
             6 c6
             7 c7
             8 c8
             9 c9
            10 c10
            11 c11
            12 c12
            13 c13
            14 c14
            15 c15
            16 c16
            17 c17
            18 c18
            19 c19
            20 c20
            21 c21
            22 c22
            23 c23
            24 c24
            25 c25
            26 c26
            27 c27
            28 c28
            29 c29
            30 c30
            31 c31
            32 c32
            33 c33
            34 c34
            35 c35
            36 c36
            37 c37
            38 c38
            39 c39
            40 c40
            41 c41
            42 c42
            43 c43
            44 c44
            45 c45
            46 c46
            47 c47
            48 c48
            49 c49
            50 c50
            51 c51
            52 c52
            53 c53
            54 c54
            55 c55
            56 c56
            57 c57
            58 c58
            59 c59
            60 c60
            61 c61
            62 c62
            63 c63
            64 c64
            65 c65
            66 c66
            67 c67
            68 c68
            69 c69
            70 c70
            71 c71
            72 c72
            73 c73
            74 c74
            75 c75
            76 c76
            77 c77
            78 c78
            79 c79
            80 c80
            81 c81
            82 c82
            83 c83
            84 c84
            85 c85
            86 c86
            87 c87
            88 c88
            89 c89
            90 c90      
    
    90 rows selected
    
    SELECT ID, SOMETHING FROM E$_MY_TARGET;
    
            ID SOMETHING
    ---------- ---------
            91 c91
            92 c92
            93 c93
            94 c94
            95 c95
            96 c96
            97 c97
            98 c98
            99 c99
           100 c100     
    
    10 rows selected
    

    (2) in ODI 12 c, you can easily create an interface to insert multi table using the 'Split' component (if you need multiple insertion table rather than isolation incorrect data)

    CREATE TABLE MY_SOURCE
    (
        "ID"        NUMBER(6,0) PRIMARY KEY,
        "SOMETHING" VARCHAR2(5)
    );
    
    CREATE TABLE MY_TARGET1
    (
        "ID"        NUMBER(6,0),
        "SOMETHING" VARCHAR2(5)
    );
    
    CREATE TABLE MY_TARGET2
    (
        "ID"        NUMBER(6,0),
        "SOMETHING" VARCHAR2(5)
    );
    
    INSERT INTO MY_SOURCE
    SELECT n , cc
    FROM
    ( SELECT rownum n, concat('c',rownum) cc FROM dual CONNECT BY level <= 100)
    WHERE n >= 1;
    

    In this case, you can also leave the Global insert IKM of Oracle.

    In the mapping, you must drag the split tool in your logical tab and connect it to your source and two targets. After that, click the Split component and edit its properties. Please see the following picture:

    When you run the (mapping) interface you'll notice in the navigator operator that your records have been divided as assumed and inserted into both of your tables in parallel:

    (3) in ODI 11 g, you can get that is by creating several interfaces or creating a procedure that may include in its part target a multi-table Insert query:

    INSERT ALL
      WHEN  ID <= 90   THEN
        INTO MY_TARGET1
        (
          ID ,
          SOMETHING
        )
        VALUES
        (
          ID ,
          SOMETHING
        )
      WHEN  ID > 90   THEN
        INTO MY_TARGET2
        (
          ID ,
          SOMETHING
        )
        VALUES
        (
          ID ,
          SOMETHING
        )
    SELECT
      MY_SOURCE.ID  ID ,
      MY_SOURCE.SOMETHING  SOMETHING
    FROM
      MY_SOURCE MY_SOURCE
    
  • How to use a package?

    Hello

    I have a package PL/SQL, called UTIL_TABLE, which is owned by the user DNOQ (this user that can contain objects of applications),

    In the UTIL_TABLE package, it includes a procedure, called split_partition, its content is as below,

    /***********************************************
    * Procedure to split a partition of a table *.
    ************************************************/

    PROCEDURE split_partition (tablename VARCHAR2,

    part_name VARCHAR2,
    split_point VARCHAR2,
    first_part VARCHAR2,
    second_part VARCHAR2,
    options of VARCHAR2: = NULL)
    IS

    BEGIN

    priv_rec: = get_privileges (tablename);

    -IF priv_rec.split_part = 'Y' THEN
    IF priv_rec.alter_table = "Y" THEN

    sql_str: = 'ALTER TABLE ' | TableName.
    "SPLIT PARTITION" | part_name | ' To (' | split_point |) ') ' ||
    ' IN (PARTITION ' | first_part |) ',' ||
    'PARTITION | second_part | ') ' ||
    options;

    Util_Table.dynamicSQL (sql_str, err_txt, err_no);

    IF (err_no = 0) THEN
    user_messages (no_error, 'Split Partition');
    ON THE OTHER
    user_messages (other_error, ' error split Partition, s/n call: ' | err_txt);
    END IF;


    ON THE OTHER
    user_messages (auth_error, 'User' |) THE USER |
    'is not allowed to split a Partition in this table, call s/n');
    END IF;

    END;

    If the database as s/n connection, I can do a split a partition of table ACCOUNT (belonged to the DNOQ user), as:

    SQL > ALTER TABLE DONQ. ACCOUNT SPLIT PARTITION ACCOUNT_DEFAULT at (TIMESTAMP'2015-02-08 00:00:00 ') INTO (partition ACCOUNT_P2015WK06, PARTITION ACCOUNT_DEFAULT);

    Modified table.

    -table called partitioning ULTIMATELY owned by DONQ.

    SQL > desc DONQ. ACCOUNT

    Name                                      Null?    Type

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

    ID NOT NULL NUMBER

    ACCOUNT_NUMBER VARCHAR2 (255)

    PHONE_NUMBER VARCHAR2 (255)

    SELECTION_TIME TIMESTAMP (6) = > vary us the partition using this column!

    FILE_ID VARCHAR2 (255)

    CSL_NAME VARCHAR2 (255)

    QUEUE_NAME VARCHAR2 (255)

    RESULT_CODE_CLASS VARCHAR2 (255)

    RESULT_CODE VARCHAR2 (255)

    RESULT_CODE_ACTION VARCHAR2 (255)

    ACCOUNT_STATUS VARCHAR2 (255)

    AGENT_ID_RESULT_TIME TIMESTAMP (6)

    AGENT_ID VARCHAR2 (64)

    NUMBER OF CALL_DURATION

    TENANT_ID NOT NULL NUMBER

    I'm a user of the application, called DONQ_APP, it has all the DML privileges against table ACCOUNT, then log in as DONQ_APP, we try to use the procedure split_partition to divide a new partition.

    SQL > alter session set current_schema = DONQ_APP;

    Modified session.

    SQL > exec UTIL_TABLE.split_partition ('ACCOUNT', 'ACCOUNT_DEFAULT', ' (TIMESTAMP'2015-02-15 00:00:00 'TIMESTAMP' 2015-02-15 00:00:00 ') "', 'ACCOUNT_P2015WK07', ' ACCOUNT_DEFAULTe ', 'ACCOUNT_P2015WK07', 'ACCOUNT_DEFAULT');

    SP2-0552: Bind variable '00' not declared.

    the UTIL_TABLE package is valid.

    How can I do to use this procedure correctly?

    I thank very you much in advance!


    You deleted your last response and my response, so I'll post it again.

    You said in your last answer that you receive an error message on the user SYS is not in your privilege table.

    As I told you before that the message that you receive are generated by YOUR function you call this line:

    Util_Table.dynamicSQL (sql_str, err_txt, err_no);

    This feature (your code) accesses YOUR privilege table. Your last answer deleted posted INSERT statements for this privilege table. This table has the privilege and the USER that the user has. The inserts did NOT all the lines for the SYS user if YOUR code has caused an exception because you can't find all the lines in your table for the user SYS.

    Unfortunately, you did not check for this exception so it caused your code shown above to fail.

    You must follow best practices when you develop a code, but especially for dynamic code.

    1. ALWAYS print the query you build dynamically

    2. ALWAYS run/test/tune this query manually until it runs and correctly

    3. ALWAYS intercept all exceptions that might occur and deal with them appropriately.

    If you do the above, you will see what is the problem with your query string dynamically built.

  • OEDQ support for the AV tools

    Hello

    Please someone let me know tools of support for OEDQ AV except Loqate and QAS.

    Thanks in advance.

    Concerning

    Deborah

    External web services call is usually to the Disqualification by using a Script Processor (to where the script used depends on the web service interface). Note that the Script processor is limited to a single output, so normally, if multiple attributes are returned, they are returned in a table attribute, then split later. If you need to do something more advanced than this, you will need to write a new processor in Disqualification - we can tell you this if necessary.

    It is easier to illustrate the approach of Script for example.

    Here is an example of a legend to a code search service postal sample of GeoNames.org. It is a Script processor that takes three inputs (zip code and the country of the attributes of string and a number of maxresults attribute). It returns the results in a table.

    addLibrary ("http");

    Function GetValue (content, name) {}

    var value = "";

    startPos = content.indexOf ("<" +="" name="" +="" "="">") var;

    If (startPos >-1) {}

    endPos var = content.indexOf ("", startPos);

    value = content.substring (startPos + name.length + 2, endPos);

    }

    Returns the value;

    }

    function GetCDATAValue (content, name) {}

    var value = GetValue (content, name);

    If (value.indexOf ("))

    return value.substr (9, value.length - 12);

    on the other

    Returns the value;

    }

    try {}

    var result = new Array();

    var url = "http://api.geonames.org/postalCodeSearch?postalcode=" + input1 [0] + '& country =' + input1 [1] + '& LignesMax =' + input1 [2] + "& username = demo;

    var xmlHttp = new XMLHttpRequest();

    XMLHTTP.open("get",URL,true) ("GET", url, false);

    xmlHttp.send ();

    var response = "' + xmlHttp.responseXML;

    startPos = response.indexOf var (" ");

    while (startPos > -1) {

    var endPos = response.indexOf(" ", startPos);

    var record = response.substring (startPos, endPos);

    var postalcode = GetValue (record, 'postal code');

    var name = GetValue (record, "name");

    var countryCode = GetValue (record, 'postal code');

    var lat = GetValue (record, "lat");

    var lng = GetValue (file, "lng");

    var adminCode1 = GetValue (record, "adminCode1");

    var adminName1 = GetValue (record, "adminName1");

    var adminCode2 = GetValue (record, "adminCode2");

    var adminName2 = GetValue (record, "adminName2");

    var adminCode3 = GetValue (record, "adminCode3");

    var adminName3 = GetValue (record, "adminName3");

    result [result. Length] = zip + "|" +.

    name + "" + |

    Country code + "|" +.

    LAT + ' | ' +.

    LNG + "|" +.

    adminCode1 + "|" +.

    adminName1 + "|" +.

    adminCode2 + "|" +.

    adminName2 + "|" +.

    adminCode3 + "|" +.

    adminName3;

    startPos = response.indexOf var (')", endPos);

    }

    } catch (e) {

    result[result.length] = "Error: " + e.toString();

    }

    output1 = result;

  • Process page returns ORA-06550: error

    APEX 4.1

    Oracle 11g

    Analysis of schema: MDM_APEX

    Data tables: MDM_DATA

    Creating a page process to take several pieces of an item in the list and insert it into a table.

    I use a function that works in the database (when it is called by SQL + and the toad) but get the following error message when you try to create the page APEX process:

    1 error has occurred

    ORA-06550: line 3, column 22: PL/SQL: ORA-00904: "UTIL". ' ' SPLIT ': invalid identifier ORA-06550: line 2, column 1: PL/SQL: statement ignored

    I have granted running the privs to APEX_040100 and MDM_APEX on the packaging. This function works in another application, but not to recognize in this application.

    Google search finds no solutions used for this question with regard to APEX. Suggestions on how to recognize the function of the APEX?


    Thank you

    Tim


    < code >

    Process page:

    INSERT INTO MDM_DATA. REF_CMR (STORE_CD)

    (SELECT * FROM TABLE (UTIL.) SPLIT (:P400_STORE_LIST,':')));

    < code >

    < code >

    CREATE OR REPLACE PACKAGE MDM_DATA. UTIL

    AS

    SPLIT FUNCTION (P_LIST VARCHAR2, P_DEL VARCHAR2: = ',') SPLIT_TBL RETURN PIPELINE;

    Etc...

    End UTIL;

    CREATE OR REPLACE PACKAGE BODY MDM_DATA. UTIL

    AS

    SPLIT FUNCTION (P_LIST VARCHAR2, P_DEL VARCHAR2: = ',') SPLIT_TBL RETURN PIPELINE

    AS

    L_IDX PLS_INTEGER;

    L_LIST VARCHAR2 (32767): = P_LIST;

    L_VALUE VARCHAR2 (32767).

    BEGIN

    LOOP

    L_IDX: = INSTR (L_LIST, P_DEL);

    IF L_IDX > 0

    THEN

    LINE OF CONDUCT (SUBSTR (L_LIST, 1, L_IDX - 1));

    L_LIST: = SUBSTR (L_LIST, L_IDX + LENGTH (P_DEL));

    ON THE OTHER

    PIPE ROW (L_LIST);

    EXIT;

    END IF;

    END LOOP;

    RETURN;

    EXCEPTION

    WHILE OTHERS THEN

    NULL;

    END SPLIT;


    ETC...

    End util;

    < code >

    INSERT INTO MDM_DATA. REF_CMR (STORE_CD)

    (SELECT * FROM TABLE (MDM_DATA. )) UTIL. SPLIT (:P400_STORE_LIST,':')));

  • KVStrore depoyment issues

    I was sent a node 4 KVStore with replication facor of the partitions 2 and 2, I have following doubts:

    (1) is the number of replication group is determined by the factor of replication or partition or both?
    (2) who, between a replication group is a master, that I never assigned, is dynamic and a provision to fight against it?
    (2) if I set the partition to be 4, will be my data table will be split into 4 equal parts on the value of md5 database key and can determine us the size of partition according to our need?
    (3) can define us which replication group will store what partition.
    (4) what machine KVstore my client needs to connect?

    937747 wrote:
    I was sent a node 4 KVStore with replication facor of the partitions 2 and 2, I have following doubts:

    (1) is the number of replication group is determined by the factor of replication or partition or both?

    It is determined by the number of storage nodes and replication factor.

    You must configure your store to have a greater number of 2 partitions. In general, it should be about 10 x the number of replication groups in your system. 200 would be a better number.

    (2) who, between a replication group is a master, that I never assigned, is dynamic and a provision to fight against it?

    It is dynamic.

    (2) if I set the partition to be 4, will be my data table will be split into 4 equal parts on the value of md5 database key and can determine us the size of partition according to our need?

    The size of a partition is dynamic depending on what is stored in it. You can't control partition that will be stored in a pair of k/v.

    (3) can define us which replication group will store what partition.

    N °

    (4) what machine KVstore my client needs to connect?

    One of the nodes. During the initial connection, the client will read the topology of the store and then connect to the real node containing the pair of k/v for future applications.

    Charles Lamb

Maybe you are looking for