Unable to display the records in a table

I am a user of a database DB1 U1. The Table T1 is available in a schema/user U2 in the same database DB1. Records are also available in T1.

The U1 user has select privileges on the table T1. But the select query returns no records in the table T1 for the U1 user. It returns "0 rows. But it has more than 1000 available records in this table, but unable to see those documents. But the U2 user can see these documents and select query retrieves records as usual. How to check what is stopping to select records. How to check what is the method of security set in place which prevents the U1 user to see the records in the table T1.

Help, please. . I'm naïve...

Thank you

You seem to have a virtual private database and/or use of fine-grained access control.

The two concepts are explained in books online for the version of the database that you didn't disclose it.

The rules are generally stored in the dictionary DBA_FGA views *.

--------

Sybrand Bakker

Senior Oracle DBA

Tags: Database

Similar Questions

  • How can I display the records of a table for the $ e?

    Hi all

    I had some constraints declared in the target data store. In my interface, I can see that some records have been moved to the table$ e.

    I want to see these documents. How can I see who? Help, please...

    GoTo model ODI of the creator--> YOUR DATA (right-click) store--> controls--> errors

    or

    Make sure that in IKM (delete temporary objects is SET to False). You can question him in the target schema. Select * from E$ _ (unless and until what during the installtaion you have not changed the prefix for ODI).

  • Unable to display the remote folder: the remote folder F:/wamp/www / "MYWEBSITENAME" / is not accessible or does not exist.

    In CS4, all of a sudden, I get the error "unable to display the remote folder: the remote folder F:/wamp/www /"MYWEBSITENAME"/ is not accessible or does not exist.»

    I'm in Manage Sites and test the file in the remote folder and it says "Dreamweaver connected to your web service successfully.

    I have not changed anything.  I had this once before a few years ago and just copied on the site of a new name and that fixed it, but it does not for the moment.

    Help.   Any ideas?  Thank you

    When you click the expand button in your files window, whose icon is selected in the upper part?

    The middle one is the test server (list of lightning bolt), if you try to download, you will need to switch to the remote server (standard search bullet list icon).

    If you do not have a local server running on a drive of F, and you try to put it on the test server, you will get an error saying: there is no. Is it happening?

    If you do not have a local server running on your F drive, remove the test server info, it is not necessary.

  • Unable to display the results of a detailed report or the results of a questionnaire which is inbedded in the project.  I checked the preferences of quiz and enabled for the draft declaration.  I use SCORM 1.2.  My LMS is not listed (MCN) and so I chose '

    Unable to display the results of a detailed report or the results of a questionnaire in a bed within the project.  I checked the preferences of quiz and enabled for the draft declaration.  I use SCORM 1.2.  My LMS is not listed (MCN) and so I chose 'other LMS standard.  Any ideas on why I see the results?

    Publish your SCORM SCORM Cloud and test if it will show you the results you want.  If so, then your problem is with your LMS.  If this is not your problem may be due to something in the settings of your current project.  Eliminate one thing at a time.

  • delete all the records in a table, the speed of insertion is not change.

    I have an empty table, and I insert a record need 100ms.
    During this table a 40,0000 trace, I insert a record need 1 s, it's ok, because I need to make a comparison according to an index before inserting a record need, so more record, more time.
    The problem is when I delete all the record in this table, the insertion time is always 1s, not reduce to 100ms. Why?

    Hello

    Read this part of the oracle documentation

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14220/logical.htm#CNCPT004

    The reason is always 1s, because when you inserted 400ko record as HWM (high tide is the border between old and new space in a segment.) moved to the top. And when you remove all records of your HWM still in the same coordinate system and that you have not reset to 0. So when you insert 1 it save free space and after finding faces (usually a regular insertions got 6 steps it inserts data). If you truncate your table you and try it again it will be faster that your HWM is reset to 0.

    Concerning

  • How to display the records of the base as well as a few other table table?

    Hello expert,

    I have an obligation to develop a form described below:

    A control block and block of data.

    DB block is based on table T1 (USER, Table_name, Column_name, ACCESS);

    In the control block, there are three fields,

    User, Table user will enter and block DB will query based on fields of control (user, table_name) block.

    In the table, it is not necessary that all columns of the table will be given.

    Assume there is a table X consist of 10 columns.

    Initially the user gives access to all of the 10 columns use this form.

    If we ask for the user, table, everything will come from table T1.

    Now consider the case, then the access granted to table X number of columns were 10. After that, 2 new columns added later.

    There is now no Info for the added column in table T1. I want to if user query DB block, these newly added column should display in block DB.

    Please help me.

    Thank you

    David

    > I want to if user query DB block, these newly added column should display in block DB.

    You must change your form and add the two columns as part of the base table. Forms does not add two elements to the base table of itself.

  • How to display the records from a query in the non-base data field

    Hello

    I have a problem:
    I have a query with a lot of tables and column 6 (select a, b, c, d, e, f x, y, z, t, s, g where the conditions) and I use 3 parameters.
    I create 3 settings: datai,: dataf and: partner and a button with a trigger when the button is pressed.
    Then a create a block manually with six field non-database a1, b1, c1, d1, e1, f1.
    Now, I want to display all the records in my query in a1, b1, c1, d1, e1, f1 where a1 = a, b1 = b, etc. and all the records (if I have 20 record, it will display 20 records in the non-base data field) when I press the button.

    How I did it:
    I create a cursor with the query, and then
    start the open cursor
    loop
    Fetch cursor in: a1,: b1,: c1: d1: e1,: f1;
    end loop;
    close the cursor;
    end;

    It displays a single record in a1, b1, c1 only, and it must display 100 records and date for all fields.

    Can someone help me with this problem?
    Thank you.

    Published by: 928437 on October 1, 2012 02:55

    Creating a view and the query in a database block are a great solution.

    To use the block non-base of data:
    You are missing the most important Next_Record; command.

     Begin
    Go_block('X'); -- block X is the non-database block
    Clear_Block(No_Validate);
    open cursor X1;
    loop
    If :System.Record_status != 'NEW' then
    Next_Record;
    End if;
    fetch X1 into :a1,:b1,:c1,:d1,:e1,:f1;
    Exit when X1%NOTFOUND;
    end loop;
    close X1;
    end;

  • Open a new window and displays the record using JavaScript information

    I would be very grateful if someone could help with the following query. I produced a simple database using APEX, a page that displays all the records that are currently (in the form of tables). However, due to the amount of information and the resolution of the screen, not all columns are displayed on the resulting web page.

    I would like to change by making the information contained in a hyperlink column, which, once pressed will open a new window containing most (if not all) of the information for the particular record.

    I think that this requires JavaScript and, possibly, SQL, however, I do not know where to start.

    Can anyone provide any assistance will be appreciated.

    If you need additional information, let me know.

    You can start with this:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:23

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • Read integer values to worksheet and display the values in a table

    Hi all

    I have integer values to read from a worksheet and display them in a table. I uses 'Reading of the spreadsheet file' mode 'integer '. I want to display these values in a table. The problem is the table takes only 2d-array of string as input but not an integer.

    It works fine if I change 'Worksheet file playback' mode to 'integer' to 'chain', but I want to read integers and must use integer values for calculations more. Please give suggestions on the display of integers to a table.

    Thank you.

    Do not take not piece-by-piece just convert as a whole. See the attached example

    Good luck

  • Unable to display the dashboard for tracking Session in Foglight

    Hi all

    We are unable to see the 'Application' at the Session followed by Fogligth 5.6.4 dashboard. There is something hindering this point of view, we checked in the Configuration, but has not found the cause.  Please suggest a solution that would help us to get this point across.

    Kind regards

    Guenoun.

    Gokuinath,

    To determine whether the configuration is bad, there is not enough information in the screen shot. The distribution of time seen request response expects as input a result of Application FxM (which represents the data of an FxM application definition).

    I noticed that your Applications dashboard is an iterator. I expect a different dashboard (created as a dashboard grid) to call the opinion of iterator Applications for each application of FxM result in a table.

    On the next page you sent, there is a tab Contaxt. If you click it, you will be able to tell if a result of Application FxM is passed to the request response downtime notice. If there is not transmitted to the data view no data will appear.

    David Mendoza

  • Unable to display the error message using the controller extension

    Hello

    I am trying to extend standard iproc CheckoutDistsCO. I have to display the error message when the quantity entered is '0 '. So I wrote logical when you click on the apply"" button. I created an extension CheckoutDistsCOEx & written logic here... but I am able to see messages in the log file, but no error message on screen.

    After having many forums I place super.processFormRequest (pageContext, webBean); at the end. It start always error message.

    Standard CheckoutDistsCO has a logic in the button apply. I think it is the substitution of the extension code... How can I fix? Pointers appreciated please

    package xxtr.oracle.apps.icx.por.req.webui;

    Import oracle.apps.fnd.framework.OAApplicationModule;

    Import oracle.apps.fnd.framework.OAException;

    Import oracle.apps.fnd.framework.OAFwkConstants;

    Import oracle.apps.fnd.framework.OARow;

    Import oracle.apps.fnd.framework.OAViewObject;

    Import oracle.apps.fnd.framework.webui.OAPageContext;

    Import oracle.apps.fnd.framework.webui.beans.OAWebBean;

    Import oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean;

    Import oracle.apps.icx.por.req.webui.CheckoutDistsCO;

    Import oracle.jbo.domain.Number;

    java.lang.String import;

    public class CheckoutDistsCOEx

    extends from {CheckoutDistsCO}

    {} public processRequest Sub (pageContext OAPageContext, OAWebBean webBean)

    super.processRequest (pageContext, webBean);

    }

    {public processFormRequest (pageContext OAPageContext, OAWebBean webBean) Sub

    super.processFormRequest (pageContext, webBean);

    OAApplicationModule am = pageContext.getApplicationModule (webBean);

    pageContext.writeDiagnostics (this, 'seized in PFR method", OAFwkConstants.STATEMENT);

    If (pageContext.getParameter ("Return")! = null) {}

    String applyevent = pageContext.getParameter (EVENT_PARAM);

    If (applyevent.equalsIgnoreCase ("return")) {}

    pageContext.writeDiagnostics (this, "clicked the Apply-back button" + applyevent, OAFwkConstants.STATEMENT ");

    OAException message = new OAException ("clicked on Apply-back put the message in the dialog box" + applyevent, OAException.INFORMATION);

    pageContext.putDialogMessage (message);

    OAViewObject poreqdistvo = (OAViewObject) am.findViewObject ("PoReqDistributionsVO");

    pageContext.writeDiagnostics (this, "display object = >" + poreqdistvo, OAFwkConstants.STATEMENT);

    OAAdvancedTableBean xxProjectDistsAdvTable = (OAAdvancedTableBean) webBean.findChildRecursive("ProjectDistsAdvTable");

    Line OARow = (OARow) poreqdistvo.getCurrentRow ();

    If (line! = null) {}

    pageContext.writeDiagnostics (this, "line Found"+ row, OAFwkConstants.STATEMENT);

    Number of xxtrqty = (Number) row.getAttribute ("ReqLineQuantity");

    pageContext.writeDiagnostics (Thi, "get attribute reqlinequantity" + xxtrqty, OAFwkConstants.STATEMENT);

    If (xxtrqty.intValue () == 0) {}

    pageContext.writeDiagnostics (this, "in comparing to 0 xxtrqty" + xxtrqty.intValue (), OAFwkConstants.STATEMENT);

    throw new OAException ("Enter valid amount", OAException.ERROR);

    }

    }

    else {}

    throw new OAException ("no line Found Else", OAException.ERROR);

    }

    }

    else {}

    throw new OAException ("not in"apply button", OAException.ERROR);

    }

    super.processFormRequest (pageContext, webBean);

    }

    }

    Thank you

    TR

    For example, when you comment on the super. PFR, you receive the error message on the right of the screen?

    Can you try this code and paste the debug log.

    public class CheckoutDistsCOEx extends CheckoutDistsCO {
        public void processRequest(OAPageContext pageContext, OAWebBean webBean) {
            super.processRequest(pageContext, webBean);
        }
    
       public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) {
      //super.processFormRequest(pageContext, webBean);
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            pageContext.writeDiagnostics(this, " ----> Entered into PFR Method", OAFwkConstants.STATEMENT);
            String applyevent = pageContext.getParameter(EVENT_PARAM);
      pageContext.writeDiagnostics(this, " ----> applyevent: " + applyevent, OAFwkConstants.STATEMENT);
            if (applyevent.equalsIgnoreCase("return")){
      pageContext.writeDiagnostics(this, " ----> Inside If", OAFwkConstants.STATEMENT);
                OAViewObject poreqdistvo = (OAViewObject)am.findViewObject("PoReqDistributionsVO");
                OARow row = (OARow)poreqdistvo.getCurrentRow();
      pageContext.writeDiagnostics(this, " ----> row : "+ row, OAFwkConstants.STATEMENT);
                if (row != null) {
      Number xxgesqty = (Number)row.getAttribute("ReqLineQuantity");
      pageContext.writeDiagnostics(this, " ----> xxgesqty : "+ xxgesqty, OAFwkConstants.STATEMENT);
                    if (xxgesqty.intValue() == 0) {
      pageContext.writeDiagnostics(this, " ----> throwing errro : ", OAFwkConstants.STATEMENT);
      throw new OAException("Enter Valid Quantity ",OAException.ERROR);
      }
      }
                else {
      pageContext.writeDiagnostics(this, " ----> No Row Error", OAFwkConstants.STATEMENT);
      throw new OAException("No Row Found Else ",OAException.ERROR);
      }
      }
      pageContext.writeDiagnostics(this, " ----> Calling Super", OAFwkConstants.STATEMENT);
            super.processFormRequest(pageContext, webBean);
        }
    }
    

    See you soon

    AJ

  • Unable to display the output of a concurrent program

    Dear members,

    I use Oracle R12.1.3 Vision Instance.

    I ran the program create accounting. When I click on the button to display output, the browser gets displayed and gets immediately closed. I'm unable to view the output.

    Can someone help me please to solve this issue?

    Thanks in advance.

    Kind regards.

    I faced this problem once. That's the problem with the settings of Internet Explorer.
    Check in the settings of IE-> tools - > Internet Options-> Security tab-> the zone (Intranet, for the most part)-> enable downloads.

    By
    VAMSi

  • by comparing the records with another table

    Hello
    I have the following 2 tables (test_prs & test_dep) and registers
    My goal is to compare test_prs with test_dep records and return the records that are not in test_dep

    Here is the table scripts
    create table test_prs (id ,p_id ,r_id)
    as
    select 1,200566,200566 from dual
     union all
    select 2,200567,200567
    from dual
    
    create table test_dep (id,de_typ,de_id,de_u_typ,de_u_id)
    as
    select 10,'AS',200566,'PG',200566
    FROM DUAL
    UNION ALL
    select 11,'AS',200567,'PG',200567
    FROM DUAL
    
    
    insert into test_dep 
    select 12,'AS',400189,'PG',400273 FROM dual union all
    select 13,'AS',400273,'PG',400250 FROM dual union all
    select 14,'AS',400273,'PG',400192 FROM dual union all
    select 15,'AS',400273,'PG',400191 FROM dual
    
    insert into test_prs
    select 3,400273,400273 from dual
    I tried the following query to meet my criteria. My output should be null, but all records
    select * from 
    test_prs  prs
    where  exists (select 1 from test_dep de where de.de_id !=prs.p_id and de.de_u_id !=prs.p_id )
    Could you please help me the same

    Published by: smile on 7 March 2012 15:00

    Smile says:
    Thanks for the request

    The query does not work with the following documents

    insert into test_dep
    select 16,'AS',750664,'PG',750758 FROM dual 
    
    insert into test_prs
    select 4,750758,750668 from dual
    

    the r_id should not be put in correspondence with the columns in the test_dep table. P_id must only be put in correspondence

    OK, you want to match against the de_id and the de_u_id p_id? Or a line where either p_id concordances r_id de_u_id or de_id must not be returned?

    To match p_id against de_id and de_u_id, you can write the query like this:

    select id, p_id, r_id from test_prs where
    p_id in
    (select p_id from test_prs
    minus
    select de_id from test_dep
    minus
    select de_u_id from test_dep);
    

    Brgds
    Johan

  • Insert the record of one table to another with the help of the cursor

    Help, please!

    the tables are - 1. countries (country_id pk, country_name, region_id)
    2A (country_id, country_name, region_id)
    table data are
    1 to 1
    2 b 2
    3 C 3
    NULL d 4
    5 e 5
    6 f 6
    7 g 7
    -----------------------
    Insert the record in the table a country table with the help of the cursor, insert all the non-null records.
    This procedure does not correct result
    -----------------------

    create or replace
    Amit procedure as
    cursor c1 is select * from a;
    RW a % rowtype;
    Start
    Open c1;
    Fetch c1 into rw.
    While (C1% found)
    loop
    insert into countries values (rw.country_id, rw.country_name, rw.region_id);
    commit;
    Fetch c1 into rw.
    If rw.country_id is null then
    Fetch c1 into rw.
    end if;
    end loop;
    Close c1;
    exception
    while others then
    dbms_output.put_line ('exception = name ' |) RW.country_name);
    end;

    You don't need cursor at all;

    create or replace procedure amit as
    
    begin
      insert into countries (Country_ID, Country_Name, Region_ID)
      (select a.Country_ID
             ,a.Country_Name
             ,a.Region_ID
       from a
      );
    
      dbms_output.put_line('Rows inserted : ' || sql%rowcount);
    
      commit;
    
    end;
    /
    
  • Addign a computed column of the record count in table external

    Hello

    I have a csv file that is loaded using the external table. My need is to give a number to each record in the file and save it in one of the extra column in the table, can anyone suggest how it is possible?

    The structure of the file is:
    $cat emp.txt
    7369,SMITH,CLERK,7902,12/17/1980,800,,20
    7499,ALLEN,SALESMAN,7698,2/20/1981,1600,300,30
    7521,WARD,SALESMAN,7698,2/22/1981,1250,500,30
    7566,JONES,MANAGER,7839,4/2/1981,2975,,20
    7654,MARTIN,SALESMAN,7698,9/28/1981,1250,1400,30
    7698,BLAKE,MANAGER,7839,5/1/1981,2850,,30
    7782,CLARK,MANAGER,7839,6/9/1981,2450,,10
    7788,SCOTT,ANALYST,7566,12/9/1982,3000,,20
    7839,KING,PRESIDENT,,11/17/1981,5000,,10
    7844,TURNER,SALESMAN,7698,9/8/1981,1500,0,30
    7876,ADAMS,CLERK,7788,1/12/1983,1100,,20
    7900,JAMES,CLERK,7698,12/3/1981,950,,30
    7902,FORD,ANALYST,7566,12/3/1981,3000,,20
    7934,MILLER,CLERK,7782,1/23/1982,1300,,10
    
    --and the table structure is:
    
        CREATE TABLE TMP_emp_ext
        (
        EMPNO                                      NUMBER(4),
        ENAME                                              VARCHAR2(10),
        JOB                                                VARCHAR2(9),
        MGR                                                NUMBER(4),
        HIREDATE                                           DATE,
        SAL                                                NUMBER(7,2),
        COMM                                               NUMBER(7,2),
        DEPTNO                                             NUMBER(2)
        )
        ORGANIZATION EXTERNAL
          (  TYPE ORACLE_LOADER
             DEFAULT DIRECTORY DIR_N1
             ACCESS PARAMETERS
               ( records delimited  by newline
            fields  terminated by ','
            missing field values are null
           )
             LOCATION (DIR_N1:'emp.txt')
          )
        REJECT LIMIT UNLIMITED
        NOPARALLEL
        NOMONITORING
     /
    Now, my need is to give a number to each record... like the record from 7369, SMITH should be granted record n ° 1, 7499, ALLEN should be record No. 2 etc... can anyone suggest how it is possible?

    Thank you
    orausern

    T. Kyte write RECNUM should work in http://asktom.oracle.com/pls/apex/f?p=100:11:0:P11_QUESTION_ID:52733181746448 #52977916329285 because it is SQL * Loader syntax. However I've wasn't able to make it work with Oracle 10.2.0.4. But in case of errors of loading, you should find in _XXXXX.log the number of rejected records line (in my example it's the meaning of the 'line 2' "line 2"):

    erreur lors du traitement de la colonne EMPNO, la ligne 2, pour le fichier de données /tmp/emp.txt
    ORA-01722: invalid number
    

