RE: Strange output

From: Mercadante, Thomas F (LABOR) <Thomas.Mercadante_at_labor.state.ny.us>
Date: Tue, 29 Apr 2008 15:38:03 -0400
Message-ID: <ABB9D76E187C5146AB5683F5A07336FF01C49CA2@EXCNYSM0A1AJ.nysemail.nyenet>


Mir,

Might you have two versions of this table someplace?

Connect as sys

Select owner, table_name
From dba_tables
Where table_name = 'FAMIS_GURFEED';

Select * from dba_synonyms
Where synonym_name = 'FAMIS_GURFEED';

As a last resort, are you using Fine Grained Access control on this table to limit the result of queries for some reason?

Tom

-----Original Message-----

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Mir M. Mirhashimali Sent: Tuesday, April 29, 2008 2:42 PM
To: oracle-l_at_freelists.org
Subject: Strange output

Database is 10.1.0.5.0 Redhat Linux 64-bit.

any idea what may cause this. When logged in as the schema owner i don't see all rows. but when i login as system i see all rows.

$ sqlplus /nolog

SQL*Plus: Release 10.1.0.5.0 - Production on Tue Apr 29 13:34:00 2008 SQL> connect famis
Enter password:
Connected.
SQL> select count(*) from famis_gurfeed;

  COUNT(*)


      5022

SQL> connect system
Enter password:
Connected.
SQL> select count(*) from famis.famis_gurfeed;

  COUNT(*)


     59147



Mir

--

http://www.freelists.org/webpage/oracle-l

--

http://www.freelists.org/webpage/oracle-l Received on Tue Apr 29 2008 - 14:38:03 CDT

Original text of this message