Best approach to join several statistical tables in one

I read different approaches to join several statistical tables in one, they all have a column 'productobjectid '.

I want to get all the data for each product and put it in excel, then output a jpg cfchart with statistics.

How would you do that, the part of sql?

Thank you.

Your "abiguous" is caused when you reference multiple tables in your SQL query that have the same field name.

for example

TableA a field 'ID '.

TableB also has a field named "ID".

If your select statement was:

SELECT *.

OF inner join TableA TableB on TableA.myField = TableB.myField

WHERE ID = 4

then SQL would be panic because he doesn't know which field ID in which table you are trying to access.  Your best bet is always prefix your domain names with the name of your table (or an alias - alias are very useful if you have long table names) when you do a Select statement.

Tags: ColdFusion

Similar Questions

  • How to join several tables source and do the research?

    I have a requirement to load a target table by joining 4 source tables. Also, I do a search on a field of table to transform codes and check for NULL values. What will be the best approach for load table target?
    Is it possible to do it in a single interface, or do I need to create multiple interfaces to achieve this?

    My basic source and target are oracle, and I am planing to use incremental update Oracle merge.

    Thank you

    You are in the right direction by creating an interface for this transformation.
    You will need to drag the source drop 4 tables + the lookup table in the Sources of Interface window and then make the appropriate joins.
    Also, look for NULL values in the transformation. Depends on what you want to do with NULL values. If you want to ignore, use a filter.
    If you want to make mistakes, use a constraint.
    If you want to convert them, use NVL

    Start with Oracle Update incremental and once successful, use incremental update Oracle MERGE.

  • Can join us the tables of several databases in the PRD file?

    Hello
    I'm working on the POC project and try to join several databases to create a file of RPD. Lets say I have complete SH schema from Oracle and I want two or three paintings (time and products) from Sybase.
    I want to put sybase TIME and product of the tables in the Oracle SH schema and create joins in the physical layer. When I try to do, it is throughing a mistake... Am I missing something here?

    Is this possible?

    Thank you

    Shivaji

    You did not mention what the error!
    We can create b & w to join tables in different databases
    You must select a database table and as well as another table in the database and
    Right click > physical join > selected tables only...

    This is how to create physical joins... or else you databases and select physical joins...

    It is preferable that you mention, what is the error you get... ??

    Thank you & best regards
    Kishore Guggilla

  • What is the best approach to the conversion of the LV7.1 tags to the variables shared by several screws LV2012?

    What is the best approach for the upgrade of the DSC-LV2012/LV7.1/DSC static variable tags in several screws running on several platforms? Our system is made up of about 5 PC running Windows 2000/LV7.1 DURATION, the more a PLC and a PDC running XP/SP3/LV2012. About 3 PC publish information from the sensor through tags on the local network to the PDC. Only the main command is currently being upgraded. Basic questions:

    1. the other computers running RTÉ 7.1 (with labels) will be able to communicate with the PDC running 2012 (shared variables)?

    2. is it necessary for conversion of tags shared variables, or the deprecated legacy tag screws of LV7.1 work in LV2012?

    3 all of the main controllers will be screw must be integrated in a project in order to use shared variables?

    4 is the only way to do it is to find all the tags and replace them with elements of shared variable?

    Thank you in advance with all the information and advice!

    lb

    Hello lb.

    Datasockets are the common middle only my knowledge between versions, so apart from the upgrade to the same version, they will probably be your best bet.

  • joining several tables to generate data

    with itemlist as

    (select 1 cid, listname 'test', 'r' flg Union double all the)

    Select 2 cid, listname 'test2', ' not flg double

    ),

    category 1)

    Select 1 cid, 122 k' sub '123' catcode, of any double Union

    Select 1 cid, '234i' catcode, sub '124' all Union double

    Select 1 cid, 238 k' void '124' catcode, double

    )

    void)

    Select 1 cid, sub '123' of any union double

    Select 1 cid, sub ' 124' double

    )

    I want to write a static query that gathers all the tables and produces the following output assuming that

    CID is you pass as a parameter

    CID listname flg topic catcode

    1 123 122 k r test

    1 test of r 234i 124

    1 124 238 k r test

    Suppose the data as changes to follow and even cid 1 is to pass as a parameter:

    with itemlist as

    (select 1 cid, listname 'test', 'r' flg Union double all the)

    Select 2 cid, listname 'test2', ' not flg double

    ),

    category 1)

    Select 1 cid, 122 k' sub '123' catcode, of any double Union

    Select 1 cid, '234i' catcode, sub '124' all Union double

    Select 1 cid, 238 k' void '124' catcode, double

    )

    void)

    Select 2 cid, sub '123' of any union double

    Select 2 cid, sub '124' double

    )

    then the output should be

    CID listname flg topic catcode

    1 r test 123

    1 test of r 124

    1 test of r 124

    for a final example, suppose the data now as to user 1 as cid

    with itemlist as

    (select 1 cid, listname 'test', 'r' flg Union double all the)

    Select 2 cid, listname 'test2', ' not flg double

    ),

    category 1)

    Select 2 cid, 122 k' sub '123' catcode, of any double Union

    Select 2 cid, catcode '234i', '124' void in any union double

    Select 2 cid, 238 k' void '124' catcode, double

    )

    void)

    Select 1 cid, sub '123' of any union double

    Select 2 cid, sub '124' double

    )

    output must be

    CID listname flg topic catcode

    1       test            r                 123

    Basically, the user will pass a cid, in this case 1. I'll read the itemlist where cid = 1 and I want to join all the other tables

    to itemlist in such a way that I can generate extra lines.  If no entry is found for cid 1, for example, in category 1 or auxiliary table

    then the beloging column of this table must be null in the result

    can someone help me write a query to produce the output above

    Hello

    elmasduro wrote:

    ...

    Here is an explanation of the output.  a user will have a front screen where it can enter itemlist info.
    then in a submenu may enter a category or sub or both or none of them. the user can select multiple categories or sub
    When the user presses the button Save, an entry will be made in the itemlist table, for example the cid = 1.
    If he choose a category but without Subs, then will be entered into the table at say cid = 1


    but no entries will be made for sub because he chose not to all values.  If he chooses void instead of category values
    then sub taable will fill and category is not. If he chooses the category and under, then both will be filled.

    what I want to do is to join the itemlist with table category and sub table and get the data to the Scriptures, this intervention of the user.
    These entries not found will be the null value column in the result.
    for example, the cid = 1 itemlist, if user enter category but not void, itemlist will be the join with the table category and sub
    but since sub has no entry for the cid = 1, the column object will be empty in the output, but catcode will fill

    I'm so confused.

    It is a query (that is, just a SELECT statement, which shows the data already present in the tables), or is this a DML statement, that will add data to the tables?  If it's just a query, then do not say things like "entries will be taken" or "filled with tables.

    Assuming you want a request maybe you want something like this:

    WITH c_and_s AS

    (

    SELECT NVL (c.cid, s.cid) AS cid

    NVL (c.sub, s.sub) AS topic

    , NVL2 (s.cid, c.catcode, NULL) AS catcode

    CATEGORY 1 c

    FULL OUTER JOIN void s ON c.cid = s.cid

    AND c.sub = s.sub

    )

    SELECT i.cid, i.listname, i.flg

    cs.subject, cs.catcode

    Itemlist I have

    LEFT OUTER JOIN c_and_s ON cs.cid = i.cid cs

    WHERE the i.cid (1) - you can do the cids 2 or several at the same time, if you want to

    ORDER BY i.cid, cs.subject, cs.catcode

    ;

    This example gets the output you asked data sample you posted.

  • Join several Tables versioned

    Hello

    We are working on a data warehousing project and wonder how do to join several tables that each are versioned separately (type SCD 2 with a valid and valid to date).

    Because for example, we get our client from a single source of information (id customer, name, etc.) and the information on the rate of customer from another source.  The sources are different, we have the separate tables for them and each of them gets versioned independently.

    Here's my customer table (with its own valid and valuable to the columns).

    IDName of the customerValid fromValid until the
    1CitiBank1 JANUARY 14JANUARY 1, 15
    1New CitiBank2 JANUARY 15FEBRUARY 1, 15
    1Latest CitiBank2 FEBRUARY 15APRIL 1, 15

    And similarly the Client side ID and rating information.

    IDNoteValid fromValid until the
    1Platinum1 JANUARY 14FEBRUARY 1, 14
    1PremiumFEBRUARY 1, 141ST MARCH 15

    I want to merge the two tables above and present information at a glance.  I have some difficulty to determine validates the valid columns.

    IDName of the customerNoteValid from (Calculated)Valid until the (calculated)
    1CitiBankPlatinum1 JANUARY 14FEBRUARY 1, 14
    1CitiBankPremiumFEBRUARY 1, 14JANUARY 1, 15
    1New CitiBankPremium2 JANUARY 15FEBRUARY 1, 15
    1Latest CitiBankPremium2 FEBRUARY 151ST MARCH 15

    And it's the query I used to get the above result:

    SELECT client. id ,

           customer . name ,

           CRM . level ,

           Greatest (client. vld_fm , crm. vld_fm ),

           Least (client. vld_to , crm. vld_to )

    DE    client client,

           client_rating crm

      client. id = crm. id

           AND ( client. vld_fm <= crm. vld_fm

                 AND client. vld_fm <= crm. vld_to

                 AND client. vld_fm >= crm. vld_fm

                 AND client. vld_fm >= crm. vld_to )

            OR ( client. vld_fm BETWEEN crm. vld_fm AND crm. vld_to )

            OR ( client. vld_to BETWEEN crm. vld_fm AND crm. vld_to );



    The problem is we have several data sources (and each with its own versions) and joins become so very very complex.  Is there a better way to write the query?

    Or maybe a better way to design our tables?

    Thanks for your help.

    Anand

    Hello

    you only need ranges that overlap to join.

    Re: How do to sql query in a loop

    Is a simpler way to test if the x_start to x_stop range comes into conflict with the range of y_start to y_stop

    WHERE     x_start <= y_stop AND     y_start <= x_stop
    

    In other words, two overlapping if and only if everyone will start before the other ends one. If this is not obvious (and it was certainly not clear to me when I heard it), then look at it this way: two ranges are not overlapping if and only if one of them starts after the end of the other.

    Concerning

    Marcus

  • translation vs SQL qry (best approach) table

    Hello

    I use oracle 10g

    I was wondering what would be the best approach to get the answer below.

    create table
    create table rateguaran 
    (rateguarantee        VARCHAR2(200 BYTE))
    INSERT statement
    insert into rateguaran values ('16 Months                     ')
    insert into rateguaran values ('       ')
    insert into rateguaran values ('24 months            ')
    insert into rateguaran values ('2 Years (51+ Lives)           ')
    insert into rateguaran values ('1     ')
    insert into rateguaran values ('3 years    ')
    Please note that this is how I have values in my picture

    power required:

    I need to check the number that precedes the first space. If the number is less than 5, then I need to multiply it by 12. If its null or more than 5 then leave it as it is.

    so is the output that I need to get
    16 months
    
    24 months
    24
    12
    36
    Please advice if I can do this using sql or do I create a table of conversion and get the values of the value to the translation table mapping.

    Thanks in advance.
    SQL> select rateguarantee
      2  ,      case
      3           when substr(rateguarantee, 1, instr(rateguarantee, chr(32))-1) < 5
      4           then to_char(substr(rateguarantee, 1, instr(rateguarantee, chr(32))-1) * 12)
      5           else rateguarantee
      6         end new_rateguarantee
      7  from   rateguaran; 
    
    RATEGUARANTEE             NEW_RATEGUARANTEE
    ------------------------- -------------------------
    16 Months                 16 Months
    
    24 months                 24 months
    2 Years (51+ Lives)       24
    
    1                         12
    3 years                   36
    
    6 rows selected.
    
  • Several 2-table join

    Hello

    I'm trying to join 4 tables in one column and I would return starting with the select statement.

    Tables-> e_sehir

    -> e_pano

    -> e_haberlesme_unitesi

    -> e_io_modulu


    common point

    e_sehir.ID -> e_pano.sehir_ID

    e_sehir.ID -> e_haberlesme_unitesi .sehir_ID

    e_sehir.ID -> e_io_modulu .sehir_ID


    I try to write code below but return of same value. Help me please

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

    / * Formatted on 10/11/2015 12:51:59 AM (PS5 v5.256.13226.35538) * /.

    SELECT S.name,

    COUNT (p.id),

    COUNT (hu.id),

    COUNT (io.id)

    Of e_pano p

    INNER JOIN e_sehir s ON P.IL_ID = s.ID

    INNER JOIN e_haberlesme_unitesi hu ON s.ID = HU. IL_ID

    INNER JOIN e_io_modulu io ON s.ID is IO. IL_ID

    GROUP BY (s.name);

    On my phone, so excuse the formatting.

    In general, I do not count indictment join if I select this table, I use where exists, which may force the optimizer to use loops nested with short circuit. The optimizer will always prefer the concatenation (optimizer speak for union all) in the resolution of the data set, but there are always dependencies on the data and indexes, in any case, I would expect something as below can be quite fast:

    Select sum (pcount) as pcount, sum (hcount) as hcount, sum (ecount) as ecount

    de)

    Select pcount County (p.id), to_number (null) hcount, to_number (null) ecount,

    of e_pano p

    where exists (select null

    of s e_sehir

    where s.id = p.il_id)

    Union of all the

    Select the value null, count (hu.id), null

    of e_haberlesme_unitesi hu

    where exists (select null

    s e_sehir

    where s.id = hu.il_id

    Union of all the

    Select null, null, count (io.id)

    of e_io_modulu io

    where exists (select null

    of s e_sehir

    where s.id = io.il_id)

    )

  • Joining several tables in Oracle DB

    I have the following tables.

    1 AddProject
    -PROJID
    -projName
    2 AddLab
    -Labrador
    -teacher
    3 ProjLabAssociation
    -PROJID
    -Labrador
    4 AddResearchArea
    -raID
    -raName
    5 ProjRAAssociation
    -PROJID
    -raID


    AddProject is associated with tables-AddLab and AddResearchArea
    ProjLabAssociation and ProjRAAssociation are the association of the tables that contain the primary key of the corresponding tables. The two fields in these 2 tables are primary keys.

    If AddProject has 3 entrances - (Proj1, ProjectA) (Proj2 ProjectB), (Proj3, ProjectC)
    AddLab has 2 entrances - (Lab1, Bangalore), (Lab2, Chennai)
    AddResearchArea has 2 inputs - AM1 (Green Computing) (RA2, Cloud Computing)

    ProjLabAssociation has 2 entrances - (Proj2 Lab1), (Proj3, Lab1)
    ProjRAAssociation has 3 entries - (Proj2 RA1), (Proj3, AM1), (Proj3, RA2)


    If I ask by AddLab given for (Lab1, Bangalore), I should get the following columns in the result table
    --------------------------------------------------------------------------------------------------------------------------------
    Table2ID | Table2Name | Table3ID | Table3Name | Table1ID | Table1Name
    Lab1. Bangalore | RA1 | Green Computing | Proj2 | Project b
    Lab1. Bangalore | RA1 | Green Computing | Proj3 | Project c
    Lab1. Bangalore | RA2 | Cloud Computing | Proj3 | Project c
    --------------------------------------------------------------------------------------------------------------------------------

    I tried the following commands but I m getting the expected result

    1.
    SELECT * FROM AddLab al, ProjLabAssociation pl, AddProject ap WHERE al.labID = pl.labID(+) and ap.projID = pl.projID(+);
    A SQLException exception is thrown by saying - java.sql.SQLException: ORA-01417: a table can be external joined as another table

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

    2.
    SELECT * FROM AddLab,AddProject,AddResearchArea WHERE labID in 
    (select al.labID from ProjLabAssociation pl,AddLab al  where al.labID = pl.labID)
    AND projID in
    (select ap.projID from ProjLabAssociation pl,Addproject ap where ap.projID = pl.projID)
    AND themeID in 
    (select ar.raID from ProjRAAssociation pr, AddResearchArea ar where ar.raID = pr.raID)
    AND projID in
    (select ap.projID from ProjRAAssociation pr,Addproject ap where ap.projID = pr.projID)
    ORDER BY labID;
    I do not get results expcted here

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

    Oracle version: 9i 10g / 11g

    Can anyone help me in this.

    Published by: user9205634 on December 22, 2011 03:40

    Hello

    Below the code gives the result

    with table1 as
    (
    select 'Proj1' as table1id,'ProjectA' as table1name from dual
    union all
    select 'Proj2' as table1id,'ProjectB' as table1name from dual
    union all
    select 'Proj3' as table1id,'ProjectC' as table1name from dual
    union all
    select 'Proj4' as table1id,'ProjectD' as table1name from dual
    )
    ,table2 as
    (
    select 'Lab1' as table2id,'Bangalore' as table2name from dual
    union all
    select 'Lab2' as table2id,'Chennai' as table2name from dual
    union all
    select 'Lab3' as table2id,'Delhi' as table2name from dual
    )
    , table3 as
    (
    select 'RA1' as table3id,'Green Computing' as table3name from dual
    union all
    select 'RA2' as table3id,'Cloud Computing' as table3name from dual
    )
    ,table1table2 as
    (
    select 'Proj2' as table1id,'Lab1' as table2id from dual
    union all
    select 'Proj3' as table1id,'Lab1' as table2id from dual
    union all
    select 'Proj3' as table1id,'Lab2' as table2id from dual
    union all
    select 'Proj4' as table1id,'Lab3' as table2id from dual
    )
    ,table1table3 as
    (
    select 'Proj2' as table1id,'RA1' as table3id from dual
    union all
    select 'Proj3' as table1id,'RA1' as table3id from dual
    union all
    select 'Proj3' as table1id,'RA2' as table3id from dual
    )
    select t2.table2id,t2.table2name,t3.table3id,t3.table3name,t1.table1id,t1.table1name
    from table1 t1,table2 t2,table3 t3,table1table2 jt1t2,table1table3 jt1t3
    where
    jt1t2.table2id=t2.table2id and
    t1.table1id=jt1t2.table1id and
    jt1t3.table1id(+)=jt1t2.table1id and
    t3.table3id(+)=jt1t3.table3id
    order by t2.table2name,t3.table3id;
    
    TABLE2ID TABLE2NAME TABLE3ID TABLE3NAME      TABLE1ID TABLE1NAME
    -------- ---------- -------- --------------- -------- ----------
    Lab1     Bangalore  RA1      Green Computing Proj2    ProjectB
    Lab1     Bangalore  RA1      Green Computing Proj3    ProjectC
    Lab1     Bangalore  RA2      Cloud Computing Proj3    ProjectC
    Lab2     Chennai    RA1      Green Computing Proj3    ProjectC
    Lab2     Chennai    RA2      Cloud Computing Proj3    ProjectC
    Lab3     Delhi                               Proj4    ProjectD   
    
     6 rows selected 
    

    Kind regards
    Prabhu

  • Best approach for the design of the Radial Image - sector scanning Sonar

    This is not a problem, but you are asked to think about the best approach.

    I need a sector sonar image data.  This device runs on 360 (degree sub-segments) and generates a set of data from the origin - radially outwards at an angle of no - to an endpoint.  Therefore, for each 'ping' sonar I need data points in the center of a circle graph, a radial angle on the outside.

    I don't know if I should use LabView vi for the drawing tools, or go to ActiveX or?

    Anyone has a suggestion on the best approach to this?

    Thank you
    Peter

    Peter,

    You can use a chart of the LabVIEW intensities for this kind of display.

    Maybe not the best way, but it is possible.

    As an attachment, I did an example with your specifications.

    datapoints 1024 by degree

    See example image:

    Basic principle:

    -Create the matrix of 2048 x 2048 points database

    -For each 'line of angle' calculate which pixel to replace each data point in the line

    -Because "datapoints" becoming bigger, far from the Center, repeat the action for several "sup angles. for example, to 85 deg also Calc. 84.6, 84.8, 85, 85.2 85.4

    It gives you an idea of the possibilities, but performance may be necessary.

    -Only external Calc x pixels more degrees

    -Do some kind of anti-aliasing to avoid the pixelated lines.

    See attached example. (LV 8.6)

  • Best approach to upgrade to 2015 CC and keep still

    I think upgrade to 2015 CC and I don't want to continue to use it yet.  However, it still is not part of the CC and the latest version is always CS 6.

    What is the best approach?  Should I still install CS6 first, then Premiere Pro & etc. CC 2015?

    Thank you

    Yes. You can get the quirks with several versions installed, but CC added on top of used CS6 PS CC for me the last time I did this sequence.

    Note that EN CS6 will run under your subscription of the CC, not the original of licence #. You get disconnected, so ask for a license number or give one of his weird messages (does not work in nonseialized blah blah). Just take exit, connect to your subscription, and then open them IN. Log in and open, but will not ask for PR CC.

    If ever, you get rid of the subscription of the CC, you may uninstall/cleaner/reinstall CS6 with your serial number to use.

  • Copy the result of a join to another table

    Hi all

    I want to copy the join of two tables in another table. I tried the following approach, but I have error

           insert into new_copy  values (ID,name,na_name)   
           SELECT
             name
            FROM
              country u
            INNER JOIN
              (
                SELECT
                 na_name
                FROM
                  country2 st
              )
              s
            ON
              u.id = s.ID;
    
    1. insert into new_copy (ID, name, na_name)
    2. SELECT i.id, u.name, s.na_name
    3. COUNTRY u
    4. INNER JOIN s countries2 ON u.id = s.id

    must be done

  • Table 2 join vs inline view join to another table

    Hi, I was wondering if it makes a difference of 2 tables to join directly vs join of a table to a view online. I ran a few tests of my own and looked like to explain plans. The costs appear to be identical between each method. But, I was wondering if there are situations where a method should be used on the other.

    Using Oracle version 11.2.0.2.0

    The tables are as follows.

    Table1 (varchar2 (20) col1, col2 number)
    Table2 (col1 number, col2, col3 number)

    insert into table1 values ('test1', 1).
    insert into table1 values ('test', 2)
    insert into table2 values (1, 2, 4)
    insert into table2 values (2, 2, 4)


    Here is an example that I use.

    Select a.col1, b.col3
    FROM table1, table2 b
    where a.col2 = b.col2
    and a.col1 = 'test '.

    Select a.col1, b.col3
    FROM table1, (select col2, col3 from table2) b
    where a.col2 = b.col2
    and a.col1 = 'test '.

    Published by: arizona9952 on December 29, 2012 12:49

    Hello

    arizona9952 wrote:
    Hi, I was wondering if it makes a difference of 2 tables to join directly vs join of a table to a view online. I ran a few tests of my own and looked like to explain plans. The costs appear to be identical between each method.

    About efficiency, it does not matter that you use. The online display will not necessarily be performed first. The optimizer chooses what it thinks is the best plan anyway.

    But, I was wondering if there are situations where a method should be used on the other. Here is an example that I use.

    Select a.col1, b.col3
    FROM table1, table2 b
    where a.col2 = b.col2
    and a.col1 = 'test '.

    Select a.col1, b.col3
    FROM table1, (select col2, col3 from table2) b
    where a.col2 = b.col2
    and a.col1 = 'test '.

    I can't imagine any situation where the choice between these two issues. But consder the query below:

    SELECT  a.col1
    ,      b.col3
    FROM     table1 a
    ,      (          -- Begin in-line view b
             SELECT  col2
             ,          col3
         --  ,         ROWNUM     AS r_n
             FROM    table2
             WHERE   col2_type     = 'NUMBER'
         ) b               -- End in-line view B
    WHERE     a.col2     = TO_NUMBER (b.col2)
    AND     a.col1      = 'test'
    ;
    

    Suppose table2.col2 is a VARCHAR2 and table2.col2_type correctly identifies if col2 can be converted to a NUMBER. The above query might get conversion errors, because the optimzer may decide to join first and evaluate the WHERE col2_type = 'NUMBER' later condition, how to make sure that doesn't happen is different depending on whether you use a subquery or not. If you use a sub0 query (such as display online above) you can add a reference to ROWNUM in the subquery, as displayed if commnet line.

  • Remove the performance of a large table or several small tables.

    I have a table with 30 million lines, that is used in a statistic application developed in home treatment.

    In the process, there is an application that will scan old records and then remove them from the database.

    I'm looking for a way to improve it, and I am currently faced with alternatives:

    Option #1
    Separate the old records into several smaller tables, and then run several copies of the application, a single instance of the application by the smaller table.

    Option #2
    Use additional criteria to when choosing the rows of the table (which would be indexed on), an execution mulltiple of copies of the application based on the criteria.

    From a logistical point of view, I'd prefer Option #2, my only concern with him is what's performance comparrison between:

    50 processes Delete form 50 small individual tables with 100,000 rows in each
    vs
    50 to a table with more than 30 million lines removal process

    Anyone has any experience on a preview?

    We use an instance of Oracle 9i, no partitioning.

    Unfortunately I don't have a lot of control in the application or make major changes to Oracle.

    940507 wrote:
    It redundant seams, one of the reasons why I prefer Option 2, using additional criteria...

    I just need to make sure that when 20 process attempts to remove it from the same table with 30 + million lines, the contetion on the updating of the table, index... will not introduce a point of suffocation.

    This can vary widely based on the distribution of data and model of data access. Oracle accesses data in blocks, so if someone updates an another line of the block while you delete, you could get a transaction wait. For playback from your deletion, Oracle is good, not blocking, but compromise can be a lot of waiting. If your data in the table such as two of your processes to remove from the same block, you could come back here crying on the performance and have people laugh design.

    Rather than the mud things with more java spawning process, you may need to perform these deletions by a single stored procedure with very specific criteria. Then, rather that dealing with the issues of contention, you serialize everything to go as soon as possible and reduce to a minimum the block copy and cancel demand to keep multiuser. Oracle is biased in favor of adding data instead of delete, add will always be potentially more fast-able.

    Think about this: http://jonathanlewis.wordpress.com/2011/04/19/more-cr/

  • Reset the AF:Popup / variable PageFlowScope - best approach?

    Hi all

    Some advice on the best approach to take here...

    I have a link on a table, once activated, I use property set operations to move an af:popup a number of PageFLowScope settings that are limited to the entrance of the text elements. Then I have a method that will take the values of these elements and execute a stored procedure of the database... Everything works great!

    I have also an AF:Message which will return a message based on the output variable inside... IE if return1 = SUCCESS or return1 = ERROR THEN displays a special message.

    When I close this popup and select this option to change another line, the message always appears as the return parameter is always filled.

    So I think I need to reset this parameter with a NULL value.

    I don't know how to do this...

    Also, I suspect that if I use taskflow and JSFF page, it will open a new transaction, where no problem, however I could not find a way to open a jssff in a new window / popup. Right now my jsff replace my whole page.

    Again, help or advice much appreciated.

    Simo

    Try to use the popupFetchListener to clear/init of your popup, make sure that contentDelivery is defined as lazyUncached for the popup. If your data page and popup parent are very tightly coupled, and you don't need to reuse the popup around elsewhere in the application, you may not go to taskflow.
    http://jdevadf.Oracle.com/ADF-richclient-demo/docs/tagdoc/af_popup.html

Maybe you are looking for

  • No Satellite M70-166 no reaction when the AC adapter is connected

    Hello! I have a problem with my Toshiba Satellite M70-166.When I connect the charger, the laptop turns on for a while, then turns off. What can I do to diagnose the problem and what should be the voltage of the plug for the connection of the battery?

  • Stripchart digital output?

    Hello I want to draw my Stripchart outing. Is this possible? I am usind USB-6221 Thank you

  • E-mail live contacts - customize available to address

    How can I customize the provision of addresses of contacts in Windows Live Mail? The current provision is without hope for European addresses. It is suitable for US users, but it does not work for the rest of the world who need additional addresses l

  • Deploy multiple files of cod with a single jad file

    I am developing two applications, A and B, I want to deploy the web as a single package; the desired user experience, it is that the user click on a single link and the two applications is installed. I have a file of the cod and cod file B, and I wan

  • Problem with LAN adoption of Windows 7 Ultimate

    I have laptop HP PROBOOK 445 G1 and I installed Window7 ultimate OS and network found problem.so please suggest how this will work fine.