Viewobject missing NULL columns

Hello

I have the following code in the ADF - BC which creates a dynamic display object, it gets into XML and prints the string.

ViewObject vo = this.createViewObjectFromQueryStmt ("EmployeeService", "SELECT * FROM EMPLOYEES");

Node n = vo.writeXML(0,XMLInterface.XML_OPT_ALL_ROWS);

NewDoc XMLDocument = new XMLDocument();

Element newDocElt = newDoc.createElement ("OutputCollection");

....

....

....

The code works great except for a part.

If a column contains a null value, the column does not appear.

Example of output example

<EmployeeService>

<EmployeeServiceRow>

< FNAME > one < / FNAME >

b < LNAME > < / LNAME >

< /EmployeeServiceRow>

<EmployeeServiceRow>

c < FNAME > < / FNAME >

< /EmployeeServiceRow>

< /EmployeeService>

If you see above first row contained FNAME and LNAME, while the second does not, and so he did not appear.

However, I need even the lname appear as null / empty there is no case.

I see the mentioned below in the doc

https://docs.Oracle.com/CD/E14571_01/Web.1111/b31974/bcadvvo.htm#ADFFD1250

39.7.3.2 control of removing element for the attributes evaluated to Null

By default, if an attribute of line of sight is null , then its corresponding element is omitted in the generated XML. Select the attribute in the attributes of the Editor overview page and in the property inspector, select the navigation of custom properties tab and define the custom attribute- property named Xml explicit Null any value level (for example " true "or" yes " "") to cause an element to be included for the attribute if its value is null. For example, if an attribute named AssignedDate has this property set, and then a line containing a null assigned date will contain a null for the corresponding AssignedDate = "true" / element. If you want this behavior for all the attributes of a display object, you can set the Null explicit Xml custom property at the level of the object from view as a shortcut to set on each attribute.

However, I do not know where to put the above in the following property code and how.

Please suggest.

Thank you

Ros

Well, it is property of VO you can probably do something like: ((ViewObjectImpl) vo) .setProperty ("XML_EXPLICIT_NULL", "true")

Dario

Tags: Java

