number of rows in table is not updated in RPD obiee 11.1.1.9?

Hello

I'm working on obiee 11.1.1.9.

When I'm trying to update the rows in the table to the RPD, I'm getting following error. ;

err11.jpg

I tried so many times. But still I don't get number of rows tables.

Please help me.

Thanks in advance,

A.Kavya.

Hello

As you say, I checked the side DB. I am using Toad. while I see the table & script data in abrowser schem, I get the error message like "access violation at address 01c688df in module toad.exe" on the opening of the browser (73231) editor or contours. to do this, I installed the new version of Toad .so I did nt get any errors at the level of the RPD. I get the number of rows updated successfully.

Thank you best regards &,.

A.Kavya.

Tags: Business Intelligence

Similar Questions

  • External table, lines not updates

    Hi all, I'm testing this external table and the table is not updated. All records are rejected which I guess is something to do with the types of data or csv.

    < pre >

    create the table external_new
    (

    Date date1,

    Number (20) (EDT) 1,.

    COUNTIES number (20)

    )

    external organization

    (type oracle_loader

    EXPORTDATA_DIR default directory

    access settings

    (records delimited by newline

    BADFILE EXPORTDATA_DIR: 'et.bad'

    EXPORTDATA_DIR LOG file: 'et.log'

    JUMP 1

    FIELDS ENDED BY ',' POSSIBLY FRAMED BY "" "

    MISSING FIELD VALUES ARE NULL

    REJECT ROWS WITH ALL FIELDS ARE NULL

    (date1 tank,

    1 tank (HAE)

    counties of char)

    )

    location ("OWSO_log.csv")

    )

    reject limit unlimited

    ;
    < / pre >

    When inserting

    < pre >

    Insert into mytable (DATE1, (EDT) 1, COUNTIES)

    Select DATE1, (EDT) 1, COUNTIES

    of external_new;
    < / pre >

    The errors are:



    LOG file opened at 06/03/09 17:58:40

    For table EXTERNAL_NEW_WAY field definitions
    Record format DELIMITED BY newline
    Data in file have same "endianness" as platform
    Rows with all null fields are accepted

    Fields of the Data Source:

    DATE1 CHAR (255)
    Completed by '09.
    Trim whitespace same as SQL Loader
    (EDT) 1 CHAR (255)
    Completed by '09.
    Trim whitespace same as SQL Loader
    COUNTIES OF CHAR (255)
    Completed by '09.
    Trim whitespace same as SQL Loader
    KUP-04021: field formatting of error for the field (HAE) 1
    KUP-04023: field start is after the end of registration
    KUP-04101: sheet 1 rejected in the /gis/db03/app/EIS/OWSO_log.xls file
    KUP-04021: field formatting of error for the field (HAE) 1
    KUP-04023: field start is after the end of registration
    KUP-04101: plug 2A rejected in the /gis/db03/app/EIS/OWSO_log.xls file
    KUP-04021: field formatting of error for the field (HAE) 1
    KUP-04023: field start is after the end of registration
    KUP-04101: save 3 rejected in the /gis/db03/app/EIS/OWSO_log.xls file
    KUP-04021: field formatting of error for the field (HAE) 1
    KUP-04023: field start is after the end of registration
    KUP-04101: save 4 rejected in the /gis/db03/app/EIS/OWSO_log.xls file
    KUP-04021: field formatting of error for the field (HAE) 1
    KUP-04023: field start is after the end of registration
    KUP-04101: Save 5 rejected in the /gis/db03/app/EIS/OWSO_log.xls file
    KUP-04021: field formatting of error for the field (HAE) 1
    KUP-04023: field start is after the end of registration
    KUP-04101: plug 6a rejected in the /gis/db03/app/EIS/OWSO_log.xls file
    KUP-04021: field formatting of error for the field (HAE) 1


    Thank you all for your comment.

    Hello

    You can cut out the spaces after the last field? There is only 1 rank, why its pointing to line 2.

    Concerning

  • DataPump: Rows in tables do not match after importation

    Hello

    I have exported a schema 'ORAMSCA' and imported in the form of schema 'ORAMSCA_TEST151223 '. I found the difference between the rows of tables. Could you please advice.

    Here are the details.

    ORAMSCA_TEST151223 ORAMSCA
    COUNTY OF COUNTY OF TABLE_NAME
    ------------------------------ ------------- ------------
    2 952 3 367 OM_AUDIT_TRAIL
    33 40 OM_CONFIG_OPTIONS
    3 456 3 456 OM_COUNTRY_STATES
    86 91 OM_ENTITY_MENU
    64 69 OM_FUNFACTS
    81 61 OM_INSTANCES
    OM_JOBS 139 111
    OM_JOB_LOGS 226 132
    37 19 OM_JOB_PARAMS
    15 15 OM_LICENSES
    1 289 1 594 OM_LOGIN_HISTORY
    OM_LOOKUP_CODES 900 904
    31 31 OM_LOOKUP_TYPES
    9 625 8 225 OM_ORG_ORGANIZATIONS
    36 36 OM_ROLE_RIGHTS
    29 48 OM_USERS
    728 1 983 OM_USER_ENTITY_MENU_ACCESS
    OM_USER_ORGANIZATION_ACCESS 40 156


    Exported log file:

    ;;;

    Export: Release 11.2.0.1.0 - Production on Fri Dec 18 09:22:16 2015

    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

    ;;;

    Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    Start "SYSTEM". "" SYS_EXPORT_SCHEMA_01 ": System / * schema = oramsca = ORAMSCA_TEST1.dmp = expdp.log = DUMP directory logfile dumpfile

    Current estimation using BLOCKS method...

    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA

    Total estimation using BLOCKS method: 2,937 MB

    Processing object type SCHEMA_EXPORT/USER

    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT

    Processing object type SCHEMA_EXPORT/ROLE_GRANT

    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE

    Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA

    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA

    Processing object type SCHEMA_EXPORT/DB_LINK

    Object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE of treatment

    Object type SCHEMA_EXPORT/TABLE/TABLE processing

    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX

    Object type SCHEMA_EXPORT/TABLE/CONSTRAINT/treatment

    Object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS of treatment

    Object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC of treatment

    Object type SCHEMA_EXPORT/FUNCTION/treatment

    Object type SCHEMA_EXPORT/PROCEDURE/treatment PROCEDURE

    Processing object type SCHEMA_EXPORT/PACKAGE/COMPILE_PACKAGE/PACKAGE_SPEC/ALTER_PACKAGE_SPEC

    Object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION of treatment

    Object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE processing

    Object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY of treatment

    Processing object type SCHEMA_EXPORT/JAVA_SOURCE/JAVA_SOURCE

    Processing object type SCHEMA_EXPORT/JAVA_CLASS/JAVA_CLASS

    Object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT of treatment

    Object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS treatment

    . . exported "ORAMSCA." "" OM_ORG_ORGANIZATIONS "8225 lines 620,3 KB

    . . exported "ORAMSCA." "" OM_AUDIT_TRAIL "3283 lines 285,2 KB

    . . exported "ORAMSCA." "' OM_ENTITY_MENU ' lines of 145,2 90 KB

    . . exported "ORAMSCA." "' OM_COUNTRY_STATES ' 3456 lines 186,1 KB

    . . exported "ORAMSCA." "" OM_CONFIG_OPTIONS "the 40 lines 67,10 KB

    . . exported "ORAMSCA." "' OM_LOGIN_HISTORY ' 118.2 lines 1525 KB

    . . exported "ORAMSCA." "' OM_LOOKUP_CODES ' 904 lines 68,61 KB

    . . exported "ORAMSCA." "' OM_USER_ENTITY_MENU_ACCESS ' 78.60 lines 1644 KB

    . . exported "ORAMSCA." "' OM_FUNFACTS ' lines of 15,06 67 KB

    . . exported "ORAMSCA." "' OM_INSTANCES ' lines of 17,37 61 KB

    . . exported "ORAMSCA." "' OM_JOBS ' 111 lines 19.54 KB

    . . exported "ORAMSCA." "' OM_JOB_LOGS ' 132 lines 19,02 KB

    . . exported "ORAMSCA." "' OM_JOB_PARAMS ' Ko 9,726, 19 ranks

    . . exported "ORAMSCA." "" OM_LICENSES "15 lines 10,25 KB

    . . exported "ORAMSCA." "' OM_LOOKUP_TYPES ' 31 lines 11.50 KB

    . . exported "ORAMSCA." "' OM_ROLE_RIGHTS ' 36 lines 14,43 KB

    . . exported "ORAMSCA." "' OM_USERS ' 44 lines 21,57 KB

    . . exported "ORAMSCA." "' OM_USER_ORGANIZATION_ACCESS ' 147 lines 15,56 KB

    Main table 'SYSTEM '. "" SYS_EXPORT_SCHEMA_01 "properly load/unloaded

    ******************************************************************************

    Empty the file system set. SYS_EXPORT_SCHEMA_01 is:

    /U01/oracle11/dump/ORAMSCA_TEST1.dmp

    Work 'SYSTEM '. "" SYS_EXPORT_SCHEMA_01 "carried out at 09:23:14

    Import a log file:

    ;;;

    Import: Free 11.2.0.1.0 - Production Wed Dec 23 01:00:58 2015

    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

    ;;;

    Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    Main table 'SYSTEM '. "' SYS_IMPORT_FULL_01 ' properly load/unloaded

    Start "SYSTEM". "" SYS_IMPORT_FULL_01 ": System / * Directory = DUMP dumpfile = logfile = impdp.log remap_schema = ORAMSCA:ORAMSCA_TEST151223 remap_tablespace = ORAMSCA:ORAMSCA_TEST151223 expdp_ORAMSCA_151221.dmp

    Processing object type SCHEMA_EXPORT/USER

    ORA-31684: USER object Type: 'ORAMSCA_TEST151223' already exists

    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT

    Processing object type SCHEMA_EXPORT/ROLE_GRANT

    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE

    Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA

    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA

    Processing object type SCHEMA_EXPORT/DB_LINK

    Object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE of treatment

    Object type SCHEMA_EXPORT/TABLE/TABLE processing

    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA

    . . imported "ORAMSCA_TEST151223." "' OM_ORG_ORGANIZATIONS ' 9625 lines 724,5 KB

    . . imported "ORAMSCA_TEST151223." "' OM_AUDIT_TRAIL ' 258.6 lines 2952 KB

    . . imported "ORAMSCA_TEST151223." "' OM_ENTITY_MENU ' lines of 166.7 86 KB

    . . imported "ORAMSCA_TEST151223." "' OM_CONFIG_OPTIONS ' 33 lines 59,26 KB

    . . imported "ORAMSCA_TEST151223." "' OM_COUNTRY_STATES ' 3456 lines 186,1 KB

    . . imported "ORAMSCA_TEST151223." "' OM_LOGIN_HISTORY ' 102.8 lines 1289 KB

    . . imported "ORAMSCA_TEST151223." "' OM_LOOKUP_CODES ' 900 lines 68,36 KB

    . . imported "ORAMSCA_TEST151223." "' OM_USER_ENTITY_MENU_ACCESS ' 728 lines 39,46 KB

    . . imported "ORAMSCA_TEST151223." "' OM_FUNFACTS ' lines of 14.87 64 KB

    . . imported "ORAMSCA_TEST151223." "' OM_INSTANCES ' lines of 19.66 81 KB

    . . imported "ORAMSCA_TEST151223." "' OM_JOBS ' 139 lines 22,07 KB

    . . imported "ORAMSCA_TEST151223." "' OM_JOB_LOGS ' 226 KB 25,73 lines

    . . imported "ORAMSCA_TEST151223." "' OM_JOB_PARAMS ' 37 lines 10,74 KB

    . . imported "ORAMSCA_TEST151223." "" OM_LICENSES "15 lines 10,25 KB

    . . imported "ORAMSCA_TEST151223." "' OM_LOOKUP_TYPES ' 31 lines 11.50 KB

    . . imported "ORAMSCA_TEST151223." "' OM_ROLE_RIGHTS ' 36 lines 14,43 KB

    . . imported "ORAMSCA_TEST151223." "' OM_USERS ' 29 ranks 19.38 KB

    . . imported "ORAMSCA_TEST151223." "" OM_USER_ORGANIZATION_ACCESS "the 40 lines 10.53 KB

    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX

    Object type SCHEMA_EXPORT/TABLE/CONSTRAINT/treatment

    Object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS of treatment

    Object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC of treatment

    Object type SCHEMA_EXPORT/FUNCTION/treatment

    Object type SCHEMA_EXPORT/PROCEDURE/treatment PROCEDURE

    Processing object type SCHEMA_EXPORT/PACKAGE/COMPILE_PACKAGE/PACKAGE_SPEC/ALTER_PACKAGE_SPEC

    Object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION of treatment

    ORA-39083: Type than alter_function cannot be created with the object error:

    ORA-04052: error occurred when searching to the top of the remote object APPS. FND_APPLICATION_ALL_VIEW@SYSTEM_LINK_OM_VISMA

    ORA-00604: an error has occurred at the SQL level recursive 3

    ORA-12154: TNS: could not resolve the connect identifier specified

    Because sql is:

    ALTER FUNCTION "ORAMSCA_TEST151223". "" OM_APPLICATION_VISMA "PLSQL_OPTIMIZE_LEVEL = 2 PLSQL_CODE_TYPE = COMPILATION INTERPRETED PLSQL_DEBUG = FALSE PLSCOPE_SETTINGS = ' IDENTIFIERS: NO ' S REUSE

    ORA-39083: Type than alter_function cannot be created with the object error:

    ORA-04052: error occurred when searching to the top of the remote object APPS.GL_CODE_COMBINATIONS_V@SYSTEM_LINK_OM_VISMA

    ORA-00604: an error has occurred at the SQL level recursive 3

    ORA-12154: TNS: could not resolve the connect identifier specified

    Because sql is:

    ALTER FUNCTION "ORAMSCA_TEST151223". "" OM_CODE_COMBINATION_VISMA "PLSQL_OPTIMIZE_LEVEL = 2 PLSQL_CODE_TYPE = COMPILATION INTERPRETED PLSQL_DEBUG = FALSE PLSCOPE_SETTINGS = ' IDENTIFIERS: NO ' REUS

    Object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE processing

    Object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY of treatment

    Processing object type SCHEMA_EXPORT/JAVA_SOURCE/JAVA_SOURCE

    Processing object type SCHEMA_EXPORT/JAVA_CLASS/JAVA_CLASS

    Object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT of treatment

    Object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS treatment

    Work 'SYSTEM '. "" SYS_IMPORT_FULL_01 "finished with 3 errors at 01:01:58

    Thank you

    Jeremy.

    Seems that you do not import the file that you exported?

    Export: dumpfile = ORAMSCA_TEST1.dmp

    Import: dumpfile = expdp_ORAMSCA_151221.dmp

    AJ

  • ADF jsf: disabled property works on selecting rows from table but not rendered

    I use JDeveloper 12.1.2

    Page has 3 components:

    -table

    -button

    -text outputFormatted component

    When the user selects a certain line, button is enabled/disabled according to the logic of bean support. It works fine:

    < af:button text = "Go to the reports!" id = "b1" action = "#{backingBeanScope.Studybrowse.b1_action} '"

    Disabled = "#{! backingBeanScope.Studybrowse.userAuthStdNotExp} '"

    partialTriggers = "t1" / >

    However when I apply the same boolean rendered property of outputFormatted, it is not visible (not provided)

    < af:outputFormatted value = "you are not authorized or study expired" id = "1".

    rendered = "#{! backingBeanScope.Studybrowse.userAuthStdNotExp} '"

    inlineStyle = "color: Red;" partialTriggers = "t1" / >

    Someone knows why?

    I just read on another post that partial triggers cannot work on a component that is not rendered. Therefore, it is suggested to use the "visible" property If it worked:

    visible = "#{! backingBeanScope.Studybrowse.userAuthStdNotExp} '"

    inlineStyle = "color: Red;" partialTriggers = "t1" / >

    I'm sure that this rendered version worked in 10g, but

  • af: popuo closing by program does not update the caller

    Hi all

    I use jdeveloper 11g and adf business components.
    I have a simple page that displays a database table (a display object). On this table, I need to insert, update, delete operations.
    I sent the following link and was able to create the whole process.
    http://jamessmith73.WordPress.com/SOA-11g-page/ADF-11g-CRUD-operations-on-a-master-detail-table/

    For the update feature, I implemented an af popup element that opens the current record as a pop-up and it works fine.
    I should add validation by updating, so the button submit popup, I added my validation code and show the message, I added partialsubmit = true on the submit button.
    Now it shows postings, but even once it is validated, it remains on the pop up, does not close the window.
    To close the window, I added code to popup in my grain of closing.
          StringBuilder script = new StringBuilder();
          FacesContext context =  FacesContext.getCurrentInstance();
               script.append("var popup = AdfPage.PAGE.findComponent('").append("p1").append("'); ")            
                   .append("if (popup.isPopupVisible()) { ").append("popup.hide();}");
               ExtendedRenderKitService erks =
                           Service.getService(context.getRenderKit(), ExtendedRenderKitService.class);
               erks.addScript(context, script.toString());
    After this the pop up is closed but does not show the updated line (even if it's upadted in the comic book), it is the table of the appellant is not refreshed.
    The work around is that I add one more button soemthing like "save" which does not any action involves and just close the pop up and refreshes the page.
    But I don't want the user to have 2 buttons for a single operation, so would like to know if there is any other way to do this.
    In addition, lets say I make a few changes on the form of popup, but click Cancel, the table reflects the changes (no change is made in the comic book)
     <af:commandButton text="Cancel" id="cb8"/>
    To resolve this issue, I added an actionlisterner on the Cancel button that closes the pop-up window, so that the table is not updated with the modified values programmatically.
    But if I click the same link again that fills the popup, inputtext components displays the value that was changed before you click Cancel.
    I don't know how I should resolve this thing, I don't know I'm missing something.
    any help is appreciated.
    Thank you
    Ash

    Update the table in the code to java with addPartialTarget()?
    And if he does not rerun the query of the ViewObject, then refresh.

  • Index is not updated

    Hello

    I am facing a problem where index created on my table is not updated. Please find below the steps to understand the situation.

    1. I create an oracle database by running a script.
    2. I have a table which can have millions of records in it. So, I created an index on this table and works fine when I am in the development.
    3. after the installation, I use my request and inserts of the millions of records in this empty table.
    4 now if I run a query that performs the select query and gives me the records you want don't give me fast result.
    5 but it gives me results in less than a minute if I drop this index manually and then create it again by running the script in Oracle SQL Developer.

    I use Oracle 10 g Express Edition. I searched online and found an online option while altering the index, but it is not supported on the Express version.

    What's not? How can I solve this problem?

    Kind regards
    Jigs

    Published by: Jonathan Parikh on March 18, 2010 06:01

    you will need to gather statistics on the table and index.

    exec dbms_stats.gether_table_stats(user, 'YOURTABLENAME', cascade => true);
    

    You can also gather_index_stats see the dbms_stats package.

  • The LOV button does not update the JTable component in 11g

    Hello
    If I use the LOV button for a domain, the attribute displayed in JTable is NOT updated. Who is wrong? It worked well in JDeveloper 10 g.

    Sincerely Karel

    Hello

    the value is updated. However, the cell in the table is not updated. You may need to use a listener to update the table model. Ideally, you file a bug

    Frank

  • get the number of rows affected by their table top

    Hello, I need to count the number of rows updated in table form. In the process of ApplyMRU, I can use the string substitution #MRU_COUNT # to show the lines updated in a success message, but I need to get this value and store it on a table. Any help would be much appreciated. Thank you.

    oscarjavier99 wrote:

    Hello, I need to count the number of rows updated in table form. In the process of ApplyMRU, I can use the string substitution #MRU_COUNT # to show the lines updated in a success message, but I need to get this value and store it on a table. Any help would be much appreciated. Thank you.

    For that you would benefit from the APEX$ ROW_STATUS integrated substitution string.

    1. create a page element display only (in my case P15_UPDATED_ROWS) Save Session State set to Yes and the Type of Condition is set to never.

    2. Add a calculation after the shows with a Type of static assignment and calculation value 0 to reset the counter whenever the page is sent.

    3. Add an On submit - after calculations and Validations process of PL/SQL page linked to your tabular presentation with a Status of Type PL/SQL Expression and Expression 1 :apex$row_status = 'U' and the code of the following process :

    :p15_updated_rows := :p15_updated_rows + 1;
    

    If you don't actually means "day" in the strict sense, and then change the status of process to include possible APEX$ ROW_STATUS 'C', 'U', and "D" values as needed. If you want to count all created, updated and deleted lines, do not add the condition to the process, but make sure the extended run is set to createand changed lines.

  • How to find how the number of rows in the table of all the

    Hi all,

    Is it all tables $ v of information on how many rows the table holds?


    Thank you and best regards,
    Delphine K

    Vijay

    It does not reflect the exact number of lines because they don't are filled whenever there is a record inserted instead they are updated when tables are analysed

    If you insert a record and compare the two ALL_tables and count (*) you can find the difference

      1* select num_rows,owner from dba_tables where table_name='LOGONTRIGGER'
    SQL> /
    
      NUM_ROWS
    ----------
    OWNER
    --------------------------------------------------------------------------------
    
    SYS
    
     analyze table LOGONTRIGGER compute statistics;
    
    SQL> select num_rows,owner from dba_tables where table_name='LOGONTRIGGER';
    
      NUM_ROWS
    ----------
    OWNER
    --------------------------------------------------------------------------------
          2961
    SYS
    

    There is always difference

  • Number of rows in each partition is displayed with a NULL value for a table partitioned in user_tab_partitions. Why?

    I created a table and partitioned on the date of the entry and added a local partitioned index.

    Now, I use a query to extract "num_rows" of user_tab_partitions to know the number of rows in each partition.

    Getting this value as null num_rows, wonder why?

    After looking to explain the Plan after interrogation ("select * from my_table1 where entry_date = 1 January 2015" ;))

    to find out if she actually partitioned table and its data in different partitions, I interpreted in effect because the query plan had a line like Partition_range (Single).

    My Question is:

    (a) is actually partitioned data (have I misinterpreted the Explain plan)

    (b) why is the num_rows null column in the query (Pasted below)

    (c) also in addition what difference it would have been if I had created a Global Index instead of the Local Index in my case?

    The following code Snippet:

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

    create the table my_table1
    (
    roll_no number constraint my_table1_pk primary key,
    date of entry_date
    )
    partition of range (entry_date)
    (
    PARTITION data_p1 VALUES LESS THAN (TO_DATE (December 31, 2014 ',' DD-MM-YYYY ""));
    PARTITION data_p2 VALUES LESS THAN (MAXVALUE)
    );


    create an index only my_table1_indx on my_table1 (entry_date) local;

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

    I now insert two lines:
    insert into my_table1 values (1, to_date ('01-01-2015', ' dd-mm-yyyy'));
    insert into my_table1 values (2, to_date('01-02-2015','dd-mm-yyyy'));

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

    These have been inserted successfully, now using the query below shows num_rows column as null. I don't know why?

    SELECT table_name, num_rows, high_value, nom_partition
    Of user_tab_partitions
    where table_name = 'MY_TABLE1 '.
    ORDER BY table_name, nom_partition;

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


    (a) is actually partitioned data (have I misinterpreted the Explain plan)

    Yes, it is partitioned. You can query this particular partition SELECT * FROM my_table1 (data_p1) PARTITION to check that.

    (b) why is the num_rows null column in the query (Pasted below)

    As already mentioned that you have not collected statistics.

    (c) also in addition what difference it would have been if I had created a Global Index instead of the Local Index in my case?

    In fact, you have created two types of indexes without knowing (can be)! One is not partitioned (although this column is not partition key) and another is partitioned (LOCAL). They are MY_TABLE1_PK and MY_TABLE1_INDX. You can check that USER_INDEXES.

    You can read this article to get an early jump on the partitioning of decision. Partition: Partition decisions

  • Order form does not update grand total calculation until I have indicate a number on the next line.

    I created a purchase order with a "quantity" column, a column of job description, a unit price column and a point $ column total. I've set the total column of $ point to calculate automatically once a quantity and unit price entered, and it works immediately once the unit price and quantity entered. But my grand total at the bottom of the total column $ is set to calculate all the lines of total $ point, but the total general don't not updated to reflect the $ total for a given line (e.g. line B) until I have begin to type a number for the next line (e.g. line C). So, I always end up having to create a line of extra reserved space with a quantity of 0, just to get my total general to update. Is there a way to fix this?

    It is most likely a problem with the calculation of field order. You must ensure that the total is calculated after row grand totals.

    This can be set in form editing mode, under the order of computation of Set field - other tasks.

  • number of rows fetch are not even

    Hi all


    I'm new to sql/plsql

    Oracle version 11R2
    RHL 5.0 OS


    I'm deleting all rows in the parent table as well as children tables based on some criteria to date.

    the parent BE_STATUS table contains a column OOC_DT. based on the OOC_DT I get BE_STATUSin the parent Table rows.

    other children tables DOES NOT have OOCDT column but meet BENo. and BEDT WHO are also in PARENT TABLE BESTATUS.


    So I get all the be_no, * be_dt * of BE_STATUS based on the OOC_DT column as below
    select distinct(count(*)) from be_status where ooc_dt between '31-mar-10' AND '24-dec-10';
    
    (COUNT(*))
    ----------
     65074 
    and I create a temporary table based on the above query as
    create table temp as select be_no, be_dt from be_status where ooc_dt between '31-mar-10' AND '24-dec-10';
    table created.
    and then I count the number of rows in the temporary table
    select distinct(count(*)) from temp;
    (COUNT(*))
    ----------
     65074 
    so there are around 51 children tables that have the BE_NO AND BE_DTcolumn.

    If the total number of lines in the temp must be equal to the total of all the lines in each column according to the above criteria.

    It's
    select distinct(count(*)) from be_penal  where (be_no,be_dt) in (select be_no,be_dt from temp);
    (COUNT(*))
    ----------
            64 
    
    select distinct(count(*)) from be_fine  where (be_no,be_dt) in (select be_no,be_dt from temp);
    
    (COUNT(*))
    ----------
            62
     
    select distinct(count(*)) from be_cash_lic  where (be_no,be_dt) in (select be_no,be_dt from temp);
    (COUNT(*))
    ----------
            23 
    
    select distinct(count(*)) from c_cl_be  where (be_no,be_dt) in (select be_no,be_dt from temp);
    (COUNT(*))
    ----------
             2 
    select distinct(count(*)) from chex where (be_no,be_dt) in (select be_no,be_dt from temp);
    (COUNT(*))
    ----------
             0 
    select distinct(count(*)) from amend_q where (be_no,be_dt) in (select be_no,be_dt from temp);
    (COUNT(*))
    ----------
             0 
    
    select distinct(count(*)) from be_perm  where (be_no,be_dt) in (select be_no,be_dt from temp);
    (COUNT(*))
    ----------
           889 
    select distinct(count(*)) from exam_instr where (be_no,be_dt) in (select be_no,be_dt from temp);
    (COUNT(*))
    ----------
           690
    
    select distinct(count(*)) from c_rms_mesg  where (be_no,be_dt) in (select be_no,be_dt from temp);
    (COUNT(*))
    ----------
         64982
    
    select distinct(count(*)) from item_duty_fg  where (be_no,be_dt) in (select be_no,be_dt from temp);
    (COUNT(*))
    ----------
        398129 
    
    select distinct(count(*)) from a_item_det  where (be_no,be_dt) in (select be_no,be_dt from temp);
    (COUNT(*))
    ----------
         31453
    select distinct(count(*)) from item_det  where (be_no,be_dt) in (select be_no,be_dt FROM temp);
    (COUNT(*))
    ----------
        622271
    so, as you can see the TEMP TABLE contains only * 65074 *. Therefore the sum of the numbers of all of the above tables should be * 65074 * but only item_det contains
    * 622271 * lines.


    I have made a mistake in counting the records individually?

    waiting for your helpful answer

    Thanks and greetings

    Not quite sure, I followed your question, but a glaring fault in your codes...

    between '31-mar-10' AND '24-dec-10';
    

    dates should be treated as dates, not the chains and left us 2 years of numbers of programming standards waaay back in the 90's when everyone fixed these issues in the context of the challenges of the Millennium bug.

    between to_date('31-mar-2010','DD-MON-YYYY') AND to_date('24-dec-2010','DD-MON-YYYY');
    
  • How can I get the number of rows in the table using Sunopsis API target in ODI 10 g?

    Hi guys,.

    In fact, I want to send an alert message as soon as the interface is run from a package. I've included alert OdiSendMail that sends an email once the interface is running.

    Could someone please tell how to get the number of rows inserted into the table the Sunopsis API target.

    I tried to use < % = odiRef.getNbRows () % >, but this has not worked for me. Since I am a beginner, could you please help out me

    This is my mail to send ODI format

    "The population of data managed to < % = odiRef.getSysDate () % >

    Total of lines in the target table is: < - need an API code-> "


    Kind regards

    Clinton

    Published by: LawrenceClinton on February 25, 2013 20:53

    Hello

    Create the project with details below variable

    Nom_de_variable: Total_Row_Count

    Type of variable: Variable discount

    Definition tab:
    Data type: digital
    Action: No persistent

    Refresh the tab:
    Schema: provide the schema of your repository to work and be

    SELECT log.nb_row
    THE journal of snp_step_log, snp_scen_step step
    WHERE log.nno = step.nno
    AND step.scen_no = (SELECT scen_no FROM snp_scen_step WHERE step_name='<%=odiRef.getPrevStepLog ('STEP_NAME") % > ')
    AND log.sess_no = '< % = odiRef.getSession ("SESS_NO") % >' code at low
    AND step.step_name = ' < % = odiRef.getPrevStepLog ("STEP_NAME") % > '

    Note: add this variable after the stage of interface in your package (after the interface anywhere you can place), you can add this variable before ODISendEmailNotification in your package

    call this varciable * #Total_Row_Count * in the Notification of ODISendEmail

    for example :

    Data has been fulfilled successfully in < % = odiRef.getSysDate () % >
    Total no of lines filled are: * #Total_Row_Count *

    it will work

    cordially,
    Phanikanth

    edited by: Phanikanth on February 28, 2013 01:13

    edited by: Phanikanth on February 28, 2013 01:14

  • Get the number of rows in the oracle table

    Hi all
    I want to get the total number of rows in the sql to the appmodule table.
    After you apply the criteria to view some on the view object. If he try with getallrowsinrange the number of rows found within the viewobject was but I want a total number of rows in the sql table.

    How can I get that

    I use jdev 11.1.1.5

    Thanks in advance

    I threw something together, quick and dirty, don't hesitate to optimize.

    Assuming you want the County table, I put the code in a subclass of EntityDefImpl since it is representing a table in the middle tier.

    public class EmpDefImpl
          extends EntityDefImpl {
      /**
       * This is the default constructor (do not remove).
       */
      public EmpDefImpl( ) {}
    
      //~ Methods ****************************************************************************
    
      public long getTableRowCount( DBTransaction transaction ) {
        String query = getQuery( );
        String countQuery = String.format( "SELECT COUNT(*) FROM (%s)", query );
        long count = 0;
    
        ViewObject vo = transaction.createViewObjectFromQueryStmt( countQuery );
    
        try {
          vo.executeQuery( );
    
          Row row = vo.first( );
          Number number = (Number)row.getAttribute( 0 );
          count = number.longValue( );
        } finally {
          vo.remove( );
        }
    
        return count;
      }
    }
    

    Depending on your card type, you may not get an oracle.jbo.domain.Number, but something else, so the cast may need correction.

    Usage example:

    public class EmpEditViewImpl extends ViewObjectImpl {
      public EmpEditViewImpl() {
      }
    
      protected void executeQueryForCollection( Object object, Object[] object2, int i ) {
        super.executeQueryForCollection( object, object2, i );
    
        EmpDefImpl def = ( EmpDefImpl )getEntityDef( 0 );
        long tableRowCount = def.getTableRowCount( getDBTransaction() ) );
    
        // Do something with it
      }
    }
    

    As you can see, the code is fairly generic. Also, you might be able to put this in a base extension ADF class.

    Sascha

    Published by: Sascha Herrmann on June 7, 2012 14:39

  • Automating the validation based on the number of rows updated

    Hello

    Is it possible that I can, in a SQL script, restore or commit a transaction according to the number of lines have been updated?

    We often receive requests for corrections of data in DBs and then must post manually, but only if the number of lines is what the developer has specified.

    1 tab1 update
    2. If the number of rows updated = 50, validation
    3 if not, roll back

    Thank you
    Andreas

    Try this

    update of tab1 set col1 = 80;
    If rowcount sql = 50% then
    commit;
    on the other
    rolback;
    end if;
    ....

Maybe you are looking for