Question about selection table analysis

Dear All,
My last post was closed by the moderator so I would like to ask a different question. Please apologize if my question is trivial.
1. There is a selection table seltab with one fields of type I, with the following contents:
I     GT     3     0
I     NE     8     0
The literature eg. ABAP Objects says that the control statement like IF or CASE can be used with logical expression IN.
Now I am checking if the variable test fulfills the conditions defined by the selection table.
DO 10 TIMES.
  IF test IN seltab.
    write test.
  ENDIF
  test = test + 1.
ENDDO.
As a result I get a full list of values.
1 2 3 4 5 6 7 8 9 10
2. Now, if the table contains
I     GT     3     0
I get
4 5 6 7 8 10 as expected
3. If the table seltab contains
I     NE     3     0
the result also seems to be ok
1 2 4 5 6 7 8 9 10
The final question is. Is it true that the logical expression IN cannot be used with IF for more complex data comparisions?
Thanks,
Grzegorz

Well,  the contents
I GT 3 0
I NE 8 0
I read as:
the variable fulfills the condition if is greater than 3 and not equal 8
test > 3 and
test <> 8
which should give the result from the example above a list
4 5 6 7 9 10
What is wrong with my analysis?
Regards,
Grzegorz

Similar Messages

  • Question about Update Tables

    Hello Gurus,
    I have a question about "update table" entries. I read somewhere that an entry in update table  is done at the time of the OLTP transaction. Is this correct? If so, does this happen on a V1 update or V2 update? Please clarify. Similarly, an entry in the "extraction queue" (incase you are using "queued delta" will happen on V1 update. I just want to get a clarification on both these methods. Any help in this matter is highly appreciated.
    Thanks,
    Sreekanth

    Hi
    update tables are temporary table that are refreshed by v3 job.update table is like buffer, it gets filled after updation of application table and statistical table through v1 v2 update .  we can bypass this process by delta methods.
    M Kalpana

  • Question about selecting vector paths in Photoshop

    Hi, I have a question about selecting path points in photoshop.
    This is the setup. I have a vector shape layer (the redi circle). but that's placed inside a group with a vector mask (the black pentagon). What I want to do is select parts of the red circle using click and drag) so I can modify portions of the circle).
    This is Photoshop's behavior as I've noticed it. Photoshop likes to select the shapes for you, and will target layers on its own when you use the Path Selection Tool. It tends to want to select the top most shape. If I target the shape layer first, I can use the Direct Selection tool to select individual points. I can add selected points bu shift+clicking.This is all well and good.
    If I try to select multiple points using click+drag though, it gets a bit weird.
    If I try to click+drag to select multiple points from within the vector mask (from the black), it will fail and select the vector mask. If i try to click+drag to select multiple points from outside the vector mask (from the white), then it will allow me to select points from my vector shape like i intended.
    I could also shift click to hide the vector mask, and it will work the way i want.
    Is there an easy way to tell photoshop not to auto target vector shapes? or a better way to select paths inside vector masks?
    Thanx for any input

    canvai wrote:
    Is there an easy way to tell photoshop not to auto target vector shapes? or a better way to select paths inside vector masks?
    Sure.
    Simply click once on the vector mask for the shape layer (red circle) to highlight that vector mask in the Layers Panel. Then when you click-drag the anchors of that path will be selected, not the group's path.
    If you have no mask highlighted, Photoshop assumes it should select the first path it comes in contact with.

  • Question about making tables in Pages :-)

    Hello! I can't resize tables in Pages. I can drag them downwards but not horizontally! Anyone know why or what I can do about it? Thanks!

    HI promises,
    Do you men you can increase the size of a table vertically, but not horizontally?
    Tables are inserted as inline objects. Inline objects are treated like text, and are bound by the text margins set for the document (or for a layout within the document). When inserted, their width defaults to the maximum allowed.
    In the image, you can see the margin stops at 1 and 7.5 inches (indicated by blue arrows). You can't make the inline table any wider, but you can make it narrower.
    Click away from the table to deselect any cells that may be selected, then click once on the table to select the whole table. Use the mouse to grab the handle at the center of the right edge of the selected table, and drag left to decrease the width of the table. All columns will narrow proportionally:
    Move the smaller table left or right using the Text formatting tools avilable—the alignment buttons or a tab character and a tab stop.
    Regards,
    Barry

  • One question about Selection screen

    Hi experts,
    I am writing a report, on the selection screen, I need to input the file path and then do the file upload.
    My question is about how to check the file path I put is correct or not? If it is incorrect, I want to get a message and the cursor still in the field and don't jump to the next page.
    How can I do like that?
    Any one has any suggestion, please help me.
    Thanks in advance.
    Regards,
    Chris Gu

    Hi Chris,
        do it this way: check my code after calling gui_upload what condition i am using.
    parameters:
      p_file type rlgrap-filename.          " File name
    *           AT SELECTION-SCREEN ON VALUE-REQUEST EVENT               
    at selection-screen on value-request for p_file.
      perform get_file_name.
    *                       AT SELECTION-SCREEN EVENT                    
    at selection-screen on p_file.
      perform validate_upload_file.
    *  Form  GET_FILE_NAME                                               
    form get_file_name.
      call function 'F4_FILENAME'
       exporting
         program_name        = syst-cprog
         dynpro_number       = syst-dynnr
         field_name          = ' '
       importing
         file_name           = p_file.
    endform.                               " GET_FILE_NAME
    *  Form  VALIDATE_UPLOAD_FILE                                        
    form validate_upload_file.
      data:
        lw_file  type string.              " File Path
      lw_file = p_file.
      call function 'GUI_UPLOAD'
        exporting
          filename                    = lw_file
          filetype                    = 'ASC'
          has_field_separator         = 'X'
          dat_mode                    = 'X'
        tables
          data_tab                    = t_final_data.
      IF sy-subrc ne 0 and t_final_data is initial. " here message if file path is wrong
        Message 'File not found' type 'E'.
      ELSEIF sy-subrc eq 0 and t_final_data is initial.
        Message 'File empty' type 'E'.
      ENDIF.                              
    endform.                               " VALIDATE_UPLOAD_FILE
    With luck,
    Pritam.
    Edited by: Pritam Ghosh on May 8, 2009 8:57 AM

  • Question about temporary tables and imports.

    Hello everybody.
    Interesting one this. We have an application that uses global temporary tables. We refresh live to test using import of the application schema. I noticed when doing this yesterday that the temporary tables were being recreated in test as perminant rather than temporary.
    Is there a reason for this? Has anyone come across this before? Is there a way around it (apart from manual checking)?
    Many thanks
    Rup

    Could you specify how you found out that it is coming in as permanent?
    I believe exp/Imp will export and import it is Temporary table. I have just done a simple test to check and it works fine;
    Here is my test log:
    SQL> connect scott
    Enter password:
    Connected.
    SQL>SQL> CREATE GLOBAL TEMPORARY TABLE test_global
      2          (startdate DATE,
      3           enddate DATE,
      4           class CHAR(20))
      5        ON COMMIT DELETE ROWS;
    Table created.
    SQL>  select table_name,temporary from user_tables where table_name='TEST_GLOBAL';
    TABLE_NAME                     T
    TEST_GLOBAL                    Y
    SQL> select table_name,temporary from user_tables;
    TABLE_NAME                     T
    DEPT                           N
    EMP                            N
    BONUS                          N
    SALGRADE                       N
    TEST_GLOBAL                    Y
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
    C:\Documents\dbmsdirect\Testing\global>exp
    Export: Release 10.2.0.2.0 - Production on Wed Feb 20 12:18:45 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Username: scott
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
    Enter array fetch buffer size: 4096 >
    Export file: EXPDAT.DMP > test_global
    (2)U(sers), or (3)T(ables): (2)U > t
    Export table data (yes/no): yes >
    Compress extents (yes/no): yes >
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    server uses AL32UTF8 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    Table(T) or Partition(T:P) to be exported: (RETURN to quit) > test_global
    . . exporting table                    TEST_GLOBAL
    Table(T) or Partition(T:P) to be exported: (RETURN to quit) >
    Export terminated successfully without warnings.
    C:\Documents\dbmsdirect\Testing\global>sqlplus /nolog
    SQL*Plus: Release 10.2.0.2.0 - Production on Wed Feb 20 12:19:50 2008
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> connect scott
    Enter password:
    Connected.
    SQL> drop table test_global purge;
    Table dropped.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
    C:\Documents\dbmsdirect\Testing\global>imp
    Import: Release 10.2.0.2.0 - Production on Wed Feb 20 12:20:19 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Username: scott
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
    Import file: EXPDAT.DMP > test_global.DMP
    Enter insert buffer size (minimum is 8192) 30720>
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    List contents of import file only (yes/no): no >
    Ignore create error due to object existence (yes/no): no >
    Import grants (yes/no): yes >
    Import table data (yes/no): yes >
    Import entire export file (yes/no): no > yes
    . importing SCOTT's objects into SCOTT
    . importing SCOTT's objects into SCOTT
    Import terminated successfully without warnings.
    C:\Documents\dbmsdirect\Testing\global>sqlplus /nolog
    SQL*Plus: Release 10.2.0.2.0 - Production on Wed Feb 20 12:22:44 2008
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> connect scott
    Enter password:
    Connected.
    SQL>
    SQL> select table_name,temporary from user_tables;
    TABLE_NAME                     T
    DEPT                           N
    EMP                            N
    BONUS                          N
    SALGRADE                       N
    TEST_GLOBAL                    Y
    SQL> insert into TEST_GLOBAL values (sysdate,sysdate,'test1');
    1 row created.
    SQL> select * from TEST_GLOBAL;
    STARTDATE ENDDATE   CLASS
    20-FEB-08 20-FEB-08 test1
    SQL> commit;
    Commit complete.
    SQL> select * from TEST_GLOBAL;
    no rows selected
    SQL>  select table_name,temporary from user_tables where table_name='TEST_GLOBAL';
    TABLE_NAME                     T
    TEST_GLOBAL                    Y
    SQL>

  • Question about dual table

    Hi,
    Can anyone clarify me this
    Can I insert rows into dual table (being a programmer) ?? Using oracle 9i ... If no, can DBA do that ??? Say suppose, I have inserted 100 records in the dual table .. In any way, my applications are going to get hampered after inserting the records in the dual table
    Regards

    Or perhaps this:
    SQL> SELECT * FROM
      2  ( select rownum from dual connect by rownum <= 10 );
        ROWNUM
             1
             2
             3
             4
             5
             6
             7
             8
             9
            10
    10 rows selected.In 9i at least you most certainly can insert into sys.dual, which is a regular table in the SYS schema, although you deserve all you get if you do so:
    /Users/williamr: su - oracle
    Password:
    /Users/oracle: sqlplus '/ as sysdba'
    SQL*Plus: Release 9.2.0.1.0 - Developer's Release on Fri Mar 10 19:21:45 2006
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Developer's Release
    With the Partitioning and Oracle Data Mining options
    SQL> SELECT COUNT(*) FROM sys.dual;
      COUNT(*)
             1
    1 row selected.
    SQL> INSERT INTO dual VALUES ('Z');
    1 row created.
    SQL> SELECT COUNT(*) FROM sys.dual;
      COUNT(*)
             2
    1 row selected.
    SQL> set serverout on
    SQL> EXEC DBMS_OUTPUT.PUT_LINE(user);
    BEGIN DBMS_OUTPUT.PUT_LINE(user); END;
    ERROR at line 1:
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "SYS.STANDARD", line 264
    ORA-06512: at line 1
    SQL> roll
    Rollback complete.
    SQL> EXEC DBMS_OUTPUT.PUT_LINE(user);
    SYS
    PL/SQL procedure successfully completed.
    SQL> So it is technically possible, but monumentally inadvisable to mess about with sys.dual.
    For a rather surreal suggestion related to this scenario, see:
    oracle-wtf.blogspot.com/2006/03/create-your-own-dual-table.html

  • SSMA (Access - SQL 2012) newbie question about new tables

    I have successfully run SSMA and moved the back end tables of an Access project to SQL Express 2012.
    Some questions:
    - if I add a new table to the SQL backend, how do I get it to appear in the Access project?
    - if I want to move the whole thing to another computer, how do I go about it?
    - do I always have to have the SSMA app installed?
    - I can't see an ODBC datasource on the machine
    Thanks for some help
    CarolChi

    Thanks, I was not clear in my questions:
    1. Given that from now on the tables should all be in SQL, I think it would be better to create new tables in SQL them there rather than create them in Access and have to keep moving them to SQL with SSMA. So if I create a new table in SQL how can I
    see it in Access? Or can I easily create a linked table in Access?
    The table created by SSMA have this property:
    If I create a new table in SQL and link it I get a more classic ODBC connection:
    2. I am happy with SQL backup/restore, attach/detach. But how does Access know where the SQL Database has gone?
    3. I thought the migration was a one time task, but from what you say it is an ongoing "linking" app. So I would be better to export my tables and re-link them to get something that can be moved to another network or computer?
    4. The SSMA looks very much like an ODBC connection.
    This is a new project so I will have to make lots of new tables and also move the whole thing around to different computers, on different networks.
    CarolChi

  • Question about multiple tables and formulas in numbers

    I  was wondering about having a formula that effects one table based on data in the other table. I have a spreedsheet that i created for work. In column A is a list of addresses. In column B-ZZ is a list of "billing codes" the get applied to the service work done for that address.Its kind of difficult to look at this large spreadsheet on my iphone and edit it on the go. Is there a way to, Have another column, possibly on sheet 2 or something, where i type in these "billing codes" and they would fill an x or some other character in cell that corrisponds with that billing code on that address line? So to be as plain as possible, I want to enter data in one cell (another sheet if possible) and have it "mark" another cell in response to the specific data on that "entry cell." Im thinking this way because instead of scrolling back and fourth on the sheet on my iphone, to "mark" the boxes, i could just navigate to sheet 2 enter the data, or "billing codes" and they would "X" the cell that would match up with the code column and address row. each address row would have a seperate "entry field" in sheet 2, to make the formula easier. thanks for any help

    Tom,
    That's a lot of columns for jsut a table of marks that reflect an input. Sure, you could have each cell in that giant table check to see if some corresponding cell contains certain text, but that document is going to be slower than you might be able to tolerate.
    Jerry

  • Question about select query.

    Hi,
    i want to insert the result of query to a table,
    all the fields are corresponding except one field.
    is there a way to this or i need to do
    insert ( f1 , f2 ....)
    i did this way
    INTO CORRESPONDING FIELDS OF TABLE It_Return_Date
    but i have another field which i want to insert to table.
    is it possible??
    10X

    lets say you are getting values from a table
    select & into X_TAB1 from TAB1.
    data : x_tab2 type table2.
    x_tab2-newfield = 'new value'. "Populate that new field value
    move corresponding X_TAB1 TO X_TAB2. "all other will copy here
    then use X_TAB2 to insert to your TABLE2.
    INSERT TABLE2 FROM X_TAB2.
    it would be a good practice to use same structure of the table while you use Insert/modify etc.. commands.
    else you can declare TABLES ZTABLE2.
    MOVE CORRESPONDING ZTABLE1 TO ZTABLE2.
    ZTABLE2-NEW_FIELD = <NEW VALUE>.
    then use INSERT.
    INSERT ZTABLE2.
    Regards
    srikanth
    Message was edited by: Srikanth Kidambi

  • Question about GLPCA table

    hi gurus,
    i need to find a relation between profit center and G/L account to do same reporting on charges by profit centers.
    in table GLPCA i have the fields i need, but i have a question: are all the charges traced in this table (GLPCA) ? in other words are all the vendors invoices present in this table.
    Thank you.

    Only for those entries in which profit center is assigned.
    Eg :Say expenses or revenue for which profit center is assigned directly. only the expenses line item(i.e Dr) or revenue line item (i.e CR) alone will be there in GLPCA.
    But in BSEG you can find both the entries(Dr & Cr) for the same doc, which you cant find in GLPCA.
    Hope you understood.
    else revert
    Reg
    Sujai

  • Question about multiple table JOIN syntax

    Good morning,
    I'm trying to join three tables and getting an error. Here is the query:
    with
      p (messageid, parentmessageid, subject) as
        select 2001, null, 'xyz'    from dual union all
        select 2002, 2001, 'ngh'    from dual union all
        select 2003, 2001, 'nghj'   from dual union all
        select 2004, 2001, 'pppp'   from dual union all
        select 2005, null, 'hhhhh'  from dual union all
        select 2006, 2005, 'hhhhj'  from dual
      m (thread, messageid) as
        select 1004, 2001           from dual union all
        select 1005, 2006           from dual
    select p2.messageid, p2.parentmessageid, p2.subject
      from (p p2 left outer join m m2
                              on (p2.parentmessageid = m2.messageid))
           join m m3
             on m3.messageid = p2.messageid
    ;                which gives an "ORA-00918: column ambiguously defined.
    I can't figure out why it gives that error. I fail to see the ambiguity.
    Thank you for helping,
    John.
    P.S: In case someone wants to get a good laugh, here is a "solution" that does not have any ambiguity:
    with
      parentchild (messageid, parentmessageid, subject) as
        select 2001, null, 'xyz'    from dual union all
        select 2002, 2001, 'ngh'    from dual union all
        select 2003, 2001, 'nghj'   from dual union all
        select 2004, 2001, 'pppp'   from dual union all
        select 2005, null, 'hhhhh'  from dual union all
        select 2006, 2005, 'hhhhj'  from dual
      messagethread (thread, messageid) as
        select 1004, 2001           from dual union all
        select 1005, 2006           from dual
      j1 as
       select p.messageid, p.parentmessageid, p.subject, m.thread
         from parentchild                     p
              left outer join messagethread   m
                           on p.parentmessageid = m.messageid
      j2 as
       select j1.messageid, j1.parentmessageid, j1.subject, j1.thread, m.thread t2
         from j1 left join messagethread m
           on j1.messageid = m.messageid
    select j2.messageid, j2.parentmessageid, j2.subject, nvl(j2.thread, t2)
      from j2
    order by messageid
    ;

    440bx - 11gR2 wrote:
    Hi Sven,
    >
    I guess the explain plan woudl show that there is some strange query rewrite going on. Where the outer join is added later then needed and therefore the columns do not match anymore as it was in the original query.
    >
    Is there a "hint" that could be used to test that hypothesis ?
    John.I tried NO_QUERY_TRANSFORMATION and MATERIALIZE but the error still was there. So it might not be a problem of rewriting the query.
    However I checked the explain plan for a similiar query which is working.
    sql> with
      2    p as ( select 2002 messageid, 2001 parentmessageid, 'ngh' subject   from dual)
      3   ,m as ( select 1004 threadx, 2001 messageid2 from dual )
      4   ,m3 as ( select * from m)
      5  select *
      6  from p p2
      7  left join m m2 on p2.parentmessageid = m2.messageid2
      8  join m3 on m3.messageid2 = p2.messageid
      9  ;   
    no rows selected
    Execution Plan
    Plan hash value: 4005120224
    | Id  | Operation           | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT    |      |     1 |     2 |     0   (0)|          |
    |*  1 |  FILTER             |      |       |       |            |          |
    |   2 |   NESTED LOOPS OUTER|      |     1 |     2 |     6   (0)| 00:00:01 |
    |   3 |    NESTED LOOPS     |      |     1 |       |     4   (0)| 00:00:01 |
    |   4 |     FAST DUAL       |      |     1 |       |     2   (0)| 00:00:01 |
    |   5 |     FAST DUAL       |      |     1 |       |     2   (0)| 00:00:01 |
    |*  6 |    TABLE ACCESS FULL| DUAL |     1 |     2 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(NULL IS NOT NULL)
       6 - filter(NVL2(ROWID(+),2001,NULL)=2001)
    Statistics
              0  recursive calls
              0  db block gets
              0  consistent gets
              0  physical reads
              0  redo size
            357  bytes sent via SQL*Net to client
            231  bytes received via SQL*Net from client
              1  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              0  rows processed
    sql> I can remember some other thread here where a very similiar filter criteria was also mentioned in the context of a "bug".

  • Question about sequence table

    hello
    when i set up the sequence table within the mapping work bench,i DON'T select write it to database,i wonder if i need to generate the class code for the sequence table,and put it in my project source files package with all of the other table class code?
    otherwise,as i have said,during my creating the sequence table,i don't select to write it to the database,but now,i want to write it to the database,how can i do?
    which one is the better solution?writing the sequence table to database?or not?
    thank you

    I would recommend writing the sequence table to the database from the Mapping Workbench. If you export a DDL file for all of the tables, the sequence table will be included in this definition as well.
    I might mention one more point however. After creating the sequence table, it will need to be initialized for each descriptor which uses a sequence. You can do this either by manually inserting rows of data or by using TopLink's SchemaManager:
         SchemaManager manager = new SchemaManager(session);
         manager.createSequences();          
    The SchemaManager (from package oracle.toplink.tools.schemaframework) must be initialized with a logged in TopLink DatabaseSession.
    JIM

  • Question about ADF Table's detailStamp component..

    Hi,
    I've written a skin... The thing is I want that table placed inside detailStamp component to have a bit lower height rows than the containing table.. but keeping the same skin. Is it possible somehow? It's very urgent..

    Hi
    thank you for reply.
    indeed i used that weblog before , one i used and i am happy with is that tab menu system.
    just create a xml file and your menu with enough security is ready to go.
    but i can not understand how i should use this example method for my own requirement.
    so let me explain what i need to do :
    I have a javascript based menu in my web application.
    one its item is that a user click on it and he /she can see his/her transactions.
    so it is a javascript menu and not a command button or command link.
    and i can not use any java code when user select that item (maybe it is possible to use java code but i do not now how i can do it).
    when user select transactions item , application will open /faces/transactions.jsp .
    now in transactions.jap i have a table that i should user transactions to him . but i do not know how to filter the view object when this page is going to be opened.
    i searched and asked and i found that i should use bind variable and.... .
    now i declared a bind variable for userID in transaction view but i do not know how i can set value of this variable .
    what i thought is :
    1-set the variable in java code of viewObject , for example in its constructor .
    2-write some scriptlet in transactions.jsp to set value of that variable.
    3-maybe jdev has some drag drop / wizard stuff to bind that variable in query to the variable in managed bean.
    as this view is allways filtered with that userID for each session i think if i could bind it to userID property of managed bean my problem will be solved.
    which of the above way is correct way to do ?
    thanks

  • Question about temporary table population

    Hi ,
    I wrote a stored proc to populate a temp table inside a pacakage.
    I call that package in visual studio.
    As it's a temporary table , the table get deleted as soon as the session over .
    The Is there a way to c the table content ?
    PROCEDURE edr_class_by_hour_use_per_veh
       in_report_parameter_id   IN      report_tasks.report_task_id%TYPE
    IS
    BEGIN
      DELETE FROM edr_lane_by_class_report_data;
      INSERT INTO edr_lane_by_class_report_data
          site_id,
          site_lane_id,
          bin_start_date_time,
          v_class,
          v_lane,
          lane_count
      SELECT
              site_id,
              site_lane_id,
              bin_start_date_time,
              v_class,
              v_lane,
              COUNT(1)
        FROM (SELECT site_id,
                     site_lane_id,
                     ( SELECT NVL(MAX(interval_start_date_time), date_time)
                         FROM edr_rpt_tmp_grouping_table
                     WHERE interval_start_date_time <= date_time) bin_start_date_time,
                     NVL(traffic_class.v_class, 0) v_class,
                     NVL(traffic_record.lane, 0)   v_lane
                FROM edr_lane_by_class_per_veh_data
                LEFT OUTER JOIN traffic_class
                             ON traffic_class.record_id = edr_lane_by_class_per_veh_data.record_id
                LEFT OUTER JOIN traffic_record
                             ON traffic_record.record_id = edr_lane_by_class_per_veh_data.record_id             
              )vehicles
        GROUP BY site_id,
                 site_lane_id,
                 bin_start_date_time,
                 v_class,
                 v_lane;
    END edr_class_by_hour_use_per_veh;Edited by: Indhu Ram on Nov 25, 2009 12:29 PM

    Hi,
    You must have commited the rows for temporary sake with "on commit preserve rows"
    Refer to doc
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/tables.htm#7832
    - Pavan Kumar N
    Oracle 9i/10g - OCP
    http://oracleinternals.blogspot.com/