Similar Questions

  • SQL Loader - ignore the lines with "rejected - all null columns."

    Hello

    Please see the attached log file. Also joined the table creation script, data file and the bad and throw the files after execution.

    Sqlldr customer in the version of Windows-

    SQL * Loader: release 11.2.0.1.0 - Production

    The CTL file has two clauses INTO TABLE due to the nature of the data. The data presented are a subset of data in the real world file. We are only interested in the lines with the word "Index" in the first column.

    The problem we need to do face is, according to paragraph INTO TABLE appears first in the corresponding CTL lines file to the WHEN CLAUSE it would insert and the rest get discarded.

    1. statement of Create table : create table dummy_load (varchar2 (30) name, number, date of effdate);

    2. data file to simulate this issue contains the lines below 10. Save this as name.dat. The intention is to load all of the rows in a CTL file. The actual file would have additional lines before and after these lines that can be discarded.

    H15T1Y Index | 2. 19/01/2016 |

    H15T2Y Index | 2. 19/01/2016 |

    H15T3Y Index | 2. 19/01/2016 |

    H15T5Y Index | 2. 19/01/2016 |

    H15T7Y Index | 2. 19/01/2016 |

    H15T10Y Index | 2. 19/01/2016 |

    CPDR9AAC Index | 2. 15/01/2016 |

    MOODCAVG Index | 2. 15/01/2016 |

    H15TXXX Index | 2. 15/01/2016 |

    H15TXXX Index | 2. 15/01/2016 |

    3. the CTL file - name.ctl

    DOWNLOAD THE DATA

    ADD

    IN THE TABLE dummy_load

    WHEN (09:13) = "Index".

    TRAILING NULLCOLS

    (

    COMPLETED name BY ' | ',.

    rate TERMINATED BY ' | '.

    COMPLETED effdate BY ' | '. ' TO_DATE (: effdate, "MM/DD/YYYY").

    )

    IN THE TABLE dummy_load

    WHEN (08:12) = "Index".

    TRAILING NULLCOLS

    (

    COMPLETED name BY ' | ',.

    rate TERMINATED BY ' | '.

    COMPLETED effdate BY ' | '. ' TO_DATE (: effdate, "MM/DD/YYYY").

    )

    invoke SQL loader in a file-> beats

    C:\Oracle\product\11.2.0\client\bin\sqlldr USERID = myid/[email protected] CONTROL=C:\temp\t\name.ctl BAD=C:\temp\t\name_bad.dat LOG=C:\temp\t\name_log.dat DISCARD=C:\temp\t\name_disc.dat DATA=C:\temp\t\name.dat

    Once this is run, the following text appears in the log file (excerpt):

    Table DUMMY_LOAD, charged when 09:13 = 0X496e646578 ('Index' character)

    Insert the option in effect for this table: APPEND

    TRAILING NULLCOLS option in effect

    Column Position Len term Encl. Datatype name

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

    NAME                                FIRST     *   |       CHARACTER

    RATE                                 NEXT     *   |       CHARACTER

    EFFDATE NEXT * |       CHARACTER

    SQL string for the column: ' TO_DATE (: effdate, "MM/DD/YYYY").

    Table DUMMY_LOAD, charged when 08:12 = 0X496e646578 ('Index' character)

    Insert the option in effect for this table: APPEND

    TRAILING NULLCOLS option in effect

    Column Position Len term Encl. Datatype name

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

    NAME                                 NEXT     *   |       CHARACTER

    RATE                                 NEXT     *   |       CHARACTER

    EFFDATE NEXT * |       CHARACTER

    SQL string for the column: ' TO_DATE (: effdate, "MM/DD/YYYY").

    Record 1: Ignored - all null columns.

    Sheet 2: Cast - all null columns.

    Record 3: Ignored - all null columns.

    Record 4: Ignored - all null columns.

    Sheet 5: Cast - all null columns.

    Sheet 7: Discarded - failed all WHEN clauses.

    Sheet 8: Discarded - failed all WHEN clauses.

    File 9: Discarded - failed all WHEN clauses.

    Case 10: Discarded - failed all WHEN clauses.

    Table DUMMY_LOAD:

    1 row loaded successfully.

    0 rows not loaded due to data errors.

    9 lines not loading because all WHEN clauses were failed.

    0 rows not populated because all fields are null.

    Table DUMMY_LOAD:

    0 rows successfully loaded.

    0 rows not loaded due to data errors.

    5 rows not loading because all WHEN clauses were failed.

    5 rows not populated because all fields are null.


    The bad file is empty. The discard file has the following

    H15T1Y Index | 2. 19/01/2016 |

    H15T2Y Index | 2. 19/01/2016 |

    H15T3Y Index | 2. 19/01/2016 |

    H15T5Y Index | 2. 19/01/2016 |

    H15T7Y Index | 2. 19/01/2016 |

    CPDR9AAC Index | 2. 15/01/2016 |

    MOODCAVG Index | 2. 15/01/2016 |

    H15TXXX Index | 2. 15/01/2016 |

    H15TXXX Index | 2. 15/01/2016 |


    Based on the understanding of the instructions in the CTL file, ideally the first 6 rows will have been inserted into the table. Instead the table comes from the line 6' th.

    NAMERATEEFFDATE
    H15T10Y Index2January 19, 2016



    If the INTO TABLE clauses were put in the CTL file, then the first 5 rows are inserted and the rest are in the discard file. The line 6' th would have a ""rejected - all columns null. "in the log file. "


    Could someone please take a look and advise? My apologies that the files cannot be attached.

    Unless you tell it otherwise, SQL * Loader assumes that each later in the table and what clause after the first back in the position where the previous left off.  If you want to start at the beginning of the line every time, then you need to reset the position using position (1) with the first column, as shown below.  Position on the first using is optional.

    DOWNLOAD THE DATA

    ADD

    IN THE TABLE dummy_load

    WHEN (09:13) = "Index".

    TRAILING NULLCOLS

    (

    name POSITION (1) TERMINATED BY ' | '.

    rate TERMINATED BY ' | '.

    COMPLETED effdate BY ' | '. ' TO_DATE (: effdate, "MM/DD/YYYY").

    )

    IN THE TABLE dummy_load

    WHEN (08:12) = "Index".

    TRAILING NULLCOLS

    (

    name POSITION (1) TERMINATED BY ' | '.

    rate TERMINATED BY ' | '.

    COMPLETED effdate BY ' | '. ' TO_DATE (: effdate, "MM/DD/YYYY").

    )

  • ORA-01723 null columns are not allowed

    We create a table using DEC from a remote database. We use the DEC due to performance issues with INSERT-SELECT.
    EXECUTE IMMEDIATE 'CREATE TABLE ods_idl_vst NOLOGGING AS SELECT * FROM remote_tab@remote_db vst';
    "How can I ' ora-01723 null columns are not allowed" error? Our data base is 11g.

    Hello

    Yes it is possible, then you will need to use the trick of cast, or remove the columns in your selection.

    Herald tiomela
    http://htendam.WordPress.com

  • Interactive report with Null columns

    I have a user who wants to export an interactive report, and there need to some columns will appear on export so that he can fill the data later (there is an intermediate step, while we work on getting all the data they need in the database). I created the report query, and there are a handful of columns null or empty (to keep the correct order for export). When I try to add this query to the APEX, in an interactive report, I get an "ORA-00001: unique constraint (APEX_040000.WWV_FLOW_WORKSHEET_COLUMNS_UK2) violated" error.

    Googling autour shows me that this happens because of the columns the same name, and the solution is to provide aliases for all columns. My report has alias on all columns, but I can't yet create an interactive report. I tried to change the columns null of empty strings, as well as encompassing the alias in double - quotes, but nothing works. However, I can use my original query to create a standard report, but due to export, this is not ideal.

    I was able to create the interactive report with a null and then edited the source column of the report to add to the others. This had to be done one at a time, given that you are trying to add several null columns at the same time gives the same error even once. Unfortunately, when I try and you run the page, I get a ' ORA-20001: get_dbms_sql_cursor error ORA-00918: column ambiguously defined "error.

    My original query:
    select customer.customer_name as customer,
           project.name as project_name,        
           trunc(project.estimated_end_dt) as due_date, 
           project_status.project_status_desc as status, 
           null as revenue, 
           project.baseline_effort as baseline_hours,
           null as projected_cost,
           null as est_gain_loss, 
           project.actual_hours as actual_hours,
           project.estimated_hours as projected_hours,
           null as projected_cost, 
           null as projected_gain_loss, 
           null as roi       
        from project, 
             customer
      where customer.customer_id = project.customer_id
      and project.inactive_ind = 0
      and project.customer_id is not null
      and project.estimated_end_dt >= :DTP_P50_STARTDT
      and project.estimated_end_dt <= :DTP_P50_ENDDT
    order by customer.customer_name, 
             project.estimated_end_dt;             
    Can someone tell me a way to create an interactive report with multiple null columns?

    Hi shimmoril,

    The problem is probably that you have two columns aliased as 'projected_cost' (columns 7 and 11).

    Hope this helps,
    John

    If you find this information useful, please indicate the 'useful' or 'correct' post so that others benefit. *

  • Interactive report attributes: missing a column?

    It comes to Application Express 3.2.1.00.12

    I'm working on a report with columns drawn in a SQL statement in the definition of the region of the screen section interactive report attributes. We want to change the column names, so that they are more user-friendly, so forth that the report attributes tab, I'm looking for the name of the column, we want change, but it does not appear. Now, in the final report, the column is visible with the name of the column in the database header, so the system is aware of the column and can display it, but for some reason that we cannot see in the report attributes tab.

    Why a column would be invisible or inaccessible in the report attributes tab? There are 100 columns displayed in the attributes report: section of the column attributes. Is this the reason why I'm missing some columns; 100 is a hard column on this page limit?

    Thanks in advance for any help you can provide.

    Matthew Nagler

    Published by: user13579247 on July 20, 2011 10:45

    Published by: user13579247 on July 20, 2011 12:20

    Hello

    You are almost right place. You must click before the 100th column name, to screen where you can change column attributes.
    In the top right is buttons (Cancle, apply, < and=""> )

    Kind regards
    Jari

    Published by: jarola July 21, 2011 17:43

    He could documentation will guide you to the right screen
    http://download.Oracle.com/docs/CD/E14373_01/AppDev.32/e11838/app_comp.htm#sthref978

    >
    To access the attributes of the column:

    1. on the homepage of the workspace, click the icon of the Application Builder.

    2. Select the application.

    3. Select a page. The definition of Page appears.

    4. According to the regions, click interactive report next to the name of the region of report you want to edit.
    The page Interactive report attributes with the attributes of the column at the top of the page section is displayed.

    5. to access the column attributes page, click Edit next to the Alias column.

    >

    Published by: jarola July 21, 2011 17:44

  • How to find the NULL columns in the table?

    Hello

    Please provide the query to search for null columns in the table. Here, all the rows in the table have same column as null. It will not change.

    Table
    ---------------
    C1 c2 c3 c4
    X C 10
    T D 20

    I want to know that C2 is the nullable column.
    Thanks in advance!

    Kind regards
    Florian...

    A variance more

    create or replace function is_nulled_column(tab varchar2, col varchar2) return varchar2 is
    cnt number:=1;
    begin
      execute immediate 'select count(1) from '||tab||' where '||col||' is not null and rownum=1' into cnt;
      return case when cnt=0 then 'Y' else 'N' end;
    end;
    

    and use:

    select
     c.OWNER,c.TABLE_NAME,c.COLUMN_NAME,c.NULLABLE,is_nulled_column(c.TABLE_NAME,c.COLUMN_NAME) all_nulls
    from all_tab_columns c
    where c.OWNER=user
    and c.TABLE_NAME like '%'
    order by c.OWNER,c.TABLE_NAME,c.COLUMN_ID
    
  • How to set a non-Null column in CF9 ORM?

    How to set a non-Null column in CF9 ORM?  Thank you.

    Just to recycle my answer to your other question:

    You should find what you need in the docs here: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSB7BEC0B4-8096-498d-8F9B- 77C88878AC6C.html

    Scroll up to where it describes the properties of the DOF.

    --

    Adam

  • You can add not null column to a table that already contains data?

    Hello
    You can add not null column to a table that already contains data?
    Database 9i / 10g on RHEL
    Concerning

    Who worked in 9i?

    Looks like that it:

    SQL> select * from v$version where rownum = 1
    /
    BANNER
    ----------------------------------------------------------------
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    1 row selected.
    
    SQL> create table emp2 as select * from emp
    /
    Table created.
    
    SQL> alter table emp2 add new_col integer default 0 not null
    /
    Table altered.
    
  • Exclude null columns in a query

    Hi gurus,
    I need your help here. I have a table that contains columns of more than 120. Now I want to produce a report only for those who are not null columns. How can I accomplish this?

    Is it possible, to display the results as follows -

    Table - structure
    col1 col2 col3 col4 col5 col6 col7 col8
    A     B      A    C            D        D

    col5 and col8 has no value if I want to display resutl like that.
    col1 A
    col2 B
    COL3 HAS
    C COL4
    col6 D
    col7 D

    Thanks in advance,

    Kind regards
    Pascal M

    In my example, add a column 'olic_key' in wr_test, then your application should work.

  • Trigger to insert data on the null columns

    Hi all

    How can I create triggers to insert data into a column null, this column is a Varchar2.

    Thanks in advance.

    Something like this:

    create or replace the TRG_BI_MYTABLE before insert on MYTABLE for each line

    Start

    : new. MYCOLUMN: = nvl(:new.) MYCOLUMN, 'A value');

    end;

  • How to set a null column in a where clause clause involving a statement box

    In oracle APEX, I a (selection list) element called: P32_STATUS. It contains two values of interest (for this discussion): 'Available' and 'checked '. In my report, I have a column called vc_status that contains two values: "Checkbox" and NULL. In my application I want to use a case statement in my where clause similar to the lines of

    where

    .

    .

    .

    AND (vc_status = CASE WHEN: P32_STATUS = "Checkbox" THEN : P32_STATUS )

    WHEN : P32_STATUS = 'Available' THEN NULL END)

    The 'box' filtering works but the filtering to try to vc_status the NULL value does not work. Can someone help me? Thank you!

    (P.S. My intuition says that there because I can not put vc_status = NULL, but I must say that vc_status IS NULL... However, I don't know how to do execution IS ZERO inside a CASE statement)

    Hello

    Your intuition is right...

    In Oracle NULL is a bit special:

    NULL = NULL is false

    NULL <> NULL is false

    Thus, instead of the parameter a NULL value in the CASE WHERE there is just set a value on the other side:

    NVL (vc_statut, 'Available') =: P32_STATUS

    That's all! Simple, clean and functional

  • Partition table with null column

    Friends,

    DB: 11 GR 2

    OS: Linux

    I'm conversion from table to table of partition and try to understand the to do.

    Table has a date column that can have null values and I am partitioning table to date.

    I creates interval partitioning and also want to use MAXVALUE so that all dates go null.

    Somehow below syntax does not work, tried to read the manual, but not able to set below.

    CREATE TABLE EMP

    (DATE_ENTERED DATE default sysdate,

    ID NUMBER (10) NULL NOT ACTIVATE.

    ACTIVATE THE FIRST NAME VARCHAR2 (200) NOT NULL,

    TURN ON LAS_NAME VARHCAR2 (200) NOT NULL

    CONSTRAINT PK_ID PRIMARY KEY (ID)

    )

    PARTITION BY RANGE (DATE_ENTERED)

    INTERVAL (NUMTODSINTERVAL(1,'day'))

    (

    partition values P_NOT_USE less (to_date ('2015-01-01', 'yyyy-mm-dd'));

    values p_max_value score less than (MAXVALUE)

    );

    Receive the error message:

    ORA-14761 maxvalue partition cannot be specified for interval partitioned objects.

    Advice to solve this problem?

    I think the problem is using the function of the interval but then how can we partition a day?

    Also is there any way/script available to find all the permissions/privileges table before a fall?

    Manual: maintenance of Partitions

    The error is pretty clear to me. You can't have a partition of maxvalue for objects partitioned interval, only beach.

    There is no logical sense to have a for range partitioning's maxvalue partition, because the whole point is to have the Oracle to create new partitions automatically when you insert something above the transition point.

    SQL> desc dba_tab_privs
    Name                                      Null?    Type
    ----------------------------------------- -------- --------------
    GRANTEE                                            VARCHAR2(128)
    OWNER                                              VARCHAR2(128)
    TABLE_NAME                                        VARCHAR2(128)
    GRANTOR                                            VARCHAR2(128)
    PRIVILEGE                                          VARCHAR2(40)
    GRANTABLE                                          VARCHAR2(3)
    HIERARCHY                                          VARCHAR2(3)
    COMMON                                            VARCHAR2(3)
    TYPE                                              VARCHAR2(24)
    
  • How can I reconfigure this formula of substring OBIEE for Null columns?

    Hello

    I use this formula of substring to conveert my 20130201 to 02/02/2013 date field and as some of my data columns are NULL, I get a result of / / that is contained in the formula itself. How can I reconfigure this formula so cells NULL return Null and if a cell has data I should see, for example, 01/02/2013?

    SUBSTRING (CAST ("CSR Order Headers". "Appointed date" AS CHAR) 5 FOR 2) ' | ' /'| " SUBSTRING (CAST ("CSR Order Headers". "Appointed date" AS CHAR) 7 FOR 2) ' | ' /'| " SUBSTRING (CAST ("CSR Order Headers". "Appointed date" AS CHAR) FROM 1 to 4) "

    Thank you
    John

    Use the CASE statement:

    Example:

    CASE WHEN SUBSTRING(CAST("CSR Order Headers"."Appointment Date" AS CHAR) FROM 5 FOR 2)||'/'||SUBSTRING(CAST("CSR Order Headers"."Appointment Date" AS CHAR)
    FROM 7 FOR 2)||'/'||SUBSTRING(CAST("CSR Order Headers"."Appointment Date" AS CHAR) FROM 1 FOR 4) = '//'
    THEN null
    ELSE
    SUBSTRING(CAST("CSR Order Headers"."Appointment Date" AS CHAR) FROM 5 FOR 2)||'/'||SUBSTRING(CAST("CSR Order Headers"."Appointment Date" AS CHAR)
    FROM 7 FOR 2)||'/'||SUBSTRING(CAST("CSR Order Headers"."Appointment Date" AS CHAR) FROM 1 FOR 4)
    END
    

    Appreciate if you score as good/useful.

    Best regards
    Kalyan Chukkapalli
    http://123obi.com

  • Report with null column values template

    Hi all

    I'm trying to hide the columns that don't have a value or a null value. I tried to do in the template, but couldn't the way I tried to get

    Here is my requirement and the request which I use:

    Select
    uu. AAA,
    uu. BBB,
    nnn NVL (xxx.ttt, 0),
    NVL (YYY. TTT, 0) ppp
    of zzz.uu.
    (select gg.hh, ttt count (*)
    of zzz.gg.
    zzz. III
    where iii.kkk = gg.mmm
    and trunc (gg.ccc) = iii.ddd
    Gg.hh group) xxx,.
    (select gg.hh, ttt count (*)
    of zzz.gg.
    zzz. III
    where iii.kkk = gg.mmm
    and trunc (gg.ccc) = iii.ddd
    and trunc (gg.ccc) > iii.eee
    Gg.hh group) yyy
    where
    uu. AAA = xxx.hh (+)
    and uu.aaa = yyy.hh (+)

    I want to build a model in a way where the columns nnn and ppp that has a null value or 0 should not be included in the report and it should only lines whose value.

    But my problem is that I have same column aaa and bbb in the report which has value while ppp and nnn have no values. In my query aaa is employer code and bbb is the name of the employer and nnn and ppp are the name of the employer, and the employer id values that have null values.

    Finally, my requirement is the report should not display the id of the employer and the names nnn and ppp values that are null or the o, but it should display only the employer id and names for which they should have one value other than null.
    I want to know if is there a way I can do it through model or what I need to make changes to my application.
    Please let me know about it.


    Thanks in advance!

    Hello

    You can check out the code below:
    If you want to display the name of ID & Enployer employee where "nnn" value isn't Null & equl to zero:




    Note: In Calc firstly check the condition null field to avoid error 'cannot be converted to number



    465224
    TOM

    0


    985462
    JACK
    0
    5

    Thank you
    Sandeep

  • Do we not have an oracle function to select the non-null columns at the beginning

    Hello

    I have 8 columns. Some of them may be null.

    I want to display all 8 columns in my result. Columns not null will be first and no one at the end.

    Here is an example of data:

    Employee table:
     Employee_id   Emp_fname  emp_lname  emp_mname  dept salary emp_height  emp_weight
       1               aaa        ddd                d1   100      6           180
       2               bbb                ccc             120                 169
       3               dfe                           d2            5.9         223
    The expected result is:
    result1 result2   result3 result4  result5  result6 result7 result8
    1        aaa        ddd     d1       100     6        180
    2        bbb        ccc     120      169
    3        dfe        d2      5.9      223
    Thank you.

    Published by: BluShadow on July 12, 2012 16:12
    addition of {noformat}
    {noformat} tags for readability.  Please read {message:id=9360002} and do this yourself in future.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    945559 wrote:
    I'm using Oracle Database 11 g Release 11.2.0.3.0.

    Here is my sample data.

    CREATE TABLE saleshist (product VARCHAR2 (30), q1 NUMBER NUMBER of q2, q3 NUMBER, NUMBER of T4);
    INSERT INTO saleshist VALUES ('EE Oracle', 100, 123, null, 128);
    INSERT INTO saleshist VALUES (null, 'Partitioning', 100, 130, 128);

    desired output:
    col1, col2, col3 col4
    'Oracle EE', 100, 123, 128, null
    "Partitioning", 100,130,128, null

    It seems that you have 4 column headers, but 5 columns.

    Assuming that the character ' ~' never occurs in one of the columns:

    WITH   got_list           AS
    (
         SELECT     '~' || product
              || '~' || TO_CHAR (q1)
              || '~' || TO_CHAR (q2)
              || '~' || TO_CHAR (q3)
              || '~' || TO_CHAR (q4)     AS list
         FROM    saleshist
    )
    SELECT  REGEXP_SUBSTR (list,  '[^~]+', 1, 1)     AS col1
    ,       REGEXP_SUBSTR (list,  '[^~]+', 1, 2)     AS col2
    ,       REGEXP_SUBSTR (list,  '[^~]+', 1, 3)     AS col3
    ,       REGEXP_SUBSTR (list,  '[^~]+', 1, 4)     AS col4
    ,       REGEXP_SUBSTR (list,  '[^~]+', 1, 5)     AS col5
    FROM    got_list
    ;
    

    Output:

    COL1            COL2       COL3       COL4       COL5
    --------------- ---------- ---------- ---------- ----------
    Oracle EE       100        123        128
    Partitioning    100        130        128
    

    If you need a multiple character string, such as '? ~', to delimit the columns, then the same basic approach works, but the regular expression is messier.

    Product is just another column in this solution. Can be NULL, and it doesn't have to be unique.

Maybe you are looking for

  • Firefox does not sites or the load, but without the styles in the new profile

    I use Firefox 40 10 Windows pro. That's all started when I updated my firefox. After this mozila Web sites have no style and some http secure sites, I've got sec_error_bad_signature. I've tried safe mode, but this did not help. I also tried to create

  • learned to connect here to close my phone cannot

    Was closing my phone because three weeks, had to stop because I have the disease that cannot process Stree and that hurt me, my daughter got new password and closed my account, I hope became desperite. I hope to have the answer soon.

  • Error C80003FA Windows could not search for new updates and error 8E5E0442

    Windows 7 home premiumn After formatting the hard drive (deleted and then recreated the partitions), I wasn't able to install 5 of 19 recommended updates security for my computer has no updates errorsUpdate for Windows 7 for x 64-based systems (KB976

  • 10 XPS for VGA projector

    Has anyone successfully found a way to connect the Tablet 10 XPS to a VGA projector/monitor? It seems the most likely option would be a mini-hdmi to vga converter, but I would like it confirmed that a person has obtained that it works before you buy

  • From iPhone to Blackberry classic classic BlackBerry? My experience.

    I've been on Mac and iPhone for years.  I got a classic in August 15.  Here is some information for anyone who is planning to escape from the garden of Apple.  Don't forget - I have a Mac - Yosemite10.10.5.  I use for 3G iPhones. If you have a Mac th