User Role to view all tables?

Is there a 'role' in oracle which enables a user to read (only) all the tables (exluding sys views/tables) ?

There is no such role. You would have to create one and grant SELECT on all desired objects to it. The closest thing to what you are asking is the SELECT_ANY_TABLE privilege, but it allows a user to select any table and view in the database including those in the SYS schema. This is probably not what you want.
Kind regards,
Russ Cannon

Similar Messages

  • How to view all table of a database

    How to view all table of a database created on a oracle 9.2/10g database management system.
    How to view available tables of oracle dbms which comes by default with package.
    Thank you so much in advance!
    With Regards,
    Niks

    You posted the same question twice.
    How to view all table of a database

  • User X can view SCOTT table (all_object)

    I understand, a user views all the objects that he owns plus the objects to which he has access to in table all_objects.
    I'm trying to trace for this user where he can view objects where owner='SCOTT'.
    I'm trying to find what access user X has on objects under SCOTT schema, but I can't find anything in DBA_TAB_PRIVS, DBA_SYS_PRIVS, user X is assigned a role which has following SYS privs CREATE TABLE, CREATE TRIGGER, CREATE SESSION, and CREATE SEQUENCE.
    How can I know what other privs user X is assigned that he can view objects in SCOTT schema.

    The application is ArcCatalog from ESRI, and it knows
    that the owner of database is user Y. so you mean
    it's filtering for all users except SYS/SYSTEM/user Y
    and showing the objects other than that?Of course I don't know. But the point is I trust SQL*Plus much more than some app... And from SQL*Plus I can much easier understand what I can see, what I cannot see and why.
    To my mind there are following options, if you really want to know that:
    1. Try to guess what is the reason probably finding one, probably not.
    2. Try to find app documentation that describes the way how it filters out objects.
    3. Run trace and see what statements it issues, of course it may filter out something in the frontend app.
    4. Wait for a while probably someone knows this app behaviour and can give you more precise answer.
    Gints Plivna
    http://www.gplivna.eu

  • How to view all tables and column names from a remote database

    Hey Guys,
    I have a database in a remote server. I have the db link and the schema name.. Now i want to view all the tables in the remote database with column names.. I dont have access to that database using sql developer.. But i can view some tables using the db link..Is there any way i can view all the tables with the column names?

    user10683742 wrote:
    Dont think i have DBA access..It gives the following error
    ORA-00942: table or view does not exist
    00942. 00000 - "table or view does not exist"You don't have to have 'dba' access, per se. You just have to have SELECT ALL TABLES privilege. when you use a db_link, you are connecting to the remote db with the user defined in the link, and .. on that db .. you will have the privileges of the user defined in the db link. Exactly as if you had used sqlplus to connect to that db with that user.

  • A need to view all tables

    A newbie question here:
    I simply would like to see all the tables in the database I am using. How can I be sure that I have them all in front of me so that I can understand better what it is I am manipulating.
    Thanks

    If you want all tables accessible to the current user that you are connected, query all_tables.
    If you want all tables in the database, query dba_tables, but you need to have privilege to select from this view.

  • VIew all tables and data in MaxDB

    Is there any software that is able to view all the tables and data in the MaxDB instance?

    Hello
    Assuming, that you are looking for information about the DB's catalog, please consider the catalog functions of JDBC or ODBC.
    Surely there exists a lot of free tools, gathering the catalog via JDBC/ODBC of a database.
    Regards  Thomas

  • CAN NOT VIEW ALL TABLES IN MY INSTANCE/SCHEMA

    neither thru an ODBC connection in Access or thru TOAD can I see all of the tables available to me in my instance. In TOAD I can query them, if i know their names and call them in the SQL but when i go to the table view they are not there.... HELP!!!!!

    I ran a 9i RAC with hundreds of tablespaces and several hundred user objects (tables, procedures, etc.) in each tablespace (product development environment). I HAD to use roles for privileges or it was unmanageable. Access to the DB was mostly from MS Access users who didn't know how to write real SQL or use an enterprise-level reporting tool. I set up a lot of ODBC-links for people who only had privileges granted via roles, and the biggest problem wasn't the explicit grants, but not having READ access. All had a default role (and I frequently ran into the role limit issue) selected and this didn't seem to affect the selection of tables via ODBC. I strongly recommend that you check and verify that the user you are trying to connect through ODBC has READ rights on the tables in question, not just EXECUTE, REFERENCES, INSERT, UPDATE, DELETE, etc.

  • Restriction for users NOT to viewa particular table/Infotype..

    Hi All,
    We have a requirement where employee's salary details need to be uploaded into the SAP HR database.
    But in our scenario, someof our consultants have Production login and can access SE16 Tcode to view the database table entries.
    Now since we need to upload the salary details into an Infotype, this infotype should not be made accssable to the consultant logins. In the meanwhile, the logins should not be restricted to user SE16 Tcode.
    Hence can we put a restriction, so that these consultants can not view the particular infotype which as salary details?
    They should be given access to browse SE16. But at the same time, they should not be allowed to browse PAXXXXX Infotype which contains SALARY details..
    How to handle this kind of problems????
    Regards
    Pavan

    Hi All,
    I have got a response from another user as follows. But can anyone explain me how exactly move ahead....???
    We have recently dealt with a similar scenario.
    What we have done is we have used the authorization object S_DEVELOP with OBJTYPE TABL(means table access).
    Unfortunately we could not find a way to exclude one or several tables from selection.
    Thus we have given two intervals to OBJNAME field.
    First interval starts from the very first table in the system /1CN/AMFSAPH1FDT (please check your system for this) to the table just before the one we are trying to restrict (P593R).
    Second interval starts from the first table after the restricted one (PABASN) to the last table in the system(ZZXXX) (please check your system for this).
    In the solution above we had restricted access to all PAXXXX tables.
    Regards
    Pavan

  • Viewing all Table names in my schema

    I have lost track of what tables I have created in for my database. I can't find in the SQL documentation where the
    command is to show all the table names in my schema.
    Thanks so much
    Nick

    Or you can pause the output :
    SQL> set pages 24 
    SQL> set pause on
    SQL> set pause "Press Enter " 
    SQL> select * from tab;http://download-west.oracle.com/docs/cd/B10501_01/server.920/a90842/ch13.htm#1011230

  • User Roles not limiting views

    I am working on User Roles and Views in SCSM. I have created a User Role for our Development Support Staff. I have assigned only the Service Request views for that Support Group.
    When I view the console with one of those users credentials, I see all Incidents, Change Management, and Problems that are in SCSM.
    I have checked the User Role and they only have access to the View - Assigned to Me.
    I would like to understand why this user can still see everything in SCSM and how I can go about blocking these views for all User Roles unless they need them.

    User roles are cumulative. If you have user A who is in User role X that has access to all views and same user A who is in a user role that only has access to View 1, 2, and 3 then user A still has access to all views through the user role X.
    In short. The users have access to all those views through another user role.
    Cheers,
    Anders Spælling
    Senior Consultant
    Blog:  
    Twitter:   LinkedIn:
    Please remember to 'Propose as answer' if you find a reply helpful

  • Selecting from a view when tables are in more than one schema problem

    I give up where am I missing it. Why is the ORA-01031 error being generated on the view u1.bv1. In testing even if I give object access to u3 I still get the same errors:
    SQL>
    SQL> drop user u1 cascade;
    drop user u1 cascade
    ERROR at line 1:
    ORA-01918: user 'U1' does not exist
    SQL> drop user u2 cascade;
    drop user u2 cascade
    ERROR at line 1:
    ORA-01918: user 'U2' does not exist
    SQL> drop user u3 cascade;
    drop user u3 cascade
    ERROR at line 1:
    ORA-01918: user 'U3' does not exist
    SQL> drop role aRole;
    drop role aRole
    ERROR at line 1:
    ORA-01919: role 'AROLE' does not exist
    SQL>
    SQL>
    SQL> select user from dual;
    USER
    SYS
    1 row selected.
    SQL>
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for Solaris: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    5 rows selected.
    SQL>
    SQL> create user u1 identified by u1 default tablespace users
    2 quota unlimited on users;
    User created.
    SQL>
    SQL> create user u2 identified by u2 default tablespace users
    2 quota unlimited on users;
    User created.
    SQL>
    SQL> create role aRole;
    Role created.
    SQL>
    SQL> create user u3 identified by u3 default tablespace users;
    User created.
    SQL>
    SQL> grant aRole to u3;
    Grant succeeded.
    SQL>
    SQL> alter user u3 default role all;
    User altered.
    SQL>
    SQL> grant create session to u3;
    Grant succeeded.
    SQL>
    SQL> create table u1.t1(c1 number);
    Table created.
    SQL>
    SQL> create table u2.t1(c1 number);
    Table created.
    SQL>
    SQL> grant select on u2.t1 to u1;
    Grant succeeded.
    SQL>
    SQL> create or replace view u1.bv1 as
    2 select u1.t1.c1 as c1 ,u2.t1.c1 as c2
    3 from u1.t1, u2.t1 where u1.t1.c1 = u2.t1.c1;
    View created.
    SQL>
    SQL> grant select on u1.bv1 to aRole;
    Grant succeeded.
    SQL>
    SQL> create or replace view u1.gv1 as select * from u1.t1;
    View created.
    SQL>
    SQL> grant select on u1.gv1 to aRole;
    Grant succeeded.
    SQL>
    SQL> connect u3/u3
    Connected.
    SQL>
    SQL> select * from u1.bv1;
    select * from u1.bv1
    ERROR at line 1:
    ORA-01031: insufficient privileges
    SQL>
    SQL> select * from u1.gv1;
    no rows selected
    SQL>
    SQL> spool off

    User u1 cannot do a grant on a view to other user if the view uses tables from other schemas unless you do a "with grant option" grant.
    You need to do the following to make it work:
    SQL> grant select on u2.t1 to u1 with grant option;
    Grant succeeded.
    SQL>

  • View all products button?

    Hi,
    Is it possible to set up a "view all products" button for products? So, rather than clicking through pagination, the user can click view all products button.
    Thanks
    Tom

    Out the box we don't offer an "all product" button.  Most likely due to a limit in place of 500 per page. 
    The tag that controls this can be found via site manager -> module templates -> "overall shop" layout.
    {tag_productlist}
    Lists the products in the current catalogue (Use {tag_productlist,u,v,w,x,y,z} where u is the number of products per row; v is the target frame, e.g. _blank or leave empty; w is the number of products per page (limit of 500 products per page); x is the sort type, e.g. Price, or Alphabetical; y allows you to hide empty message, e.g. 'this catalog has no products' and z is list type). Change: {tag_productlist,4} to {tag_productlist,4,,,,,true} to display as LI.
    Reference: http://kb.worldsecuresystems.com/134/bc_1342.html#main_eCommerce
    Hope this helps clarify.
    -Sidney

  • Report to view all the Roles and Transactions assinged to a particular user

    Hi,
    I need to develop a report to view all the Roles and Transactions assinged to a particular user along with the Authorization values. So, if provide the Username, the report should be able to give Roles, Transaction Codes and the fields and thier authorization values for that TCodes..
    Regards,
    Sreenivas Raju

    Try this FM once - SUSR_USERS_LIST_ALV . It provides a list with Roles, Profiles, and also a detail button to check the authorization values etc.
    Also try this FM - SUSR_USER_DISPLAY_WITH_AUTHS, SUSR_USER_AUTH_FOR_OBJ_GET , SUSR_USER_DISPLAY_WITH_S_TCODE

  • Transaction SE16: Field selection (User-Specific Settings) is NOT working for ALL tables

    Hi Guru’s,
    I have an issue in Transaction SE16, Field selection (User-Specific Settings) is NOT working in Tables (ALL tables).
    Following is the screenshot attached for your kind reference,
    That is in the initial screen of transaction SE16 if I choose Filed Name or Filed Label only the technical details (Field Names) are appearing and not the descriptions like Client, Purchasing Doc, and Company Code Doc. Category Document Type etc…
    Right now I am using ECC6 and EHP7 SAP system.
    Please help me to resolve this issue by implementing any OSS note or User Role creations or any technical changes required in system.
    Hope the requirement is clear and in case need any clarification please revert back.
    NOTE: Right now in Development System we don’t have any successful user to compare the settings.
    Regards,
    Kumar.S

    Thanks Patra.
    Even I searched in SAP portal and couldn't able to find the relevant OSS note.
    Following is my BASIS team response,
    "Only you can view Table Field values from higher release"
    Can you suggest / guide on this comment as well.
    Looking forward to your speedy response.
    Regards,
    Kumar.S

  • User - Role - view only

    Dear all,
    i have a question. I am developing a application to view some data from the database. This application will be on the laptops of all the people that are working all over the country. To prevent that a stolen laptop is used fore decompiling the software and getting the login procedure and some fool editting the data i would like to create a user with a view only mode on only one table.
    What is the correct way to tho this, make a user,.... grant a role..... etc etc etc ?
    What are the parts that this user must have in his role? And what are the parts he must not have in his role?
    Thanks already,
    Johan.

    I figured out that none of the "Exchange 2013" cmdlet will not be present on our machine by default., We need to import the Powershell Session
    before using the cmdlet and then to remove it when we're done using it. Below is the complete set of commands needed to perform this task:
    Open Windows Powershell.
    Get the credentials.
    $Cred = Get-Credential
    Create a remote PowerShell session
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $UserCredential -Authentication Basic –AllowRedirection
    Plz make sure that the url given above is for Exchange Online only. 
    Import the cmdlets to the PowerShell
    Import-PSSession $Session
    Once the import is done, all the Exchange
    2013 cmdlets become available.
    We can then execute the cmdlet, "Add-RoleGroupMember"
    Add-RoleGroupMember -identity "View-Only Organization Management" -member PKS
    Finally, don't forget to remove the Session before exiting.
    Remove-PSSession $Session
    The only difference was that earlier I was not importing the PSSession before executing this cmdlet. Plz note that import is valid
    for any Exchange 2013 cmdlet and not just for this only.
    For further details, you can visit here

Maybe you are looking for