Split the incoming records into partitions

Guru's,
I have a table with around 17,000 records each day to get processed through informatica. All these records are distinct in every attribute and the status of the records will be in 'PENDING_CLEAR'.
My requirement is to read these records into 8 partitions (if possible equal partitions) so that i could run in 8 partitions in informatica.
I have the below options available in informatica
1. Pass through
2. Key range and
3. Database partioning.
Option 2 and Option 3 are not possible, since the data base is not partitioned and i will not be able to provide the key ranges, since the primary key on the table is an auto-increment number.
In pass through i will be reading the same 17000 records across all the pipelines and its a challenge to handle it in infomatica.
Any suggestions of paritioning the records using sql??
Thanks a lot for your time.

>
Yes. But the way informatica has got options to read and process the record it is complicating more. I am trying to sort the issue related to informatica.
>
And that reinforces what I said above: you are likely 'misusing' Informatica if you have that sort of problem.
A middle-tier application like Informatica does not provide a 'one size fits all' solution without making (in some cases serious) performance trade-offs.
Such tools function best when they act as the 'middle man' among multiple databases. Need to do some basic data manipulation and source data from both Oracle and DB2? A tool can access both DBs with separate connections and help you merge or filter the data. The tool can also assist in performing some basic data transformations.
Need to sort data and apply complex business rules? That work should be done in the database.
The primary goal, when working with multiple database sources or targets, is the do AS MUCH work as possible in the DB; that is what the DB is designed for.
Get the data INTO the DB as quickly and efficiently as possible and then do the work there. Mid-tier tools can be very effective at that. They can source data from multiple systems, do basic data cleansing and filtering to reject/fix/report 'dirty' data and they can consolidate multiple data streams to feed ONE target stream.
Tools such as informatica use a proprietary language and syntax. DBs like Oracle and DB2 base their syntax on well-established ANSI standards. There is NO comparison.
Versions of Informatica that I worked with didn't even allow you to access the code very easily. The code for individual businsess rules was locked into the objects it was attached to (some flexibility using maps and maplets). A developer has to 'open' the object in order to get access to the actual code that was being use.
The PL/SQL code used in DBs is readily accessible and easy to access.
The first question I would ask about your issue is: can this work (processing each record) be done in the database. If the answer is yes then that is most likely where the work should be being done. The 'tool' should then be used to do as much 'preprocessing' of the data as possible and then get the cleansed data into the database (into staging tables) as quickly as possible.
If you insist on going the way you are headed you will need to add code to 'chunk' the data.
See my reply if this thread for a description of how to use the NTILE function to do that
Re: 10g: parallel pipelined table func - distributing DISTINCT data sets
And for more discussion of why you should NOT be going this way here is a thread from last year with a question very similar to yours also using Informatica
Looking for suggestion on splitting the output  based on rowid/any other
>
I have below query.I need to split total rows pulled by the query into two halves by maintaining data accuracy.
Eg if query returns 500 rows,i need a query which return 250 another with 250.
Reason :
I have a informatica ETL job which pull data by above query and updates into target.Run time is 2hrs
In order to reduce the run time,using 2 pass through partitions which will run the query in two partitions and run time will be reduced to exact 1 hour.
>
Sound familiar? Read what the responders (including me) had to say.