Maybe you are looking for

  • How to add comments in IP so that no multiple lines are created?

    Hi, I have a problem with adding free text in IP. I'm using this How-to guide: How to Flexibly Change Characteristic Values and Comments in BI Integrated Planning http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10d2b273-0e12-2c10-fab3-a34bde55

  • Error Opening After Effects CS3 - cannot load AERes1.dll

    Hello, When I try to open After effects I get this Error "cannot load AERes1.DLL" I tried to reinstall after effects and it didnt dfix the problem. I uninstalled the entire Master collection CS3 and reinstalled and the problem didnt solve. I could op

  • Methods Layout

    Dear All, With regard to Methods Layout definition for Inter unit elimination, it is mentioned in the SEM 240 book, " specify whether you want the method to have steps. If so drag at least one characteristic to fast entry".  Please advise which one i

  • Why Firefox5 is very, very slow in responding, keep getting the message Firefox not responding

    It is very slow when opening e-mails -- say" connecting" and stays at that point for 3-4 min. and then say Firefox not responding. This happens when I open some websites too why? How do I correct it.

  • WebKit/GTK problem - gcc not finding function

    If I attempt to compile a little program I'm working on, this happens: 20:20:41 /home/barrucadu/tmp/misc % gcc gtk.cpp -o gtk.o `pkg-config --cflags --libs gtk+-2.0` -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4 /tmp/ccx65jx1.o: In function `m