ORA-14314: resulting List partition(s) must contain atleast 1 value

Hi,
Using: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production, Windows 7 Platform.
I'm trying to understand Exchange Partition and Split (List) partitioning. Below is the code I'm trying to work on:
  CREATE TABLE big_table (
  id            NUMBER(10),
  created_date  DATE,
  lookup_id     NUMBER(10),
  data          VARCHAR2(50)
declare
  l_lookup_id big_table.lookup_id%type;
  l_create_date date;
begin
  for i in 1 .. 1000000 loop
    if mod(i,3) = 0 then
       l_create_date := to_date('19-mar-2011','dd-mon-yyyy');
       l_lookup_id := 2;
    elsif mod(i,2) = 0 then
       l_create_date := to_date('19-mar-2012','dd-mon-yyyy');
       l_lookup_id := 1;
    else
       l_create_date := to_date('19-mar-2013','dd-mon-yyyy');
       l_lookup_id := 3;
    end if;
    insert into big_table(id, created_date, lookup_id, data)
       values (i, l_create_date, l_lookup_id, 'This is some data for '||i);
  end loop;
  commit;
end;
alter table big_table add (
constraint big_table_pk primary key (id));
exec dbms_stats.gather_table_stats(user, 'BIG_TABLE', cascade => true);
create table big_table2 (
id number(10),
created_date date,
lookup_id number(10),
data varchar2(50)
partition by list (created_date)
(partition p20991231 values (TO_DATE(' 2099-12-31 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')));
alter table big_table2 add (
constraint big_table_pk2 primary key(id));
alter table big_table2 exchange partition p20991231
with table big_table
without validation
update global indexes;
drop table big_table;
rename big_table2 to big_table;
alter table big_table rename constraint big_table_pk2 to big_table_pk;
alter index big_table_pk2 rename to big_table_pk;
exec dbms_stats.gather_table_stats(USER, 'BIG_TABLE', cascade => TRUE);
I'm trying to split the data by moving created_date=19-mar-2013 to new partition p20130319. I tried to run the below query but failed with error. Where am I doing it wrong?
Thanks.
alter table big_table
split partition p20991231 values (to_date('19-mar-2013','dd-mon-yyyy'))
into (partition p20130319
     ,partition p20991231
Error report:
SQL Error: ORA-14314: resulting List partition(s) must contain atleast 1 value
14314. 00000 -  "resulting List partition(s) must contain atleast 1 value"
*Cause:    After a SPLIT/DROP VALUE of a list partition, each resulting
           partition(as applicable) must contain at least 1 value
*Action:   Ensure that each of the resulting partitions contains atleast
           1 value

I stand corrected.
Below are the steps I have gone through to understand:
1. How to partition a table with data in it.
2. Exchange partition.
3. Split partition (List).
4. Split data to more than 2 partitions.
Please correct me if I'm missing anything.
CREATE TABLE big_table
    id           NUMBER(10),
    created_date DATE,
    lookup_id    NUMBER(10),
    data         VARCHAR2(50)
DECLARE
  l_lookup_id big_table.lookup_id%type;
  l_create_date DATE;
BEGIN
  FOR i IN 1 .. 1000000
  LOOP
    IF mod(i,3)= 0 THEN
      l_create_date := to_date('19-mar-2011','dd-mon-yyyy');
      l_lookup_id   := 2;
    elsif mod(i,2)   = 0 THEN
      l_create_date := to_date('19-mar-2012','dd-mon-yyyy');
      l_lookup_id   := 1;
    ELSE
      l_create_date := to_date('19-mar-2013','dd-mon-yyyy');
      l_lookup_id   := 3;
    END IF;
    INSERT INTO big_table(id, created_date, lookup_id, data)
      VALUES(i, l_create_date, l_lookup_id, 'This is some data for '||i);
  END LOOP;
  COMMIT;
END;
ALTER TABLE big_table ADD
(CONSTRAINT big_table_pk PRIMARY KEY (id));
EXEC dbms_stats.gather_table_stats(USER, 'BIG_TABLE', CASCADE => true);
CREATE TABLE big_table2
  ( id           NUMBER(10),
    created_date DATE,
    lookup_id    NUMBER(10),
    data         VARCHAR2(50)
  partition BY list(created_date)
  (partition p0319 VALUES
    (TO_DATE(' 2013-03-19 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN') ,TO_DATE(' 2012-03-19 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN') ,TO_DATE(' 2011-03-19 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
ALTER TABLE big_table2 ADD
(CONSTRAINT big_table_pk2 PRIMARY KEY(id));
ALTER TABLE big_table2 exchange partition p0319
WITH TABLE big_table without validation
UPDATE global indexes;
DROP TABLE big_table;
RENAME big_table2 TO big_table;
ALTER TABLE big_table RENAME CONSTRAINT big_table_pk2 TO big_table_pk;
ALTER INDEX big_table_pk2 RENAME TO big_table_pk;
EXEC dbms_stats.gather_table_stats(USER, 'BIG_TABLE', CASCADE => TRUE);
SELECT p.partition_name, p.num_rows
FROM user_tab_partitions p
WHERE p.table_name = 'BIG_TABLE';
ALTER TABLE big_table split partition p0319 VALUES
(TO_DATE(' 2013-03-19 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
INTO (partition p20130319, partition p0319);
ALTER INDEX big_table_pk rebuild;
EXEC dbms_stats.gather_table_stats(USER, 'BIG_TABLE', CASCADE => TRUE);
SELECT p.partition_name, p.num_rows
FROM user_tab_partitions p
WHERE table_name = 'BIG_TABLE';
SELECT DISTINCT created_date FROM big_table partition(p20130319);
SELECT DISTINCT created_date FROM big_table partition(p0319);
ALTER TABLE big_table split partition p0319 VALUES
(TO_DATE(' 2012-03-19 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
INTO (partition p20120319, partition p20110319);
ALTER INDEX big_table_pk rebuild;
EXEC dbms_stats.gather_table_stats(USER, 'BIG_TABLE', CASCADE => TRUE);
SELECT p.partition_name, p.num_rows
FROM user_tab_partitions p
WHERE table_name = 'BIG_TABLE';
SELECT DISTINCT created_date FROM big_table partition(p20130319);
SELECT DISTINCT created_date FROM big_table partition(p20120319);
SELECT DISTINCT created_date FROM big_table partition(p20110319);

Similar Messages

  • Result List

    Depending on the search I need to change the fields in the result list. Is it possible?
    For example
    If the search type is A, the result list has field1 and field2 and if the search type is B the result list has field1 and field3.
    Thanks in advance

    Hi.
    FIRST:  In the method READ of the MAC is possible to hide/display fields setting the attributes table ET_FIELD_ATTRIBUTE.
    SECOND: Setting "SEND REQUEST" for a field in a field group is possible to raise a round trip to the server.
    In your scenario the problem is that since there are not objects in the result list the READ method in SRES MAC will not be called and the header of the result list will not change according to value selected in the DDLB. I would suggest to create VIEW of the application and pass this parameter from the source application which is calling the PCUI if it was the case, on the other hand you can also try using SCREEN Variants but i'm not sure if it works.
    Regards.
    Armando.

  • Error while editing Workflow Task List Item - "Sorry, something went wrong.. Web must contain a discussion list

    I have an custom approval workflow and when I try to edit an assigned  approval Task it throws me an error
    Sorry, something went wrong
    Web must contain a discussion list
    Any help appreciated!
    Pravs

    Hi,
    For a better troubleshooting, I suggest you do as the followings:
    1. Check the ULS log for more detailed error message, for SharePoint 2013, the ULS log is located at the path:
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
    You can use ULS Log Viewer to check the information in the log.
    2. You can use fiddler to track if there is something wrong in the workflow request.
    Here are some detailed articles about debugging workflow:
    https://msdn.microsoft.com/en-us/library/office/dn508412.aspx
    https://sharepointlogviewer.codeplex.com/
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • List must contain AbstractList (ProxyList) of Type {0}, not of {1}!

    Hi All,
    I am getting this exception
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCException: List must contain AbstractList (ProxyList) of Type , not of !
    Plz help.
    Regards
    Nikhil Bansal

    hi,
    this is because , passing table to BAPI is different than just binding structure to the model node.
    For structure we would have simply bound them as
    <model class name>.set<Structure name>(structure element);
    but, for passing table we need to create the abstract list for the table node, like as,
    Bapiparnr.Bapiparnr_List PartnerList = new Bapiparnr.Bapiparnr_List();
    Partner.setPartn_Numb(PartnerNumber);
    Partner.setPartn_Role("AG");
    PartnerList.addBapiparnr(Partner);
    SO.setOrder_Partners(PartnerList);
    // check out this List structure creation and use Partner is element of table node
    //this first need to added to PartnerLIst which is abstract list structure for table
    //node , then added this to model class node in the last step
    hope it helps
    regards

  • ERROR ITMS-9000: "META-INF/container.xml must contain one and only one root file reference."

    Hi all,
    After correcting a table-of-contents error in my .epub file, I am unable to upload it via iTunes Producer. It lists this error message:
    ERROR ITMS-9000: "META-INF/container.xml in 9780615431727.epub must contain one and only one root file reference." at Book (MZItmspBookPackage)
    The file has been verified and only has one root file reference in the container.xml file.
    Has anyone been able to find a solution to this problem?
    Thanks!

    Hello Forum Users…
    For those of you who have run into the upload roadblock, getting an error message similar to this:
    Package Summary:
    1 package(s) were not uploaded because they had problems:
              /Users/slm/Desktop/MUSIC to PICTURE for IBOOK/2012 MTP for iTUNES Bookstore/9780615600918.itmsp - Error Messages:
                        Apple's web service operation was not successful
                        Unable to authenticate the package: 9780615600918.itmsp
                        ERROR ITMS-9000: "OPS/ibooks.ncx(5): 'p50': fragment identifier is not defined in 'OPS/content9.xhtml'" at Book (MZItmspBookPackage)
    Following is a "specific" fix, but the idea of the fix will help you with your specifics too.
    I tried for 17 days to upload a book that looked and worked perfectly in iPAD via Preview.
    After many discussions with Apple, who to their credit stayed with me over 2-3 days, I decided to play a hunch.
    I went into a duplicated copy of the book and on every page, (because the error message was not telling the whole story), looked for what InDesign would call "Overset Text."
    Now... the "flaw" in iBOOK Author (hint) is that it won't advise you of this "overset text" as does InDesign.
    And to compound the matter, the exported ePUB document WORKS in iPAD Preview.
    See Screenshots from InDesign:
      Okay... Couldn't add it but it is a Warning Box that says there is overset text. (Characters which exceed the text box.)
    Nevertheless, I played this hunch, and sure enough found a few boxes with the + in them.  In other words I clicked on EVERY text holder and every text block in the entire document.
    Where I found + signs, I simply deleted some carriage returns from the iBOOK file... (please note… carriage returns and literally empty spaces that caused the overset text) and then erased all previous copies of the Music to Picture Book on my hard drive,  iTUNES and iPAD.
    The result?  A "text-book" upload with no snags!  As my Son would say… "Victory!"
    So, first make sure that you are using only PNGs, Jpegs and Movie files to iBook Specs.  Then... make sure there are no overset text boxes, which you must do manually.
    Enjoy & Godspeed!
    Steve
    Stephen Melillo, Composer
    STORMWORKS®
    209 Spinnaker Run
    Smithfield, VA 23430-5623
    USA
    v/f 757-356-1928
    stormworld.com
    “History is a vast early warning system.” Norman Cousins, editor and author (1915-1990)
    "This will be our reply to violence: to make music more intensely, more beautifully, more devotedly than ever before." Leonard Bernstein
    “If you have a chance to help someone, and you don’t, you are wasting your time on this earth.”  Roberto Clemente

  • How to get a list of schemas that contain objects

    Hello,
    Kindly check on how to get a list of schema that contain objects.
    Regards,
    Tarman.

    Here is the oracle version info and it run under HP-UX.
    Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
    With the Partitioning and Real Application Clusters options
    JServer Release 9.2.0.5.0 - Production
    I have problem when run the query,
    SQL> select owner, count(object_name) from dba_objects where owner is not in ('S
    YS','SYSTEM','SYSMAN');
    select owner, count(object_name) from dba_objects where owner is not in ('SYS','
    SYSTEM','SYSMAN')
    ERROR at line 1:
    ORA-00908: missing NULL keyword
    Thanks.

  • Result table data to be populated based on selection in the result list

    Hi,
    We have a parent data source "P" containing all the record types. Further we have two child data sources each having filters on exclusive record types(for ex. child1 containing record types X, Y, Z and child2 containing record types A, B).
    In our page we have a result list associated with data source child1(record types X, Y, Z) and result table associated with data source child2(record types A, B). There exists common attributes among the attributes present in result list and in the result table.
    Rest of the containers in the page namely search, breadcrumbs, guided navigation point to the parent data source("P") containing all the record types.
    Whenever we select a value from the guided navigation using the common attributes both the result list and result table are getting filtered.
    What we require is that, whenever an attribute(common attribute) is clicked in the result list, the data in the result table needs to get filtered based on the value of the attribute that is clicked.
    Is this possible? If so, pl. suggest how.

    Take a look at the Studio release notes for EID 2.4 http://docs.oracle.com/cd/E35976_01/studio.240/RELNOTES.txt a lot of little bugs like the one you describe have been resolved. If you haven't already done so you should upgrade to 2.4.

  • Different Color Text of Topic Titles by Child Project in Search Results List

    Does anyone know how I can change the text color to indicate the source project of a topic as displayed in the Search Results list?
    I have followed Peter Grainge's directions for setting up a parent project that has several child projects, one of which contains outdated version-specific information. Thanks, Peter!
    I would like it to be obvious to the user before they open a topic from the Search Results list that it is from the old legacy project.
    I have found where the font is set, (thanks to the RoboWizard), but I am not a Javascript programmer and am uncertain how to code the "if document is from this project, then use this font" logic.
    I would also like to put a "caption" below the "Search Results per page" line to explain the purpose of the color change.
    I am using RoboHelp HTML 8.0.2. I generate WebHelp output which is then FTP'd to our server.
    Thanks in advance!

    Hi Leon,
         Let me make sure that I understand your suggestion - I should change the title of each topic in the "legacy" knowledge base so that they each include a short identifier, such as "First Topic - Legacy"? If so, I suppose that would work, but I'd have to change 1,000 topics. The topic titles would no longer match the filenames (I'm trying to freeze changes to the old knowledge base to which there are many links from our user forum), which I suppose is not a big concern at this point.  I'll run some tests.
         That has also raised another question in my mind, but I'll post that separately. It's about the way Robohelp selects the text that is shown immediately after the title of the topic in the Search Results list.
         Thanks for taking the time to help!

  • Domain index on list-partitioned table?

    Hi,
    I have a list-partitioned table, and wanted to create a partitioned Oracle Text index on it. I keep getting an error, and am now wondering if it's possible to do. Here is my syntax:
    CREATE INDEX SCHEMA1.IDX_ALL_TEXT_LOCAL ON SCHEMA1.TABLE1(ALL_TEXT)
    INDEXTYPE IS CTXSYS.CONTEXT
    LOCAL
    (PARTITION PTN1 PARAMETERS('sync (on commit) storage ptn1'),
    PARTITION PTN2 PARAMETERS('sync (on commit) storage ptn2'),
    PARTITION PTN3 PARAMETERS('sync (on commit) storage ptn3'),
    PARTITION PTN4 PARAMETERS('sync (on commit) storage ptn4'),
    PARTITION PTN5 PARAMETERS('sync (on commit) storage ptn5'),
    PARTITION PTN6 PARAMETERS('sync (on commit) storage ptn6'),
    PARTITION PTN7 PARAMETERS('sync (on commit) storage ptn7'),
    PARTITION PTN8 PARAMETERS('sync (on commit) storage ptn8')
    PARAMETERS('section group my_group lexer new_lexer');
    ERROR at line 1:
    ORA-29850: invalid option for creation of domain indexes
    Any advice would be much appreciated.
    Thanks,
    Nora

    ... will it spread the index across the tablespaces that are associated with each partition?No, as demonstrated below.
    SCOTT@orcl_11gR2> CREATE TABLE table1
      2       ( id         NUMBER(6),
      3         all_text      VARCHAR2 (20)
      4       )
      5  PARTITION BY LIST (id)
      6   (PARTITION ptn1 VALUES (2,4) TABLESPACE example,
      7    PARTITION ptn2 VALUES (3,9) TABLESPACE example
      8   )
      9  /
    Table created.
    SCOTT@orcl_11gR2> INSERT ALL
      2  INTO table1 VALUES (2, 'test2')
      3  INTO table1 VALUES (3, 'test3')
      4  INTO table1 VALUES (4, 'test4')
      5  INTO table1 VALUES (9, 'test9')
      6  SELECT * FROM DUAL
      7  /
    4 rows created.
    SCOTT@orcl_11gR2> CREATE INDEX IDX_ALL_TEXT_LOCAL
      2  ON TABLE1 (ALL_TEXT)
      3  INDEXTYPE IS CTXSYS.CONTEXT
      4  /
    Index created.
    SCOTT@orcl_11gR2> SELECT table_name, tablespace_name
      2  FROM   user_tab_partitions
      3  WHERE  table_name = 'TABLE1'
      4  /
    TABLE_NAME                     TABLESPACE_NAME
    TABLE1                         EXAMPLE
    TABLE1                         EXAMPLE
    2 rows selected.
    SCOTT@orcl_11gR2> SELECT table_name, tablespace_name
      2  FROM   user_tables
      3  WHERE  table_name LIKE '%IDX_ALL_TEXT_LOCAL%'
      4  /
    TABLE_NAME                     TABLESPACE_NAME
    DR$IDX_ALL_TEXT_LOCAL$I        USERS
    DR$IDX_ALL_TEXT_LOCAL$R        USERS
    DR$IDX_ALL_TEXT_LOCAL$N
    DR$IDX_ALL_TEXT_LOCAL$K
    4 rows selected.
    SCOTT@orcl_11gR2>

  • String limit does not appear in result list

    Hello
    I have a sequence file with a sequence call "String limit test". After running the sequence from a process model, the "Limits" container does not appear in the result list of the main sequence. I have checkec the IncludeInReport flag for the Limits container, still I don't see it.
    Basically I need this information after calling the MainSequence in the client file, in order to create a report file. How to inclide the variable in the ResultList[]?
    Madottati

    Madottati,
    All the data from Step.Result will be copied to Locals.ResultList. Limits container for the step is outside Result container and hence is not copied to the ResultList. IncludeInReport flag affects only properties that are in a result list or that TestStand copies to a result list.
    http://www.ni.com/white-paper/8289/en/ contains more details about what properties gets added to the Result List.
    You can use Additional Results feature toa add Limits container to the ResultList.
    - Shashidhar

  • List partitioning multi-org tables

    Hi
    I am doing list partitioning on receivables multi-org tables on org_id column. Running into a performance problem with multi org views. The multi-org views for receivables tables are defined like below with a nvl condition on org_id (partitioned column) in their where clause
    create or replace ra_customer_trx
    select select * from ra_customer_trx_all
    WHERE NVL(ORG_ID,NVL(TO_NUMBER(DECODE(SUBSTRB(USERENV ('CLIENT_INFO'),1,1), ' ', NULL, SUBSTRB(USERENV ('CLIENT_INFO'),1,10))),-99)) = NVL(TO_NUMBER(DECODE(SUBSTRB(USERENV ('CLIENT_INFO'),1,1), ' ', NULL, SUBSTRB(USERENV ('CLIENT_INFO'),1,10))),-99)
    Queries against the view are doing all partition scan when I exptected partition pruning to kick in and the query goes only against the spefific partition.
    select count(1) from ra_customer_trx ---- does all partition scan
    select count(1) from ra_customer_trx_all where org_id = <> ---- does single partition scan, works well.
    When I recreate the view with out any function calls on the org_id column partition pruning happens.
    In a non partitioned environment which has an index on org_id column, both the above sqls use the index and yield same result.
    So my questions are -
    1. Is there a way to get around this problem without having to modify the oracle supplied multi-org views? Any options I can supply in the partition script?
    2. In a non-partitioned env, with an index on org_id how is the optmizer able to go against the index and where as it is not able to in partitioned environment..? Both these envs has the same view definition with NVL(org.......) consition.
    Does anyone have any suggestions?
    Thank you.

    user2317378 wrote:
    1. Is there a way to get around this problem without having to modify the oracle supplied multi-org views? Any options I can supply in the partition script?You mean to say that the expression used in the view belongs to some Oracle supplied schema, like APPS? Or is this a view you've created yourself?
    Can you show us the output of EXPLAIN PLAN using DBMS_XPLAN.DISPLAY when querying the view? Use the \ tag before and after to use proper formatting in fixed font.
    Please make sure that the "Predicate Information" section below the plan is also included in your post. If it is missing your plan table is old and needs to be upgraded using $ORACLE_HOME/rdbms/admin/utlxplan.sql or dropped if you're in 10g which provides a system wide PLAN_TABLE.
    2. In a non-partitioned env, with an index on org_id how is the optmizer able to go against the index and where as it is not able to in partitioned environment..? Both these envs has the same view definition with NVL(org.......) consition.
    These are two different questions. One is about partition pruning not taking place, the other one about an index not being used.
    Can you show us the output of EXPLAIN PLAN using DBMS_XPLAN.DISPLAY when querying the unpartitioned example? Use the \ tag before and after to use proper formatting in fixed font.
    Please make sure that the "Predicate Information" section below the plan is also included in your post. If it is missing your plan table is old and needs to be upgraded using $ORACLE_HOME/rdbms/admin/utlxplan.sql or dropped if you're in 10g which provides a system wide PLAN_TABLE.
    It would be interesting to know how Oracle can use the index given the complex expression in the WHERE clause.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Burn CD: must contain at least one track-error

    In Waveburner, when I click burn CD I get an error: "A project must contain at least one track"
    I selected 8 tracks in my saved project and clicked Burn CD. I did the same unselected.
    I get the same error every time. Why?
                                                               W.W.

    Thank you kcstudio for responding.
    In the meantime I figured out why I was getting this error. Although I don't understand why I even got this.
    The existing 8 tracks I imported with Import from the desktop into this WaveBurner project. Working in Regions tab all the time I did not realize that when I switched to the CD tracks tab there was nothing there. No regions and title list. So I made a new project and imported the audio files again making sure the CD tracks tab was selected refore. After that regions and listings were there both in regiones and CD tracks tab. I think Import
    should have taken care of that. I don't get it why there was nothing when I clicked the CD track tab.
                                                                                                                                                       W.W.

  • Ora-01489: result of string concatenation is too long

    Hello Gurus,
    i have a typical problem
    i am constructing a query in FORM and writing SQLPLUS script into a .SQL file. file will contain final data like below..
    set linesize 90
    set pagesize 0
    set echo off
    set verify off
    set termout off
    set feedback off
    set trimspool on
    set escape '^'
    spool D:\10GAPPServerappln\xxx\TEMPREP\ADA39057.sql;
    set linesize 229
    select ' IQIS# ,Cust Complaint Short Txt ,CD Short Txt ' from dual;
    set linesize 129
    select a||','||b||','||c||d from table;
    spool off;
    exit;
    After this By using HOST command i will execute the above .sql script and will write the output to text file.
    But problem is when i have clob column in any one of concatenated columns in query (a or b or c) then i am getting the error "Ora-01489: result of string concatenation is too long".
    pls suggest me how to overcome this problem..

    sybrand_b wrote:
    Obviously the || operator is concatenating strings, your CLOB is implicitly converted to a VARCHAR2, which has a 4000 bytes limit.???
    From non-experts who did read documentation:
    CLOB || VARCHAR2 = CLOB:
    SQL> CREATE OR REPLACE
      2  VIEW V1
      3  AS SELECT TO_CLOB('A') || 'A' clob_concat_varchar2 FROM dual
      4  /
    View created.
    SQL> DESC V1
    Name                                      Null?    Type
    CLOB_CONCAT_VARCHAR2                               CLOB
    SQL> SY.

  • Materialized View Log - Compress Clause for List Partition

    Hi All,
    In Syntax diagram it states that Compress Clause for List Partition of Materialized View Log is valid , but when we run any script with compress clause for list partition on Materialized view log then Database throws error as ORA-14020: this physical attribute may not be specified for a table partition
    So in any chance we can have the compress clause for the partition of materialized view log.
    Thanks in advance,
    Manu.

    The "CREATE MATERIALIZED VIEW LOG" syntax refers to the "Table Partitioning" section of the CREATE TABLE documentation.
    The "Table Partitioning" section refers to "table_partition_description" which then refers to "table_compression". "table_compression" then states that you can specify compression for entire table in the physical_properties clause and for range partition / list partition in the "table_partition_description". The Restrictions section on Table Compression says "You cannot define table compression explicitly for hash partitions or hash and list subpartitions" which implies that you can define partition for list partitions.
    Moreover, error 14020 lists valid options for Range or Composite Range and for Hash partitoins -- which implies that all other Table physical attributes are applicable for List partitions. (But then, is Compression a physical attribute -- it is really part of "physical properties" not "physical attributes").
    I think that the documentation isn't explicit enough and needs to be fixed.
    N.B : Referencing the 10.2 documentation.
    Hemant K Chitale
    Edited by: Hemant K Chitale on Feb 1, 2010 4:12 PM

  • Filtering of result list in Forums

    When browsing the list of questions in a forum, there is a filter box available that provides 4 options for controlling which questions are displayed:
    - All Threads
    - Open Questions
    - Answered Questions
    - Questions with no replies
    While these 4 options are useful, I wonder if the list could be expanded or changed to provide better results.
    With the new stricter moderation, there are quite a number of threads being locked in some forums.  The "Open Questions" option does not exclude locked posts, but I would suggest that anyone looking for open questions is probably not interested in locked ones.  The "Questions with no replies" option also seems to include locked posts.   Perhaps an additional check-box "Include Locked Posts?" could be added next to the filter dropdown, defaulting to "Off".
    Or perhaps just an additional option - "Exclude Resolved and Locked entries"?
    The option for "Questions with no replies" might also be more useful if it could be used as "Questions with less than [n] replies" with [n] selectable by the user.
    An option to filter the list based on Title "contains" / "does not contain" a specified word would also be of use to limit the display list in forums like ABAP General to items that are of interest.
    It would also be nice if the filter option was available to filter the results in the "Recent Threads" part of the display when when looking at group category levels such as ABAP Development. 
    Additional options to filter based on view count or author also come to mind.
    One that I would like would be the ability to filter based on who has replied to the thread - there are a number of names out there that make me read a thread even when it is a question I know nothing about, just to see what gems the reply contains.  I have learned new techniques more than once in this manner.
    Given the number of threads that are posted in ABAP Development each day, any way to control the list of questions viewed will make it more likely that questions will be seen by the person(s) best able to answer them.
    I am sure others will have different requirements for filtering the lists depending on their personal approach to reading and responding to questions, and that options available will be restricted by the way the SCN forum data is organised. 
    thanks
    Andrew

    I wrote the below code
    onFilter: function(oEvent) {
         // add filter for search
        var aFilters = [];
        var sQuery = oEvent.getSource().getValue();
        if (sQuery && sQuery.length > 0) {
          var filter = new sap.ui.model.Filter("Mcod1", sap.ui.model.FilterOperator.Contains, sQuery);
          aFilters.push(filter);
        // update list binding
        this._oDialog = sap.ui.xmlfragment("MyDialog", "cus.sd.priceavailability.check.ZSD_PRAV_MON.view.Dialog", this);
        var list = sap.ui.getCore().byId("MyDialog--master1List");
      list.bindAggregation("items", {path:pathStr
             ,template : new sap.m.ObjectListItem(
                    {title:"{Mcod1} ",
                      number : "", type: "Active",
                      attributes: [new sap.m.ObjectAttribute({
                            text : "(#{Kunn2}, {Vkgrp}, {Vkbur})"
                      new sap.m.ObjectAttribute({
                            text : "#{Stras}, {Mcod3}, {Regio}-{Pstlz}"
                      filters:aFilters
    But displaying the below errors in console
    2015-04-23 17:42:12 [index.html] adding element with duplicate id 'MyDialog--salesOffice'
    Uncaught Error: Error: adding element with duplicate id 'MyDialog--salesOffice'
    2015-04-23 17:42:12 [index.html] adding element with duplicate id 'MyDialog--salesGroup'
    Uncaught Error: Error: adding element with duplicate id 'MyDialog--salesGroup'

Maybe you are looking for