Similar Messages

  • Splitting the single record into multiple records based on validity

    Hi Guru's,
    basically i am an BI consultant with less knowledge on ABAP, can i request your help on the ABAP task.
    I am working on HR module which is integrated with SAP BI,  the reports will be executed based on calendar month the requirement is i should split the single record into a multiple records based on validity of the record.  basically the HR data would be in data from and date to. 
    below is the logic
    Check whether the start and end date of the record are in the same month and year.
    If yes  nothing changes
    If no  create multiple records
    1st record  original start date of the record u2018till end of that month
    Following record  1st of the next month  u2018till last day of the month
    u2026
    Last record  1st of the month u2018till original end date.
    All fields will have the same values, only the datefrom and dateto fields change.
    Can any one please provide me the same code to proceed on my task.
    Thanks and Regards,
    Venkat

    Hi,
    Using Rule group we can split it.
    Using Rule Group in SAP-BI  Part - 1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/using%20rule%20group%20in%20sap-bi%20%20part%20-%201.pdf
    Thanks
    Reddy

  • Split the incoming data into multiple grouped output records

    I have three fields in the source, Student ID, Student name and Student Marks. I need to map the details in the destination, by grouping the data on the basis of marks obtained. Each time there's a new mark , the corresponding details of names and student
    ID is saved under the a new mark group that is created. how do i come about it when there are n number of new marks?

    for your scenario i used below xml as input,
    <ns0:Students xmlns:ns0="http://BTSTempProj.StudentDetailsIn">
      <Student>
        <StudentID>StudentID_0</StudentID>
        <StudnetName>StudnetName_0</StudnetName>
        <StudentMarks>10</StudentMarks>
      </Student>
      <Student>
        <StudentID>StudentID_0</StudentID>
        <StudnetName>StudnetName_0</StudnetName>
        <StudentMarks>20</StudentMarks>
      </Student>
      <Student>
        <StudentID>StudentID_0</StudentID>
        <StudnetName>StudnetName_0</StudnetName>
        <StudentMarks>10</StudentMarks>
      </Student> 
      <Student>
        <StudentID>StudentID_0</StudentID>
        <StudnetName>StudnetName_0</StudnetName>
        <StudentMarks>10</StudentMarks>
      </Student>
      <Student>
        <StudentID>StudentID_0</StudentID>
        <StudnetName>StudnetName_0</StudnetName>
        <StudentMarks>20</StudentMarks>
      </Student>
      <Student>
        <StudentID>StudentID_0</StudentID>
        <StudnetName>StudnetName_0</StudnetName>
        <StudentMarks>30</StudentMarks>
      </Student>   
    </ns0:Students>
    and here is the output, hope this is what you are looking for. 
    <ns0:Students xmlns:ns0="http://BTSTempProj.StudentDetailsOut">
    <StudentMarks>10</StudentMarks>
    <Student>
    <StudentName>StudnetName_0</StudentName>
    <StudentID>StudentID_0</StudentID>
    <StudentName>StudnetName_0</StudentName>
    <StudentID>StudentID_0</StudentID>
    <StudentName>StudnetName_0</StudentName>
    <StudentID>StudentID_0</StudentID>
    </Student>
    <StudentMarks>20</StudentMarks>
    <Student>
    <StudentName>StudnetName_0</StudentName>
    <StudentID>StudentID_0</StudentID>
    <StudentName>StudnetName_0</StudentName>
    <StudentID>StudentID_0</StudentID>
    </Student>
    <StudentMarks>30</StudentMarks>
    <Student>
    <StudentName>StudnetName_0</StudentName>
    <StudentID>StudentID_0</StudentID>
    </Student>
    </ns0:Students>
    Please find the below xslt which you can use, it is basically based on the Muenchian grouping suggested by Ashwin
    <?xml version="1.0" encoding="UTF-16"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:var="http://schemas.microsoft.com/BizTalk/2003/var" exclude-result-prefixes="msxsl var s0" version="1.0"
    xmlns:ns0="http://BTSTempProj.StudentDetailsOut" xmlns:s0="http://BTSTempProj.StudentDetailsIn">
      <xsl:output omit-xml-declaration="yes" method="xml" version="1.0" />
      <xsl:template match="/">
        <xsl:apply-templates select="/s0:Students" />
      </xsl:template>
      <xsl:key name="groups" match="Student" use="StudentMarks"/>
      <xsl:template match="/s0:Students">
        <ns0:Students>
          <xsl:for-each select="Student[generate-id(.)=generate-id(key('groups',StudentMarks))]">
            <xsl:sort select="StudentMarks" order="ascending"/>
            <StudentMarks>
              <xsl:value-of select="StudentMarks/text()"/>
            </StudentMarks>    
            <Student>    
              <xsl:for-each select="key('groups',StudentMarks)">
                <StudentName>
                  <xsl:value-of select="StudnetName/text()"/>
                </StudentName>
                <StudentID>
                  <xsl:value-of select="StudentID/text()"/>
                </StudentID> 
                </xsl:for-each>
            </Student>
          </xsl:for-each>        
        </ns0:Students>
      </xsl:template>
    </xsl:stylesheet>
    Regards, Amit More

  • Splitting the single record into multiple:One-to-Many;S'ingLikeRESULT_TABLE

    Hello Friends,
            I am an ABAPer and new to BW. we have a requirement as follows.
    BW is getting data from R/3 system. all the purchasing, sales data and billin data.
    at the BW end for each Material document we get multiple ITEMS. ( items will be retrieved at BW end)
    the question is how to get the multiple entries in the result.
    Each material will have one or more items. so we want to write a separate record for each item. Can we do it using RESULT_TABLE?
    I have no idea how the data process at BW end.
    I have been trying to find the info in SDN but could get what exactly they are saying. bit confused with key figures and so.
    Can anyone of you give some  idea on how to get this done please ?
    Thanks a lot for your help..
    Regards,
    reddy
    Edited by: SAP User on May 19, 2008 4:27 PM

    Ramesh,
       Thank you for the resp.
        Could you please tell me which table actually holds the data that is coming from R3 system?
    at the moment I am trying to get the item data from a select statement for a particular master data (which is coming from COMM structure). then i am updatting the return table. but only the last value is getting updated in the final output.
    Could you please give me some idea on how to do this? Thanks
    Regards,
    Sree

  • How  to  copy  the  table1selected  records into table 2 in webdynpro java.

    Hi 
           how  to  copy  the  table1selected  records into table 2 in webdynpro java.
    venkat
    Edited by: venkatpvr on Sep 23, 2011 11:53 AM

    Hi Venkat,
    You have 2 Value Nodes one for Table1 and second for Table2.
    Table1 node having one more Value Attribute i.e check Box data type is Boolean. Now you are requirement are select records from Table1 Node and click on One Method that records will moves to Second Table2 Node.
    Create One Method for getting the Records from 1-Table to 2-Table
    CopytoTable2 ()
    In this method you have to write code like this
    If (wdContext.nodeTable1.Checkbox(true))
    If(1. Check the Table1 Value Node Size()>0)
    Get the Table1 records and set to table2 Value node.
    Else
    Please select check box// Error message
    Hope this helps!!
    Regards
    Vijay K

  • Split the material cost into labor and overhead costs

    Hello Experts,
    We get Finished Goods from another plant and that plant is not on SAP. So we load these materials as Finished Goods and enter the price in the costing tab and we do run cost estimates. In the cost estimate we see this price as material cost. How can we split this material cost into material + labor + over head costs? Is there anywhere we can enter the percentages that would split the total price into material and labor and overhead prices? I appreciate your time and response.
    Thanks In Advance

    HI Venkat,
    You can only split material cost using origin groups and not into material, labour & OH as you may know the cost components are grouping of cost elements (with an option to use origin groups).
    If this is too important for you to maintain that cost component split, then I see the only way is to consider maintaining quantity structure in SAP for the finished product, so that cost roll up happens with cost components.
    Hope this helps.

  • Transaction to view the incoming emails into SAP system

    Hi Experts,
    Just like SOST for viewing outgoing email from SAP, is there any transaction exist to view the incoming emails into SAP system. Any comments on this concept is most welcome.
    Thanks in advance,
    Viven

    Check the T_codes in the package SO. All we have is in that package. I doubt except SAPoffice there is something. this should be handled by the Exchange server.
    Amandeep

  • Splitting a long recording into different songs?

    Some friends and I will be recording today and there are a few things I am unsure about.
    First, we usually play for about 2 hours nonstop and we will be recording 3 simultaneous tracks. After the session, I would like to export the recording into itunes. But, instead of one 2 hour song, I would like to split it up into multiple songs. How would i do this?
    Second, to record nonstop for 2 hours, do i need to adjust the tempo of the recording before we start in order to maximize the time we can record. I thought I saw someone say that you had to lower the tempo to 40 to record for a few hours. I couldn't find the post though so could someone let me know if this is correct?
    Thanks!

    I would like to split it up into multiple songs.
    http://www.bulletsandbones.com/GB/GBFAQ.html#exportexactlength
    I thought I saw someone say that you had to lower the tempo to 40 to record for a few hours
    http://www.bulletsandbones.com/GB/GBFAQ.html#recordlength

  • How can I Split the PDF File into different pages?

    Hi,
    My requirment is to split the pdf file , which is obtained by using FM "convert_otf" , into seperate PDF file for each employee data(PERNR).
    Please suggest me the way to slipt the PDF file that has to be downloaded into the presentation server.

    Hi,
    Ok, looking at that programm didn't actually help me very much to understand what's going on, or where you have the CONVERT_OTF call... Regardless, if the suggestion by Raymond is not feasible in your scenario, the thing I'd try to do is - splitting the spool (OTF) contents before calling CONVERT_OTF into individual documents (feeding it to convert FM piecemeal)... The link to OTF format and commands documentation is here.
    Again, it's difficult to give a good algorithm without knowing the exact OTF contents (could you perhaps somehow export the display of spool in RAW format and attach here?) but it would boil down to approximately following:
    1) set the &first_page per PERNR = 1;
    2) run through OTF lines until the &end_page for PERNR has been identified somehow (hopefully there are Begin/End Form OTF commands '//' in that spool... and they correspond to the split of spool you need...);
    3) extract the otf contents from &first_page to the EP command of &end_page into separate OTF itab and, if necessary, add // (End of form) command at the end of itab;
    4) call CONVERT_OTF on the table and download;
    5) set the &first_page per PERNR = &end page + 1;
    6) repeat from 2) until end of spool OTF data
    Something like that... Depending how the Sapscript translates into OTF, you may also need to prepend a few commands found at the very beginning of the spool to each extracted invividual OTF document...
    I Hope you can get the gist of what I'm suggesting... splitting OTF is definetly easier than trying to split PDF, I feel. It's not ideal solution, because - what if the structure of OTF contents you would be realying on changes for some reason..?
    cheers
    Janis

  • How to split the AP invoice into two invoices

    Dear All..,
    Can you tell how can i split the AP vendor invoice which i was posted erlier..i want spil the invoice into two invoices to pay the partial payment to some amount..
    For ex : i have poste one invoice with 50000/- rs..and now i want to split this doc into two like 30000 and 20000, and i want to made the payment for through APP for 30000..
    Can you tell me the step how to do this..
    Advanced thanks
    Bhargav

    If you reverse the original vendor invoice ( credit memo), you can create a new vendor invoice by splitting the amounts with different payment methods. This way APP will pick up only required amount.
    Amount split in vendor invoice can be done by activating "Enable amount split" in OBY6 configuration. This will give you an additional tab "Amount split" in vendor invoice.
    Hope this helps
    Thanks,
    Kalyan

  • How to fetch the required record into the cache

    Dear sirs...
    An application written in Jdeveloper 10g 10.1.2.1 that uses ADF. It is requred to process some records. When i get the view object & try to go to the first record i get the following error:
    05/11/30 23:13:26 Error Message:JBO-25046: Requested row not available in row set iterator FilesView1.
    oracle.jbo.RowNotAvailableException: JBO-25046: Requested row not available in row set iterator FilesView1.
         at oracle.jbo.client.remote.RowSetIteratorImpl.first(RowSetIteratorImpl.java:851)
         at oracle.jbo.client.remote.RowSetImpl.first(RowSetImpl.java)
         at oracle.jbo.client.remote.ViewUsageImpl.first(ViewUsageImpl.java)
         at oracle.jbo.common.ws.WSRowSetIteratorBase.first(WSRowSetIteratorBase.java:328)
         at view.ViewmailAction.onDelete(ViewmailAction.java:80)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java)
         at oracle.adf.controller.lifecycle.PageLifecycle.handleEvent(PageLifecycle.java:544)
         at oracle.adf.controller.struts.actions.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:252)
         at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleEvent(StrutsUixLifecycle.java:249)
         at oracle.adf.controller.lifecycle.PageLifecycle.processComponentEvents(PageLifecycle.java:477)
         at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processComponentEvents(StrutsUixLifecycle.java:162)
         at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:236)
         at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:430)
         at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:126)
         at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
         at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
         at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    How can I fetch the first row into the cache?
    I checked the documentation & it says i should call the required API to put the record into the cache & then retry the operation, so what is this API? what should i do?
    Thanks alot for any help
    best regards

    I'd recommend processing the records inside a custom method on your application module. This is a best practice whever you can do it, and it makes your application easier to maintain and test.
    I'd also recommend using Immediate Mode instead of Batch Mode. Please see this article on the subject:
    http://www.oracle.com/technology/products/jdev/tips/muench/batchmode/index.html

  • How can I map last of the repeating records into a single record?

    I have a following input schema, I need to take only one of the <Student> records and map that to a single record in output. Doesn't matter if the first, second or last one of the records get mapped, I only need one in the output. Any idea how can
    this be accomplished?
    Input:
      <Students>
        <Student id="1">
            <Name>
              A
            </Name>
            <Roll>
              1
            </Roll>
        </Student>
          <Student id="2">
            <Name>
              A
            </Name>
            <Roll>
              1
            </Roll>
        </Student>
        <Student id="3">
            <Name>
              A
            </Name>
            <Roll>
              1
            </Roll>
        </Student>
      </Students>
    Expected Output:
    <Candidate>
      <Student>
        <Name>
           A
        </Name>
      </Student>
    </Candidate>

    Sounds rather complex for something that could be done very simple in custom XSLT like this:
    <?xml version="1.0" encoding="utf-16"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="Students">
    <Candidate>
    <Student>
    <Name>
    <xsl:value-of select="Student/Name" />
    </Name>
    </Student>
    </Candidate>
    </xsl:template>
    </xsl:stylesheet>
    Morten la Cour

  • Cannot INSERT records into Partitioned Spatial Table and Index

    I am trying to tune our Spatial Storage by creating partitioning our spatial_entity table and index. I used the World Geographic Reference System (GEOREF) creating a partition for each 15 x 15 degree grid square assigning a partition key of decimal longitude, decimal_latitude. The build went OK, however when trying to insert a data record I receive an ORA-14400: Inserted partition key does not map to any partition.
    I validated the CREATE(s), and all appears correct, but obviously something is not correct, which is prompting for expert help in this forum.
    I would be very grateful for your help.
    Below are the code snippets for the table and index, and an insert statement.
    CREATE TABLE spatial_entity
         geoloc_type VARCHAR2 (60 BYTE) NOT NULL
    ,entity_id NUMBER NOT NULL
    ,metadata_xml_uuid VARCHAR2 (40 BYTE) NOT NULL
    ,geoloc MDSYS.sdo_geometry NOT NULL
    ,nee_method CHAR (1 BYTE) NOT NULL
    ,nee_status CHAR (1 BYTE) NOT NULL
    ,decimal_latitude NUMBER (15, 6) NOT NULL
    ,decimal_longitude NUMBER (15, 6) NOT NULL
    PARTITION BY RANGE (decimal_longitude, decimal_latitude)
         PARTITION p_lt_0_90s
              VALUES LESS THAN (1, -90)
         ,PARTITION p_lt_0_75s
              VALUES LESS THAN (1, -75)
         ,PARTITION p_lt_0_60s
              VALUES LESS THAN (1, -60)
         ,PARTITION p_lt_0_45s
              VALUES LESS THAN (1, -45)
         ,PARTITION p_lt_0_30s
              VALUES LESS THAN (1, -30)
         ,PARTITION p_lt_0_15s
              VALUES LESS THAN (1, -15)
         ,PARTITION p_lt_0_0
              VALUES LESS THAN (1, 0)
         ,PARTITION p_lt_0_15n
              VALUES LESS THAN (1, 15)
         ,PARTITION p_lt_0_30n
              VALUES LESS THAN (1, 30)
         ,PARTITION p_lt_0_45n
              VALUES LESS THAN (1, 45)
         ,PARTITION p_lt_0_60n
              VALUES LESS THAN (1, 60)
         ,PARTITION p_lt_0_75n
              VALUES LESS THAN (1, 75)
         ,PARTITION p_lt_0_90n
              VALUES LESS THAN (1, maxvalue)
    CREATE INDEX geo_spatial_ind ON spatial_entity (geoloc)
    INDEXTYPE IS mdsys.spatial_index
    PARAMETERS ('layer_gtype=MULTIPOINT TABLESPACE=GEO_SPATIAL_IND') LOCAL
    (PARTITION p_lt_0_90s,
    PARTITION p_lt_0_75s,
    PARTITION p_lt_0_60s,
    PARTITION p_lt_0_45s,
    PARTITION p_lt_0_30s,
    PARTITION p_lt_0_15s,
    PARTITION p_lt_0_0,
    PARTITION p_lt_0_15n,
    PARTITION p_lt_0_30n,
    PARTITION p_lt_0_45n,
    PARTITION p_lt_0_60n,
    PARTITION p_lt_0_75n,
    PARTITION p_lt_0_90n,
    INSERT INTO spatial_entity
         geoloc_type
         ,entity_id
         ,metadata_xml_uuid
         ,geoloc
         ,nee_method
         ,nee_status
         ,decimal_latitude
         ,decimal_longitude
    VALUES
                   'BATCH'
                   ,0
                   ,'6EC25B76-8482-4F95-E0440003BAD57EDF'
                   ,"MDSYS"."SDO_GEOMETRY"
                        2001
                        ,8307
                        ,"MDSYS"."SDO_POINT_TYPE" (32.915286, 44.337902, NULL)
                        ,NULL
                        ,NULL
                   ,'M'
                   ,'U'
                   ,32.915286
                   ,44.337902
    Thank you for you help.
    Dave

    Thank you for your quick reply. I did not post the entire CREATE script as it is quite long. The portion of the script that is applicable to the INSERT is:
    ,PARTITION p_lt_45e_90s
              VALUES LESS THAN (23, -90)
         ,PARTITION p_lt_45e_75s
              VALUES LESS THAN (23, -75)
         ,PARTITION p_lt_45e_60s
              VALUES LESS THAN (23, -60)
         ,PARTITION p_lt_45e_45s
              VALUES LESS THAN (23, -45)
         ,PARTITION p_lt_45e_30s
              VALUES LESS THAN (23, -30)
         ,PARTITION p_lt_45e_15s
              VALUES LESS THAN (23, -15)
         ,PARTITION p_lt_45e_0
              VALUES LESS THAN (23, 0)
         ,PARTITION p_lt_45e_15n
              VALUES LESS THAN (23, 15)
         ,PARTITION p_lt_45e_30n
              VALUES LESS THAN (23, 30)
         ,PARTITION p_lt_45e_45n
              VALUES LESS THAN (23, 45)
         ,PARTITION p_lt_45e_60n
              VALUES LESS THAN (23, 60)
         ,PARTITION p_lt_45e_75n
              VALUES LESS THAN (23, 75)
         ,PARTITION p_lt_45e_90n
              VALUES LESS THAN (23, maxvalue)
    Or, I do not fully understand. Are you indicating that I must explcitly state the longitude in each clause,
    e.g ,PARTITION p_lt_45e_45n
              VALUES LESS THAN (45, 45)
    ,PARTITION p_lt_45w_45n
              VALUES LESS THAN (-45, 45)
    If so, that answers the question of why it cannot find a partition, however an Oracle White Paper "Oracle Spatial Partitioning Best Practices" Sept 2004, discusses multi column partitioning such as represented by this problem, and gives an INSERT statement example of :
    CREATE TABLE multi_partn_table (in_date DATE,
    geom SDO_GEOMETRY, x_value NUMBER, y_value NUMBER)
    PARTITION BY RANGE (X_VALUE,Y_VALUE)
    PARTITION P_LT_90W_45S VALUES LESS THAN (1,-45),
    PARTITION P_LT_90W_0 VALUES LESS THAN (1,0),
    PARTITION P_LT_90W_45N VALUES LESS THAN (1,45),
    PARTITION P_LT_90W_90N VALUES LESS THAN (1,MAXVALUE
    and as I am writing this I am seeing that I failed to include the longitude and latitude in the SDO_GEOMETRY clause, so it does appear tht I need to explicitly state the longitude valuues.
    What is your judgement sir?
    Dave

  • Could you please split the "Options" button into two?

    Thunderbird used to have a single button at the top of the email message to show remote content--but now there's an Options button with that choice plus four more. Since so many messages require me to show remote content, it usually takes me two clicks to continue with the message. Quite annoying. If that button were to be split into a "Show Remote Content" button and an "Other Options" button, things would revert to the previous level of convenience. (I know I could opt to have the remote content displayed automatically, but I like that additional measure of security.) TIA!

    I agree with you.
    This has been reported as a bug.
    * https://bugzilla.mozilla.org/show_bug.cgi?id=1062961
    You could add your vote for this change.
    You vote by clicking on the Vote link - at the top where it says:
    '''Importance: -- normal with 4 votes (vote) '''
    You will need to register and logon to vote.

  • Combined the continuous records into one in Crystal Report XI

    I need help for combining the continuous Date1 and Date2 if same ID? What formula or method I can do?
    Original Data:
    ID               Date1             Date2
    1111111  3/16/2009      6/27/2009
    1111111  8/20/2009      9/10/2009
    1111111  10/14/2009   11/9/2009
    1111111  11/9/2009     1/11/2010
    1111111  1/11/2010     (blank)
    1111111  1/11/2010     1/11/2010
    1111111  1/11/2010     6/9/2010
    1111111  8/20/2010     9/10/2010
    Final Result:
    ID               Date1            Date2
    1111111  3/16/2009     6/27/2009
    1111111  8/20/2009     9/10/2009
    1111111  10/14/2009   (blank)
    1111111  8/20/2010     9/10/2010
    The idea is to eliminate the continuous or repeated records for the same person. The ID indicates a person, Date1 is an open date, and Date2 is a close date. If ID are same, and the date1 is equal to the previous date2, then we keep the earliest date1, which is the previous open date (date1) here and keep the latest close date (date2) if date2 is not empty.
    However, empty Date2 means it is not close yet and I am going to take that rather than other Date2 if it is the continuous cases or same Date1 for these records with same ID as well.
    If the open date (Date1) is after at least 3 days than the previous close date (previous Date2), we treat it as a new record and it is not continuous even though their ID are same.
    I am able to compare two records at a time, but I have no idea to do it when it happens across more than 2 continuous records and not even mention to delete these records and arrange their open date and close date.
    Thank you so much for your help!!

    Hi Albert, 
    We're going to need more information because what you want doesn't quite make sense.  How does
    Result:
    ID Date1 Date2
    1111111 10/14/2009 (blank)
    relate when your original data doesn't have these two dates together? 
    I'm going to make some huge assumptions here so try this. 
    If {table.DATE2} = Date (0, 0, 0) Then
        ToText ({table.ID}, 0, 0, "", "") & ToText (table.DATE1}, "MM/dd/yyyy")
    Else ToText ({table.ID}, 0, 0, "", "") & ToText (table.DATE1}, "MM/dd/yyyy") & ToText ({table.DATE2}, "MM/dd/yyyy") ;
    If Date2 is null then it build a string with just ID and Date1 otherwise build a string with all three fields. 
    Now you can group on this formula to get the distinct values. 
    Hope this helps,
    Brian

Maybe you are looking for

  • Fetching month and year from CV of Time dim

    Hi, I am working on BPC 7 MS version, SP3. I need to fetch Month and Year values from my Current View (i.e., %TIME_SET%) .... and if the month is AUG and year is Current I then want a logic to run... Is this possible?? I have written the following co

  • No quicklook/preview for documents created with Pages 5.5!

    Before opening files and find you can hit the spacebar and have a preview of most of the file types. This always worked well with Pages until the newest version 5.5. Now I can only preview the files created with older versions of Pages. Every file cr

  • How to locate videos stored on ipad

    How to locate videos downloaded to Ipad if not listed under video?

  • 5.1 Audio Interface for Macbook Pro

    I am a theatrical and cinematic sound designer. I own a Macbook Pro (Mid 2012). I would like to start working with 5.1 surround audio, but I have no idea what kind of interface would allow me to use 5.1 audio. Can anyone give me a good recommendation

  • IPhoto Library on iCloud

    Hi, my Mac Book is running out of space because of all my pictures in my iPhoto library. Is there an option of iCloud to transfer my iPhoto library to iCloud, so that all my photos are stored in the web and if I use iPhoto I need to connect through t