Pick up the names of tables based on the value of the column

I have a scheme in which I have 10000 tables and I want to pick up the names of tables in the schema where org_id is not equal to 1,
Note: Org_id here is the column name.

Could you please provide sql code me or a procedure to achieve this.

Thanks in advance.

This lthread can help

How to find the column name and the name of the table with a value

Tags: Database

Similar Questions

  • Selection of a column in a table based on a value

    Hello

    I'm stuck with a little problem here. I need to fill a column based on a value. I have an xml that looks like this to make it simple. (Don't worry, I'm not managing the status of a stock of candy ;-)))
    I have to build in rtf.

    <? XML version = "1.0" encoding = "UTF-8"? >
    -< ROWSET >
    -< ROW >
    < CANDY > Bubble gum < / CANDY >
    without SUGAR < > < / SUGAR >
    < / ROW >
    -< ROW >
    < CANDY > candy cinnamon < / CANDY >
    without SUGAR < > < / SUGAR >
    < / ROW >
    -< ROW >
    < CANDY > candy Gummy < / CANDY >
    < SUGAR > < / SUGAR >
    < / ROW >
    < / LINES >


    I have a table with two columns. I need to put on the left column candy SUGAR-free"and right the"tart ".
    Is there a condition to get there. Or what I have to do two table a column next to each other and adapt if condition in the for each.

    Best regards

    Olivier

    Have the same structure of table with two columns and each conditions in each of your columns.
    Say in column1: text to be printed
    Column2: text to be printed

    Hope this is what you want

  • How to highlight a cell IR report based on a value in another column?

    I used the code below and the cell is highlighted for all use column formatting css #COLTOHIGHLIGHT #add to pageBut what I need is if the HIDDENCOL is 'OUT' value and Custom2 should apply if the HIDDENCOL has value 'IN' then custom1 should apply. How to do? Please help thanks loly

    Sinduja Sivasailam wrote:

    Thank you for your contributions. I understand the concern.

    As suggested, I've reproduced the problem in the environment of the APEX.

    Thanks for making the effort. I suggest the following approach, which is more flexible and allows a more efficient use of the separation of concerns as above. I created an example on a new page to illustrate this.

    1. change the report query to

    select
        jan
      , feb
      , mar
      , jan_st
      , feb_st
      , mar_st
    from
        project_status
    

    2. in the report, set the month columns to display text and status columns to be hidden.

    3. set the property Expression of HTML for each column of months to use a HTML data attribute to include metadata status as well as the displayed value:

    #JAN#
    

    4. create a dynamic action after Refresh on the IR region to retrieve the status of project code in the columns of months and apply it as a class to the cell of report element:

    Event: After refresh

    Selection type: Region

    Region:

    Real Actions

    Sequence: 10

    Action: Run the JavaScript Code

    Fire on Page load: Yes

    Code

    $('.a-IRR-table td [data-prj-status]').each(function () {
      var x = $(this);
      x.parent().addClass(x.data('prjStatus'));
    });
    

    5 Add a style sheet to the page of Inline CSS property with a rule to set the background color of cell as required for each State of the project:

    .a-IRR-table tr:hover td {
      opacity: 0.7;
      transition: opacity .1s
    }
    .a-IRR-table td.REQ,
    .a-IRR-table tr:hover td.REQ {
      background-color: #ff9;
    }
    .a-IRR-table td.INP,
    .a-IRR-table tr:hover td.INP {
      background-color: #cf9;
    }
    .a-IRR-table td.YTS,
    .a-IRR-table tr:hover td.YTS {
      background-color: #ccf;
    }
    .a-IRR-table td.CR,
    .a-IRR-table tr:hover td.CR {
      background-color: #f66;
    }
    .a-IRR-table td.COM,
    .a-IRR-table tr:hover td.COM {
      background-color: #9cf;
    }
    
  • Disable the previous dating date picker in the column in a table

    can someone please help.

    on the date column in a table, need to disable previous dates.

    Current functionality. But when the validation page gets updated and the user is able to select earlier dates.



    To restrict the datePicker for new lines changed the URL of the button 'Add Row '.

    javascript:myAddRow();

    In the page edit, I added this to "Javascript > function and Variable global statement.

    function myAddRow()

    { apex.widget.tabular.addRow();

    $("td[headers='DETAIL_DATE'] input:last")

    .datepicker("option","changeMonth",false)

    .datepicker("option","minDate",$v("P2_MASTER_MONTH_MINDATE"))

    .datepicker("option","maxDate",$v("P2_MASTER_MONTH_MAXDATE")); };

    https://Apex.Oracle.com

    w/u/p: nani5048/test/test

    App 92603 5 page

    Thank you

    Nani

    I created a dynamic action

    the loading of the page

    $("td [en-têtes = 'STATUS_DATE'] entrée")

    . DatePicker ("option", "minDate", $v ("P5_MASTER_MONTH_MINDATE"));

    as well as the global javascript function

    function myAddRow() {}

    apex.widget.tabular.addRow ();

    $("td [en-têtes = 'STATUS_DATE'] entrée")

    . DatePicker ("option", "minDate", $v ("P5_MASTER_MONTH_MINDATE"));

    }

  • Disable previous Dates for date picker in the column in a table

    Hi all

    I'm in the form of the building where it contains details of the Transaction and I want to provide validations for start date and end date by disabling dates previous calendar datepicker.

    I wrote Javascript code in page load >service and global variables declaration:

    function f_disable_date(pThis){
        var row_id  = pThis.id.substr(4);  
        var start_date = $('#f02_'+row_id).val(); 
        
        //$(function() {
        $( "#f02_" ).datepicker({ minDate: -4});
    //});
    }
    

    But it is not disable dates. Please provide suggestion to make it work.

    APEX VERSION: 5.0

    Kind regards.

    See page 3

    I created a dynamic action

    real action on page load

    $("td [en-têtes = 'START_DATE'] entrée")

    . DatePicker ("option", "minDate", $v ("P3_X"));

    in P3_X

    matches the element hidden with select (sysdate-4) double value;

    its working fine

    But at the time of the Add_row()

    Just call it by making it as a javascript function so that it is also applicable to the new line

    I hope you got the point

  • How to get the columns of the table based on different conditions in one column?

    Hello

    I have two sql queries-

    Select sum (col1) sum1 Tab1
    where join_date > (sysdate - 1).

    Select sum (col1) sum2 of Tab1
    where join_date > (sysdate-4)

    I need to use a single query to get sum1 and sum2 data in a single line.


    Can someone help please how?

    Like this?
    
    select sum(case when join_date > (sysdate - 1) then col1 else null end) sum1
         , sum(col1) sum2
      from tab1
     where join_date > (sysdate - 4)
    
  • Dynamically partition a table based on different values of a specific column: possible?

    I'll start by explaining my problem, so that you can have a global vision of the problem and perhaps suggest another solution. Problem: I have 2 tables with millions of records. Records are added daily, and so each row in each table has a column of "insertion_date".

    C1 C2 ... C10 insertion_date (type date, ofc)
    

    lines are cleaned according to the insertion_date parameter. This can happen in two ways:

    1 - whenever an application error appears. In this case delete is based on a single day and would be like:

    delete from T1 where insertion_date=##;
    

    in other words remove us the lines added and then restart the program (business logic, can't change it)

    2. every two weeks the data associated with these two weeks are deleted because will be most used:

    delete from T1 where insertion_date between ## and ##; (a two weeks period here)   
    

    Delete is currently very slow: it takes abot 8 minutes just to remove approximately 5 M of records (with the same insertion_date), I can't even imagine the time required to delete records more.

    So, here's my idea!

    I would partition my DB according to the value of insertion_date.

    To remove case 1 I would simply delete the partion associated with this insertion date, to remove scores of cases 2 associates at that interval.

    For the needs of my application at most 15 were leaving are present each time (maybe 20 if I want to keep last at least 5 days of data), so the documented limit of 64000 partitions is not a problem.

    Real problem is that I do not know insertion_date values in advance, so my question: is it possible to automatically create a new partition every time presents itself a new value of insertion_date?

    And please correct me if I'm wrong, if I accomplish partitioning that I wouldn't need to edit above right queries? I know just the faster removal time am I correct?

    No - it isn't bog standard range partitioning partitioning interval

    But perhaps you're citing 9i documentation for a reason?

    It is a feature of 11g... then only about 10 years.

    create table t1
    (col1  date)
    partition by range (col1) interval (numtodsinterval(1,'DAY'))
    (partition po values less than (to_date('01-01-2015','DD-MM-YYYY')));
    
    table T1 created.
    
    select table_name, partition_name, high_value from user_tab_partitions where table_name = 'T1';
    
    TABLE_NAME                     PARTITION_NAME                 HIGH_VALUE
    ------------------------------ ------------------------------ --------------------------------------------------------------------------------
    T1                             PO                             TO_DATE(' 2015-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA...'
    
    insert into t1
    select trunc(sysdate,'MM')+rownum-1
    from   dual
    connect by  rownum <= 10;
    
    select table_name, partition_name, high_value from user_tab_partitions where table_name = 'T1';
    
    TABLE_NAME                     PARTITION_NAME                 HIGH_VALUE
    ------------------------------ ------------------------------ --------------------------------------------------------------------------------
    T1                             PO                             TO_DATE(' 2015-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA...'
    T1                             SYS_P450383                    TO_DATE(' 2015-07-02 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA...'
    T1                             SYS_P450384                    TO_DATE(' 2015-07-03 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA ...'
    T1                             SYS_P450385                    TO_DATE(' 2015-07-04 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA ...'
    T1                             SYS_P450386                    TO_DATE(' 2015-07-05 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA ...'
    T1                             SYS_P450387                    TO_DATE(' 2015-07-06 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA ...'
    T1                             SYS_P450388                    TO_DATE(' 2015-07-07 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA ...'
    T1                             SYS_P450389                    TO_DATE(' 2015-07-08 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA ...'
    T1                             SYS_P450390                    TO_DATE(' 2015-07-09 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA ...'
    T1                             SYS_P450391                    TO_DATE(' 2015-07-10 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA ...'
    T1                             SYS_P450392                    TO_DATE(' 2015-07-11 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIA ...'
    
  • How to merge values into a line, based on distinct values in another column

    I have a table like

    updatedby updateddate text
    Approval John 1st May 2009 1 added file
    Approval of John 1 May 2009 2 added file
    May 2, 2009 1 deleted David approval form

    I need the text column values to be concatenated and displayed for unique (updatedby updateddate) records. The output is something like

    updatedby updateddate text
    Approval of May 1, 2009 John save further approval 1 sheet, 2 added
    May 2, 2009 1 deleted David approval form

    I had planned to do it using PLSQL. Is there a way to achieve this in SQl...? Please suggest
    SQL> ed
    Wrote file afiedt.buf
    
      1  with t as (select 'John' as updatedby, to_date('01-May-2009','DD-MON-YYYY') as updateddate, 'Approval record 1 added' as text from dual union all
      2             select 'John', to_date('01-May-2009','DD-MON-YYYY'), 'Approval record 2 added' from dual union all
      3             select 'David', to_date('02-May-2009','DD-MON-YYYY'), 'Approval record 1 removed' from dual)
      4  -- END OF SAMPLE DATA
      5  --
      6  select updatedby, updateddate, ltrim(sys_connect_by_path(text,','),',') as text
      7  from (
      8    select updatedby, updateddate, text, row_number() over (partition by updatedby, updateddate order by text) as rn
      9    from t
     10    )
     11  where connect_by_isleaf = 1
     12  connect by rn = prior rn+1 and updatedby = prior updatedby and updateddate = prior updateddate
     13  start with rn = 1
     14* order by 2
    SQL> /
    
    UPDAT UPDATEDDA TEXT
    ----- --------- ----------------------------------------------------------------------------------------------------
    John  01-MAY-09 Approval record 1 added,Approval record 2 added
    David 02-MAY-09 Approval record 1 removed
    
    SQL>
    

    Edited by: BluShadow May 21, 2009 12:37
    Argh! hair to the pole by SY

  • Scan of the columns in table for empty cells

    I have prepared a form that will do the following (Please bear with me for the description):

    The form opens with a table of 10 rows.  The user must enter sides (from 0 to 10) in one of the columns in the table.  Once the user enters all the ratings of ten, he or she must then click a button to turn on the rest of the form (which is hidden).  What I'm trying to do is, after the button is clicked, scan the table to ensure that the entire column was filled with a number.  If the column was made, then a second page.  If a cell in the column was left in white, then I want a prompt to appear and indicate to the user which cell is empty.  I was able to run by using the following code:

    This code is under the event 'click '.

    If (decisionMatrix.dMTable.Row4.rating.rawValue is nothing)
    {
    Poster a warning prompt that indicates the form is incomplete

    xfa.host.messageBox ("incomplete form.  Please fill in the background. ","warning ", 3);
    }
    on the other
    {
    Allow the user to save the current state of the form and activate the second part of the form.
    app.execMenuItem ("SaveAs");
    }

    The problem with the above method is that it checks only the Row4 cell.  I have to add more code for the other 9 rows in the table and for each message box, indicating to the user which field to fill.  Is there a better way to do it?  A switch-case perhaps statement?

    I have also considered the column full analysis at a time and just using a message box general for the table, using the following code:

    If (decisionMatrix.dMTable.Row [*].rating.rawValue is nothing)

    {
    Poster a warning prompt that indicates the form is incomplete

    xfa.host.messageBox ("incomplete form.  Please fill all of the scoring. ","warning ", 3);
    }

    ...

    But it doesn't seem to work.  Any help is appreciated.  Thank you.

    The seal contains a table with 10 rows and 3 columns (a_, b_ and c_). The calls button 'Continue' by clicking on the click event, which runs through the table looking for NULL values in each column per row. The "ratingMissing" flag controls the visibility of the page 2.

    Form1.Page1.Subform1.continueBtn::click - (JavaScript, client)

    var ratingMissing = false;

    for (var i = 0; i)< 10;="" i++)="">

    var line = i + 1;

    If (xfa.resolveNode("form1.page1.subform1.table.row["_+_i_+_"].a_").rawValue == null) {}

    xfa.host.messageBox ("A is missing in row"+ row);

    ratingMissing = true;

    }

    If (xfa.resolveNode("form1.page1.subform1.table.row["_+_i_+_"].b_").rawValue == null) {}

    xfa.host.messageBox ("B is not in the line" + row);

    ratingMissing = true;

    }

    If (xfa.resolveNode("form1.page1.subform1.table.row["_+_i_+_"].c_").rawValue == null) {}

    xfa.host.messageBox ("C is missing in the row" + row);

    ratingMissing = true;

    }

    }

    If (ratingMissing == false) {}

    Form1.Page2.presence = "visible";

    }

    else {}

    Form1.Page2.presence = 'hidden ';

    }

    Steve

  • Need info of table based on the schema name

    I need the following information for a given schema name:

    1. Table
      name
    2. Schema
      name
    3. Number or rows for each table (column catalogs num_rows)
    4. Size of the table (MB)

    I tried the query nelow but I can't make it work.

    Select col.table_name,
    Col.col_cnt as column_count,
    RC.row_cnt as row_count.
    s.size_in_MB as table_size_in_MB
    Of
    (
    / * number of columns * /.
    SELECT upper (table_name), COUNT (*) col_cnt
    FROM dba_tab_columns
    Owner WHERE = 'V500.
    Upper group (table_name)
    ) col

    Join

    (
    / * number of rows * /.
    Select
    table_name,
    TO_NUMBER (extractvalue (xmltype (dbms_xmlgen.getxml ("select count (*) c to ' |")))) ((table_name)), ' / LINES/LINES/C ')) as row_cnt
    from dba_tables
    where (iot_type! = 'IOT_OVERFLOW' or iot_type is null)
    and owner = 'SCOTT '.
    ) rc
    We upper (col.table_name) = upper (rc.table_name)


    Join

    (
    / * the size in MB of table * /.
    SELECT
    owner, table_name, (sum (bytes) / 1024/1024) size_in_MB
    Of
    (SELECT table_name, nom_segment, owner, bytes)
    FROM dba_segments
    WHERE segment_type = 'TABLE '.
    and owner = 'SCOTT '.
    )


    Group by owner, table_name

    ) s
    We upper (col.table_name) = upper (s.table_name);

    Paul








    I think you need this query:

    Select T.table_name,

    -to_number (extractvalue (xmltype (dbms_xmlgen.getxml ("select count (*) BSB_GL c.' |")))) ((table_name)), ' / LINES/LINES/C ')) as row_cnt

    Row_cnt T.Num_Rows,

    County (tc. Column_name) column_count;

    (sum (s.bytes) / 1024 / 1024) size_in_MB

    from dba_tables T


    Join the tc dba_tab_columns

    on tc. OWNER = "BSB_GL."

    and tc. Table_name = t.table_name


    Join dba_segments s

    on s.segment_name = t.table_name

    and s.OWNER = 'BSB_GL. '


    where (t.iot_type! = 'IOT_OVERFLOW' or t.iot_type is null)

    and t.owner = 'BSB_GL. '

    T.table_name group, T.NUM_ROWS

    If you gather stats column NUM_ROWS in dba_tables gives you cumber of rows in table correctly. And this will be faster than yous query

    ----

    Ramin Hashimzade

  • SQL script to insert values into a table based on the type of user

    Hello

    I have a requirement where I need to insert (username, groupname) in a table based on the user name.

    We have two types of user accounts:

    (1) user name, which starts with "DV" example: "DVPATM."

    regular user 2) example: 'PATM '.

    If the user name begins with "DV" under instruction insert should kick in

    insert into < tablename > (username, groupname) VALUES (< username > ' < groupname1 >).

    otherwise below insert statement should kick in

    insert into < tablename > (username, groupname) VALUES (< username > ' < groupname2 >).

    I need to use SQL or stored only procedure.

    Please suggest

    Thanks in advance

    All things being constant, you could use decode/case just for groupname by examining the first character t the user name, for example

    insert into (username, groupname) VALUES (, (substr ( , 1, 2) the case when "DV" then else end));

    Fixed edit: value for OTHERS, as noted by Frank

  • To get the name of the table the column

    Hi I have an Html5 app, and I get the dataset from the database and bind the data based on the column name. but the answer of the oracle db column names as attr_1, attr_2 and so on. Here is the code and the result after execution.

    create or replace PACKAGE SAYAM
    IS
           CURSOR cur
           IS
                  SELECT CAST(0 AS NUMBER(5, 0)) "COMPID" ,
                         CAST(0 AS NUMBER(4, 0)) "FINYEARID" ,
                         EMPLOYEEID,
                         CAST(0 AS NUMBER(5, 0))"MENUID" ,
                         CAST('' AS NVARCHAR2(10))"CALLBYPANEL",
                         EmployeeName
                  FROM  EmployeeInfo;
                 
    Type cur_tbl
    IS
           TABLE OF cur%rowtype;
          
    END SAYAM;
    
    

    DECLARE
           v_GlobalParam Xmltype:=Xmltype(
           '<QueryParam> 
    <CompID>1</CompID> 
    <FinYearID>1</FinYearID> 
    <MenuID>0</MenuID> 
    <EmployeeID>-1</EmployeeID> 
    <CallByPanel>APPWEB</CallByPanel>
    <EmployeeName>Ranjit</EmployeeName>
    </QueryParam>'
           );
           tableglobal SAYAM.cur_tbl;
           rc sys_refcursor;
    BEGIN
           SELECT XT.CompID,
                  XT.FinYearID,
                  XT.MenuID,
                  XT.EmployeeID,
                  XT.CallByPanel,
                  XT.EmployeName bulk collect
           INTO   tableglobal
           FROM   XMLTABLE('/QueryParam' PASSING v_GlobalParam COLUMNS
                  CompID NUMBER(5) PATH 'CompID' ,
                  FinYearID NUMBER(4) PATH 'FinYearID' ,
                  MenuID NUMBER(5) PATH 'MenuID' ,
                  EmployeeID NUMBER(5) PATH 'EmployeeID' ,
                  CallByPanel VARCHAR2(10) PATH 'CallByPanel',
                  EmployeeName Varchar2(200) Path 'EmployeeName' ) XT;
           OPEN rc FOR SELECT * FROM TABLE(tableglobal);
           SYS.DBMS_SQL.RETURN_RESULT(rc);
    END;
    
    
    

    Now, I get the below result-

    Capture.PNG

    but the goal that is required is as below with the valid column name

    Capture.PNG

    Please let me know if there is any action to get the column names.

    Thanks in advance.

    Apologies - I have managed to reproduce the original problem in 12.1.0.2.

    The problem with ATTR column names is that you use a local collection declared in a package.

    You need a SQL type.

    But does not change my position when it comes to a sensible direction to go.

    SQL> l
      1  create or replace type sayam_obj as object
      2  (compid      number(5,0)
      3  ,finyearid    number(4,0)
      4  ,employeeid  number
      5  ,menuid      number(5,0)
      6  ,callbypanel  nvarchar2(10)
      7* ,employeename varchar2(100));
    SQL> /
    
    Type created.
    
    SQL> create or replace type sayam_tbl as table of sayam_obj;
      2  /
    
    Type created.
    
    SQL> get test3.sql
      1    DECLARE
      2        v_GlobalParam Xmltype:=Xmltype(
      3        '
      4    1
      5    1
      6    0
      7    -1
      8    APPWEB
      9    Ranjit
    10    '
    11        );
    12        tableglobal sayam_tbl := sayam_tbl();
    13        rc sys_refcursor;
    14    BEGIN
    15        SELECT sayam_obj(XT.CompID,
    16              XT.FinYearID,
    17              XT.MenuID,
    18              XT.EmployeeID,
    19              XT.CallByPanel,
    20              XT.EmployeeName) bulk collect
    21        INTO  tableglobal
    22        FROM  XMLTABLE('/QueryParam' PASSING v_GlobalParam COLUMNS
    23              CompID NUMBER(5) PATH 'CompID' ,
    24              FinYearID NUMBER(4) PATH 'FinYearID' ,
    25              MenuID NUMBER(5) PATH 'MenuID' ,
    26              EmployeeID NUMBER(5) PATH 'EmployeeID' ,
    27              CallByPanel VARCHAR2(10) PATH 'CallByPanel',
    28              EmployeeName Varchar2(200) Path 'EmployeeName' ) XT;
    29        OPEN rc FOR SELECT * FROM TABLE(tableglobal);
    30        SYS.DBMS_SQL.RETURN_RESULT(rc);
    31*    END;
    SQL> @test3.sql
    
    PL/SQL procedure successfully completed.
    
    ResultSet #1
    
        COMPID  FINYEARID EMPLOYEEID    MENUID CALLBYPANE
    ---------- ---------- ---------- ---------- ----------
    EMPLOYEENAME
    --------------------------------------------------------------------------------
        1        1          0    -1 APPWEB
    Ranjit
    
  • Hide the line of adf table based on the transient attribute does not

    I have a JSF page where the user can insert new line in View object . this View object contains a transitional attribute which indicates whether or not the record is newly created.

    On the same page, I have a table adf which is bounded on the city view object . This table should show only newly created records. my approach is to use expression language of in the renditions property to hide all the other lines that are not newly created. I changed the render property for the columns of the table as: rendered="#{row.bindings.RowStatus.inputValue eq'new'}" , but the table does not show anything.

    Then, I tried to change the made not for the column property, but to the outputText inside the same way. It worked, but the problem is that the blank line is always on display.

    So, basically because I do not hide the entire line, instead I'm hiding the text in the lines and lines with spaces empty is still on display in the page aside.

    The Table of JSF page where the made property is applied on outputText inside the column:

    <af:table value="#{bindings.UplodedFilesView1.collectionModel}" var="row"
      rows
    ="#{bindings.UplodedFilesView1.rangeSize}"
      binding
    ="#{CreatSR_UserBean.fileTable}">

      
    <af:column sortProperty="#{bindings.UplodedFilesView1.hints.FileName.name}"
      headerText
    ="File Name" id="c1">

      
    <af:outputText value="#{row.bindings.FileName.inputValue}" id="it1"
      rendered
    ="#{row.bindings.RowStatus.inputValue eq'new'}"/>

      
    </af:column>

      
    </af:table>

    I use Jdeveloper with ADF technology 11.1.2.3

    Thanks Timo,

    You are right. Its to late to hide lines after stamping in the row set. I solve the problem by filtering the view object, based on the transitional attribute in the section of liaison page. The steps as follows: (assuming that the object from view with the temporary attribute has been created, and the transient attribute contains the filtered values)

    1. Drag the view object on the page and also make the Table (in my case it might otherwise listen)
    2. On the page, go to the connection tab.
    3. Double-click the object desired in the links column.
    4. New window will appear titled with (change the binding tree)
    5. Check the option (enable filtering)
    6. Select the (filter attribute) and (filter value) for the selected filter attribute.
    7. Select (Display attribute) you want to appear in the page.
    8. Press OK
  • How update the column in the table based on the value selected in apex4.1

    Hi all
    I have the following tables,
    leave_type table,it has the following fields,
    1.emp_name,
    2.sick
    3.casual
    and it has the values as follows,
    emp_name                  sick             casual
    guru                           10                10
    mishra                         10                10
    leave_master table and it includes the following fields
    1.emp_name,
    2.leave_type
    3.no_of_days
    I have the form based on the table "leave_master"
    Here, the leave_type has the LOV which includes.
    sick and casual.

    When the form is filled out and clicked on the button submit,
    I need to update the column leave_type in table leave_type,
    for example,.
    if 
    emp_name:guru
    leave_type:sick
    no_of_days:3
    then I want to update the leave_type column,
    sick sick = - no_of_days for the 'guru' of name
    That is to say, ill = 10-3 = 7

    then the leave_type of the table must be,
    emp_name                       sick             casual
    guru                                 7                10
    mishra                              10               10
    someone can such me what code or method I can use?
    Thank you.

    Published by: Gurujothi on May 24, 2012 21:54

    Published by: Gurujothi on May 24, 2012 21:54

    Try something like this...

    BEGIN
    IF: PXX_LEAVE_TYPE = "Sick" THEN
    UPDATE LEAVE_TYPE
    THE PATIENT VALUE = SICK -: PXX_NO_OF_DAYS
    WHERE EMP_NAME =: PXX_EMP_NAME;
    ON THE OTHER
    UPDATE LEAVE_TYPE
    DEFINE CASUAL = CASUAL -: PXX_NO_OF_DAYS
    WHERE EMP_NAME =: PXX_EMP_NAME;
    END IF;
    COMMIT;
    END;

  • How to propagate the column names in the file engineering reverse to db table?

    Hello

    I have successfully reverse engineered column about 100 names on the first line of a file flat .cvs in a data store of file (technology) using ODI 11.1.1.

    Now I would like to imitate what I used to do with OWB: simply propagate these column names from my data file store flat source to my table (in the meantime) target store empty db.

    How can I do?

    ---

    I tried as much as one can intuitively: drag the columns in my store of source (depending on model) to my target db table that is open in the main view, but ODI Studio just opens as Inspector tabs for columns.

    In my loading interface, if I choose 'Temporary target', it behaves exactly as I want (rigth click .cvs file to map the tab 'Add a column to the target'), even the chains are transformed into Varchar2...
    ... only, it will not implement target as a permanent store if I uncheck 'Temporary' and I can't select and copy the entire grid to export elsewhere.

    Generating the DDL to create a target table db and reverse would still be acceptable to me but generating the DDL for a store file does not make sense to ODI.

    Any help?

    Thank you

    2 quick ways to do:

    1.) copies the file according to the data store and then move it to the Oracle based model.
    2.) use CFD (designer of common Format) and create a diagram in your model of Oracle based. Drag and drop the file based model in there.

Maybe you are looking for