Applying a filter to restrict the tables displayed

using a new install of sql dev 2.1 (windows with jdk included in the download)
If i right click on the 'Tables' icon, then chose 'Apply Filter...' no matter what combination of the available options I chose I cannot get a reduced list of tables to be shown.
The applying of Filters to Views/packages/indexes/function/procedures etc works as expected.
'Tables/Apply Filter' worked ok on all the previous releases of sql dev I've ever used.
Anyone else experiencing this ?
Found the source of the problem.
By default a row with 'Exclude Rcycle bin' was always being shown, deleted this entire row and the filter works as in previous versions
Edited by: beneyr on 19-Feb-2010 11:59

You did install 2.1 in a new, clean directory, didn't you? If you overwrite a previous version, you'll get unexpected behaviour.
Regards,
K.

Similar Messages

  • Setting the filter to restrict the data based on processing period

    Hi all,
    Hope someone might be able to help me - OBIEE 11.1.1.5 - I have an RPD very simple just two tables (nothing coomplex).
    Here is the scenario - after every month end close the user will run the report from the dashboard by selecting the processing period like 20111130 (NOV close) processing period is a varchar(8) in the table, once the user selects the 20111130 i need to get the dataset for the last 12 months which is based on a different field called EMP HIRE DATE (this field includes the data values from 2005 onwards but i only need last 12 months) in this example l need to set the filter so that i only get the data from DEC 2010 - I was able to get this done using the SQL in TOAD against oracle 11 - but i am not sure how to set this as a filter in BI answers/dashboard
    The below is my filter in TOAD but not sure how i can accomplish this in OBIEE - PROCESSING_PERIOD is VARCHAR(8) , EMP_HIRE_DT is DATE
    EMP_HIRE_DT BETWEEN ADD_MONTHS(TO_DATE(SUBSTR(PROCESSING_PERIOD,1,6),'YYYYMM'),-11) AND LAST_DAY(TO_DATE(SUBSTR(PROCESSING_PERIOD,1,6),'YYYYMM'))
    i really appreciate any help

    Thanks.
    I also found that what was happening is that the state was being correctly set, but the List was overriding the state with its built in selected and hovered state.  The renderer would have a stepper, but as soon as the mouse moved over it it would change state.  I even tried deleting all the states in the states array except "normal" and "stepper" , but it would still change out of "stepper".
    Also, the buttons on the item renderer would also cause the item renderer to change states when their states changed.
    So, for this case, to get it done I changed from a states model to a visibility model, and that works fine:
    // if a recipe is a cocktail, switch state to display numeric stepper
    if (XML(data).@course == "cocktails") {
         stepperGroup.visible = true;
         stepperGroup.includeInLayout = true;
         doubleItGroup.visible = false;
         doubleItGroup.includeInLayout = false;
    } else {
         stepperGroup.visible = false;
         stepperGroup.includeInLayout = false;
         doubleItGroup.visible = true;
         doubleItGroup.includeInLayout = true;

  • Remove filter criteria from the table

    I have used af:table to display data and used filter to filter column data. After specifying any search criteria we need to remove it manually and press enter. I want to remove search criteria programmatically and display table data without any search criteria.
    How to remove table filter criteria in backing bean and refresh the table?
    Thanks in advance.

    I can't get the example "Programmatically Manipulating a Table's QBE Filter Fields"
    Where is it ?
    https://smuenchadf.samplecode.oracle.com/samples/ClearTableColumnFilterFields.zip
    Thks

  • Rowcount is zero , but the table displays data on the screen

    Hi,
    I have created an arraylist, which holds objects of a custom class. The custom class contains variables, that holds the data of each row.
    I did binding between this arraylist and a table. On the UI, the table is displayed with the data present in the class variables.
    But, when I use getrowCount(), it returns zero.
    Probably because of this reason, the selected row data is null. (tableselectone component).
    Any help is appreciated.

    /**** PatientsHelper Class
    private String firstName;
    private String lastName;
    private String patientId;
    private String firstNameCol;
    private String lastNameCol;
    private String patientIdCol;
    private String empType;
    private String empTypeCol;
    public void setFirstName(String firstName) {
    this.firstName = firstName;
    public String getFirstName() {
    return firstName;
    public void setLastName(String lastName) {
    this.lastName = lastName;
    public String getLastName() {
    return lastName;
    public void setPatientId(String patientId) {
    this.patientId = patientId;
    public String getPatientId() {
    return patientId;
    public void setFirstNameCol(String firstNameCol) {
    this.firstNameCol = firstNameCol;
    public String getFirstNameCol() {
    return firstNameCol;
    public void setLastNameCol(String lastNameCol) {
    this.lastNameCol = lastNameCol;
    public String getLastNameCol() {
    return lastNameCol;
    public void setPatientIdCol(String patientIdCol) {
    this.patientIdCol = patientIdCol;
    public String getPatientIdCol() {
    return patientIdCol;
    public void setEmpType(String empType) {
    this.empType = empType;
    public String getEmpType() {
    return empType;
    public void setEmpTypeCol(String empTypeCol) {
    this.empTypeCol = empTypeCol;
    public String getEmpTypeCol() {
    return empTypeCol;
    /***ColumnNames are also dynamically generated and are stored in columnNames (PatientHelper type) object**********/
    PatientsHelper columnNames = new PatientsHelper();
    columnNames.setFirstNameCol("First Name");
    columnNames.setLastNameCol("Last Name");
    /**********Code where the patientsHelper objects are kept in the arraylist **************/
    ArrayList PatientRecords = new ArrayList();
    private PatientsHelper patientAttributes;
    for(int i=0;i<10;i++){
    patientAttributes = new PatientsHelper();
    patientAttributes.setFirstName("abcd");
    patientAttributes.setLastName("efgh");
    patientRecords.add(patientAttributes);
    /*******ADF binding code ******************/
    <af:table emptyText="No items were found"
    value="#{backing_RegisterPatient.patientRecords}"
    var="row" rows="25"
    banding="row"
    bandingInterval="1"
    binding="#{backing_RegisterPatient.table2}"
    id="table2"
    rendered="true">
    <af:column sortable="false"
    headerText="#{backing_RegisterPatient.columnNames.patientIdCol}"
    formatType="text"
    binding="#{backing_RegisterPatient.column2}"
    id="column2">
    <af:outputText value="#{row.patientId}"
    binding="#{backing_RegisterPatient.outputText2}"
    id="outputText2"/>
    </af:column>
    <af:column sortable="false"
    headerText="#{backing_RegisterPatient.columnNames.empTypeCol}"
    formatType="text"
    binding="#{backing_RegisterPatient.column3}"
    id="column3">
    <af:outputText value="#{row.empType}"
    binding="#{backing_RegisterPatient.outputText3}"
    id="outputText3"/>
    </af:column>
    <af:column sortable="false"
    headerText="#{backing_RegisterPatient.columnNames.firstNameCol}"
    formatType="text"
    binding="#{backing_RegisterPatient.column4}"
    id="column4">
    <af:outputText value="#{row.firstName}"
    binding="#{backing_RegisterPatient.outputText4}"
    id="outputText4"/>
    </af:column>
    <af:column sortable="false"
    headerText="#{backing_RegisterPatient.columnNames.lastNameCol}"
    formatType="text"
    binding="#{backing_RegisterPatient.column5}"
    id="column5">
    <af:outputText value="#{row.lastName}"
    binding="#{backing_RegisterPatient.outputText5}"
    id="outputText5"/>
    </af:column>
    <f:facet name="selection">
    <af:tableSelectOne
    binding="#{backing_RegisterPatient.tableSelectOne1}"
    id="tableSelectOne1"
    autoSubmit="false">
    <af:commandButton text="View Documents"
    binding="#{backing_RegisterPatient.viewDocsButton}"
    id="viewDocsButton"
    action="#{backing_RegisterPatient.viewDocuments}"/>
    </af:tableSelectOne>
    </f:facet>
    </af:table>

  • How to display the rows dynamically in the table display in web dynpro abap

    Hi experts,
                   There is a visible row count tab where you can give the no of rows to be displayed in the output table, but i want it to be done dynamically as the row count of my table may change dynamically at runtime.
    And i want to know how to reduce the width of a column as my table display is taking the length as per the binded table specifications.Can anyone please help me out in this issue.
    Thanks in advance,
    Anita.

    Hi Anita
    You can bind the visiblerowcount property to the a context attribute. and at runtime you can set the context attribute to the no of rows you want in your table,
    Regards
    Naresh

  • LPA Reporting iView - Can we configure or change the table display?

    Hi all...
    We are using the Reporting Launchpad in MSS.  It is using the LPA reporting application to display an employee selection for headcound reports, etc.  The table lists employee, id, and 'P'.  It is limited to 5 entries.  Is there any configuration change this table display?

    Hi 640,
    I just checked it. You cant do it directly in Answers (the css property for the PTCOL2 is going to be the same and I'm not sure how you could assign different div id for it without going through source files). What you could do is create 2 pivot table views and put them side by side in Compound view. Might be tricky, but possible.

  • Restricting the table maintanance

    hi experts,
    i have created a table and generated a table maintenance using "table maintanance generator" in utilities menu. in the authorization group i have put "w/o auth grp" and authorization object system has proposed S_TABU_DISP. i want to limit the access to this maintenance table only to certain users. i mean even the user has the SM30 access, certain people only should be able to enter or change the entries in the table. how do i achieve this
    thanks

    hi abaper,
    thanks for the reply. i have gone through the link. so basically i have understood the funda of assigning authorisation group in the table maintenance generator screen and assigning to auth object. but i could not understand the second option , which is about tcode. lets say i have created a tcode for maintenance table , now how do i restrict that only certail users have access to that tcode. can u give me the detail steps required.
    also what do u think is the best and safe option.
    thanks

  • Can't get the table display my results

    OK After some good hours of debugging i am able to display my results on JTable for my queries. But i got another problem now. When i select Query2 from my JComboBox and click on execute button nothing happens, same thing for query3 and 4. The only thing which works is QUERY1 why? what am i doing wrong?
    import java.awt.FlowLayout;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JComboBox;
    import javax.swing.JFrame;
    import javax.swing.JOptionPane;
    import javax.swing.JTable;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableModel;
    import java.awt.event.ActionEvent;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.ResultSetMetaData;
    import java.sql.SQLException;
    import java.util.Vector;
    public class DatabaseProgramming extends JFrame implements ActionListener{
         static final String JDBC_DRIVER = "com.mysql.jdbc.Driver";
         static final String DATABASE_URL = "jdbc:mysql://localhost/employees";
         static final String USERNAME = "jhtp6";
         static final String PASSWORD = "jhtp6";
         private static final String QUERY1 = "SELECT * FROM employees WHERE DEPARTMENTNAME = 'SALES'";
         private static final String QUERY2 = "SELECT * FROM hourlyEmployees WHERE hours >= '30'";
         private static final String QUERY3 = "SELECT * FROM commissionEmployees ORDER BY commissionRate DESC";
         private String names[] = {"QUERY1", "QUERY2", "QUERY3", "QUERY4"};
         private Connection connection;
         private ResultSet resultSet;
         private Statement statement;
         private ResultSetMetaData metaData;
         private JTable resultTable;
         private JComboBox queryBox;
         private JButton button;
         private int number;
         private boolean connectedDatabase = false;
         private DefaultTableModel dtm;
         public static void main(String[] args) {
              DatabaseProgramming frame = new DatabaseProgramming();
              frame.setVisible(true);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         public DatabaseProgramming() {
              super("Testing Database");
              setLayout(new FlowLayout());
              //dtm = new DefaultTableModel(getColumnName(number),0);
              //     statement = connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
                   //         ResultSet.CONCUR_READ_ONLY);
              queryBox = new JComboBox(names);
              queryBox.setEditable(false);
                   //queryBox.addActionListener(this);
                   button = new JButton("EXECUTE");
                   resultTable = new JTable();
                   button.addActionListener(this);
                   add(queryBox);
                   add(button);
                   add(resultTable);
                   //add(result);
                   setSize(400,400);
          public void actionPerformed(ActionEvent e)  {
              String selection = (String)queryBox.getSelectedItem();
                        if(selection.equals(names[0]))
                        validateQuery(QUERY1);
                        if(selection.equals(QUERY2))
                             validateQuery(QUERY2);
                        if(selection.equals(QUERY3))
                             validateQuery(QUERY3);
          public void validateQuery(String query) {
                   try {
                        Class.forName(JDBC_DRIVER);
                        connection = DriverManager.getConnection(DATABASE_URL, USERNAME, PASSWORD);
                        System.out.println("Yay Database Connected");
                    Vector col = new Vector();
                    Vector data = new Vector();
               statement = connection.createStatement();
                  resultSet = statement.executeQuery(query);
                  metaData = resultSet.getMetaData();
                  number = metaData.getColumnCount();
                  for(int i=1; i<=number; i++)
                       col.addElement(metaData.getColumnName(i));
                  while(resultSet.next()) {
                       Vector row = new Vector();
                       for(int i=1; i<=number; i++)
                            row.addElement(resultSet.getObject(i));
                       data.addElement(row);
                 resultTable.setModel(new DefaultTableModel(data,col));
                 resultTable.revalidate();
               catch ( SQLException sqlException )
                  sqlException.printStackTrace();
                  System.exit( 1 );
               catch(ClassNotFoundException e) {
                    e.printStackTrace();
               finally
                  try                                                       
                     statement.close();                                     
                     connection.close();                                    
                  catch ( SQLException sqlException )
                     JOptionPane.showMessageDialog( null,
                        sqlException.getMessage(), "Database error",
                        JOptionPane.ERROR_MESSAGE );
                     System.exit( 1 );
    }

    One last question how can i display the columnName on my JTable? Add the table to a scroll pane and the scroll pane to the frame.

  • Displaying no default zeroes for the numeric field in the table display.

    hi folks,
         I am binding a table in the context which has some numeric fields. I'm  displaying the same table which has some records for editing purpose. But the problem is that the numeric  field column is being displayed with zeros if it doesnot have any value in it. Can u explain how to disable the zeroes by not displaying them by defualt when there is no value for the numeric field.
    regards,
    Ramu

    set the format of the context attribute TEST is the context attribute name
    data: lr_info type ref to if_wd_context_node_info.
    data: ls_prop type WDY_ATTRIBUTE_FORMAT_PROP.
    lr_info = wd_context->get_node_info( ).
    ls_prop = lr_info->GET_ATTRIBUTE_FORMAT_PROPS( name = 'TEST' ).
    LS_PROP-NULL_AS_BLANK = 'X'.
    lr_info->sET_ATTRIBUTE_FORMAT_PROPS( name = 'TEST'
                 FORMAT_PROPERTIES = ls_prop ).
    Abhi

  • Change the table display format

    I have a table like this:
    CH      CH0001    AA    200
    blank  CH0002    BB    300
    blank  CH0003    CC    400
    blank  blank         DD   500
    How can I chang it to look like this:
    CH  CH0001  AA  200
    CH  CH0002  BB  300
    CH  CH0003  CC  400
    CH  CH0003  DD  500
    Appreciate for your comments.

    Hi,
    you can supress the char in Query designer.
    Goto Query--> Select your char > click on properties>change the option Always supress.
    save and activate the query.
    Regards,
    Suman

  • How to restrict the user(Schema) from deleting the data from a table

    Hi All,
    I have scenario here.
    I want to know how to restrict a user(Schema) from deleting the values from a table created in the same schema.
    Below is the example.
    I have created a table employee in abc schema which has two values.
    EMPLOYEE
    ABC
    XYZ
    In the above scenario the abc user can only fire select query on the EMPLOYEE table.
    SELECT * FROM EMPLOYEE;
    He should not be able to use any other DML commands on that table.
    If he uses then Insufficient privileges error should be thrown.
    Can anyone please help me out on this.

    Hi,
    kumar0828 wrote:
    Hi Frank,
    Thanks for the reply.
    Can you please elaborate on how to add policies for a table for just firing a select DML statement on table.See the SQL Packages and Types manual first. It has examples. You can also search the web for examples. This is sometimes called "Virtual Private Database" or VPD.
    If you have problems, post a specific question here. Include CREATE TABLE and INSERT statements to create a table as it exists before the policies go into effect, the PL/SQL code to create the policies, and additonal DML statements that will be affected by the policies. Show what the table should contain after each of those DML statements.
    Always say which version of Oracle you're using. Confirm that you have Enterprise Edition.
    See the forum FAQ {message:id=9360002}
    The basic idea behind row-level security is that it generates a string that is automatically added to SELECT and/or DML statement WHERE clauses. For example, if user ABC is only allowed to query a table on Sunday, then you might write a function that returns the string
    USER  != 'ABC'
    OR      TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'So whenever any user says
    SELECT  *
    FROM    table_x
    ;what actually runs is:
    SELECT  *
    FROM    table_x
    WHERE   USER  != 'ABC'
    OR      TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'
    ;If you want to prevent any user from deleting rows, then the policy function can return just this string
    0 = 1Then, if somone says
    DELETE  employee
    ;what actually gets run is
    DELETE  employee
    WHERE   0 = 1
    ;No error will be raised, but no rows will be deleted.
    Once again, it would be simpler, more efficient, more robust and easier to maintain if you just created the table in a different schema, and not give DELETE privileges.
    Edited by: Frank Kulash on Nov 2, 2012 10:26 AM
    I just saw the previous response, which makes some additional good points (e.g., a user can always TRUNCATE his own tables). ALso, if user ABC applies a security policy to the table, then user ABC can also remove the policy, so if you really want to prevent user ABC from deleting rows, no matter how hard the user tries, then you need to create the policies in a different schema. If you're creating things in a different schema, then you might as well create the table in a different schema.

  • Tableview setting to enable to select the table columns to display

    Hi All,
    In webdynppto in the table ALV display we have the settings option with which users can control what columns of the table to display and what columns to hide in the table display.
    Users can also control the columns of the display to show or hide in the display. Can any of you please clarify how we can do this with the tableview
    The tableview I am using is below what setting do I need to enable to get the column display/hide by users at runtime
    Thanks
    Karen
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
    <htmlb:page>
    <htmlb:form>
    <htmlb:tableView id = "tv1"
    visibleRowCount = "10"
    selectionMode = "lineEdit"
    table = "<%= flights %>"
    filter = "SERVER"
    sort = "server"
    iterator = "<%= iterator %>" />
    </htmlb:form>
    </htmlb:page>
    </htmlb:content>

    hello,
    I do not think it's possible dynamically like ALV...on screen itself...
    to hide / display a column you can code in iterator class with some condition...
    Thanks,

  • Interpreting Predicate  and Filter information from the explain plan

    Can somebody help in understanding how does the predicate and filter operation effects the execution plan.or how can I conclude the predicate or filter operation chosen by optimizer is not optimized.

    User445775,
    The paraphrase that I provided in my previous post was from page 74 of "Cost-Based Oracle Fundamentals".
    How to word the explanation...
    Assume that you have a database table which contains all of the phone numbers and addresses for people in a state. A query is executed to find user445775 in the city named "Redmond". Assume that the query looks like this:
    SELECT
      PHONE
    FROM
      PHONE_NUMBERS
    WHERE
      CITY = 'Redmond'
      AND FULL_NAME = 'user445775';Assume that there are no indexes on the table. The DBMS_XPLAN would show two filter predicates applied during a full tablescan - this probably indicates an inefficient access path, especially if there are a very small percentage of people matching the WHERE clause restrictions on the table.
    Now, assume that an index is created on the CITY column. The DBMS_XPLAN would show an access predicate applied to the index on the CITY column, and a filter predicate on the table access by index for the FULL_NAME. We eliminated a large number of possible rows by applying the access predicate to jump directly to the rows with the city of interest, and then filtered out those names which were not 'user445775'. This is not terribly efficient, especially if there are a large number of people in 'Redmond' that need to be filtered out.
    Now, assume that we drop the index on the CITY column and create an index on the FULL_NAME column. The DBMS_XPLAN would show an access predicate applied to the index on the FULL_NAME column, and a filter predicate on the table access by index for the CITY column. This could be a fairly efficient plan if there are only a couple rows in the table with FULL_NAME of 'user445775', as few rows will be discarded after the index access to find those with CITY = 'Redmond'.
    Now, assume that we drop the index on the FULL_NAME column and create a composite index on CITY,FULL_NAME. The DBMS_XPLAN would show an access predicate applied to the index on the CITY and FULL_NAME columns and there would not be a filter predicate on the table access by index - in this case, we will not discard any rows once retrieved by the index access.
    Page 211 of "Troubleshooting Oracle Performance" also shows a clear explanation of access and filter predicates.
    Think of access predicates (on indexes at least) as throwing out rows before they are retrieved from disk (or memory), and filter predicates as throwing out rows after they are retrieved from disk (or memory).
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • How to get the count of the entries in the table view

    Hello experts,
             I have got a requirement where i need to display the total number of entries present in the table view, since the result comprises of several pages. This requirement is even applicable for the filter options in the table view i.e., if i use a filter it should count the total number of entries that satisfy the filter criteria.
    Thanks in advance,
    Vijayalakshmi

    hi,
    its simple,just place an input field in the layout and display the cpunt in that field.
    for that do as below,
    first in the layout of the page where you are giving tableview tab,in the next line give
    <b><htmlb:inputField id="Count"
                      value="<%=ln%>"
                      disabled = 'X'/></b>
    to display the count in that input field which is disabled.
    and if i am mot wrong in the Initialization event, you are writing select query right to populate internal table.
    after that write,
    <b>describe table it_mara lines ln.</b>
    and define this ln in page attributes as type i.
    do award points f it helps u,
    regards,
    Message was edited by:
            sowjanya s

  • Performance Issue-;How to restrict the total output of the report.

    Hi Experts
    I need your advise to resolve one performance issue in my BI Publisher report.
    My report query is extracting more than 80000 records at once. To load these records into the report template it is taking all most 14 to 15 hours. Unfortunately i cannot change my logic to put some more filter to restrict the query output, as this is the requirement from the client.
    Is there any way i can restrict my report so that it will extract the first 1000 record and on the event of pressing next it will extract the next 1000 record and so on from the point when it left in last time.
    Kindly let me know if you have any solution for this.
    Thanks in advance.
    Regards
    Srikant

    Hi experts...
    Any update on this...

Maybe you are looking for

  • Apps no longer copy from phone to itunes

    Has anyone else seen this? I downloaded a few apps while on the go on to my iphone 3g. When I get home and try to sync again the apps never copy back into iTunes. Anyone have any ideas?

  • Flash Player isn't visible on web page

    After recently updating the Flash Player on my computer with the latest version, the player is no longer visible on many web pages; all that is visible is a blank white box. I've never had trouble with the player in the past. This problem seems restr

  • Where is the button to create PDFs in Office 2013?

    Until recently I was happily using Acrobat 9 with Office 2003, using the add in for Office programmes to generate PDFs from documents and importantly to archive mail in Outlook.  Then my company 'upgraded' everyone to Office 365 which meant the add i

  • Trivia Game

    Delete...

  • Weblogic Security

    When I run the project in IntelliJ IDEA (12.1.4), everything looks fine until I get this message: <Notice> <Security> <BEA-090078> <User weblogic in security realm myrealm has had 50 invalid login attempts, locking account for 1 minutes.> I changed t