Maybe you are looking for

  • How can I load my favorites from my program of microsoft windows in firefox

    I would like to load my microsoft Windows to my firefox bookmarks

  • I want to install Win XP on Satellite L500-14F

    Hello to everyone. Dear all. I * Setellite Toshiba L500 - model 14F and currently I am running Windows 7 on it, as it has not came with any OS if I install Windows 7 on it. So now, I want to install Windows XP on it, because I am facing some problems

  • ReadyNAS 516 ReadyCLOUD download problem

    I've been a Mac guy for many years, but I'm old laptop Dell my girlfriend of borrowing and tries to download files from the ReadyNAS. They seem to download very well, but when I look at Windows Explorer in any downloaded file shows as about 1 KB (byt

  • Presario c771us: several images presario

    My laptop screen displays several images permanently - 2 columns of 3 1/2 images.  Other positions for recent laptops suggest removing the battery and the power supply or by simultaneously pressing the Fn and F key. On this laptop, I tried Fn and F4;

  • HP brobook 4540 s... problem with drivers

    Hey... !I have installed 8.1 windows 64 bit on my hp probook 4540 s and I m missing the following drivers. 1 system base unit 2. system base unit 3 Rlink_RT3290_Blutooth_01 4 unknown device also, I couldn't find the finger print option to set the col