Read access to a schema!!!

Hi GUys,
I am using oracle 10.2.0.4.0 on windows server 2003. I have a silly question as I am new to oracle. I have a schema call SAT and SATREAD. I have to give read only access TO SATREAD on all tables and views in SAT. I did the following :
GRANT SELECT ON TABLENAME TO SATREAD;
After this I logged in as SATREAD and did
select * from tab;
and I get no rows selected. But when I do
select * from tablename then I get the correct resultss. Any Idea on how to see tablename listing in SATREAD schema.
I also did the following but not sure what I did was right:
SAT> create public synonym test for test; ---test is a name of table in SAT schema
Synonym created.
SAT> grant select on test to public;
SAT> conn SATREAD/******
Connected.
SATREAD> select * from tab;
No rows selected
Thanks

user12951692 wrote:
...All I want is when the end users log into SATREAD schema and do select * from tab, they should see all the tables from SAT schema.That's not possible. I'm not sure if you read my post above, but TAB should not be used, and I'm still wondering why you are looking into that TAB view.
TAB is a view selecting objects for your own user you are connected with (like USER_TABLES), consequently you cannot see tables owned by others.
See :
SQL> select text from dba_views where view_name='TAB';
TEXT
select o.name,
      decode(o.type#, 2, 'TABLE', 3, 'CLUSTER',
             4, 'VIEW', 5, 'SYNONYM'), t.tab#
  from  sys.tab$ t, sys.obj$ o
  where o.owner# = userenv('SCHEMAID')
  and o.type# >=2
  and o.type# <=5
  and o.linkname is null
  and o.obj# = t.obj# (+)
SQL>It makes clear than SCHEMAID is yourself and objects return are only your own objects. So, what you are looking for is not possible until you use the proper views.
Nicolas.

Similar Messages

  • How to find from the data dict if a user has read access on a directory

    How to find "dynamically" if a user has READ access to a directory object.
    I want to know if there is a data dictionary table that holds if a user/schema has read access to a directory object.
    I know there is an dba_directories table and an all_directories table but they dont give information as to which user has read access granted to the directory.

    Not so difficult.
    select  'YES'
       from all_tab_privs A, all_directories B
       where a.grantee = 'USERNAME'
           and a.table_name = b.directory_name
           and b.directory_path = 'PATH YOU ARE LOOKING FOR'
    How to find "dynamically" if a user has READ access to a directory object.
    I want to know if there is a data dictionary table that holds if a user/schema has read access to a directory object.
    I know there is an dba_directories table and an all_directories table but they dont give information as to which user has read access granted to the directory.

  • Accessing a different schema in Oracle

    Hi,
    I currently have a great deal of code that assumed it would have access to the same database schema as the logged on user e.g.
    "Select * from TABLE_NAME" (no need to specify schema name).
    I have found out that we will now be using a system where the user that logs on, will be granted select, update and delete priviledges on another schema. So now after setting up the connection, my code would have to read: "Select * from ANOTHER_SCHEMA.TABLE_NAME" where ANOTHER_SCHEMA is the schema that contains the tables.
    My question is, since I would have to modify a great deal of code at this point, is there any way to change the user on an existing connection so that I would not have to manually affix the new schema name to all table references? I would have to be able to do this without logging on as this alternate user since we will not have the password for that user (for security reasons).
    I have considered creating views in the initial schema that access the alternate schema (e.g CREATE VIEW TABLE_NAME AS SELECT * FROM ANOTHER_SCHEMA.TABLE_NAME), however I was wondering if there might be a better way to do this?

    Yes he would have to change his code. I am just used to using "S_" and it is the standard Oracle naming convention for synonyms. (Also it makes it clear that you are referencing the table via a synonym rather than hitting the table directly.
    Why not encode all table names in an abstract class.
    Eg
    package utils;
    public class TableNames
    public static final String TABLE_NAME1 = "S_TABLE_NAME1";
    public static final String TABLE_NAME2 = "S_TABLE_NAME2";
    //etc etc
    This class can then be used in the building of sql statements. If the table name happens to change at any time then a change is only required in TableNames class.

  • Error while reading access data (URL, user,password) for the Adapter Engine

    Hi,
    Any idea on below message? I am doing file to file scenario and got the below tarce from sxmb_moni.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.pi1.piserver1</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>no_messaging_url_found: Unable to find URL for Adapter Engine af.pi1.piserver1</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine af.pi1.piserver1</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Thanks
    Balaji

    It looks like the adapter engine is not able to register him self on SLD, you have to check in the SLD the "Exchange Infrastructure" domain, you have to verify restarting the J2EE the adapter engine update the entries in the SLD related to the specific XI Domain.
    Launch Visual Administrator >> Server >> Services >> SAP AF CPA Cache
    Enter the appropriate values for:
    SLD.selfregistration.hostname (Use fully qualified hostname)
    SLD.selfregistration.httpPort
    SLD.selfregistration.httpsPort
    Sandro

  • Read access to procedures,function,packages and triggers

    Hi,
    I created a user with CREATE SESSION,SELECT ANY TABLE privilege. My objective is to create a user with read only access to other schemas. But the newly created user is not able to read procedures,function,packages and triggers. The new user need read access to procedures,function,packages and triggers. What is the priviege required for this access? Please help me to resolve this issue.
    Regards,
    Mat.

    Hi,
    Grant select all will give select privileges to all schema level objects except procedures,function,packages and triggers. But I need to grant read privileges on these objects to newly created user.
    Regards,
    Mat.

  • Create a user that can only access to one schema - please help!!

    Hi all,
    I want to create one user in a Oracle DB that can only access to one schema. I did the following:
    CREATE USER "TEST" PROFILE "DEFAULT"
    IDENTIFIED BY "test" DEFAULT TABLESPACE "USERS"
    TEMPORARY TABLESPACE "TEMP"
    ACCOUNT UNLOCK;
    GRANT SELECT ON "TESTDTA"."F0007" TO "TEST"
    GRANT "CONNECT" TO "TEST";
    I have done a test and the user TEST can access all schemas, when I only gave explicit permissions to the schema TESTDTA.
    Any suggestion/clarification???
    Many thanks in advance.
    Víctor.

    Hello Andreas and Pavan,
    I have launched the query:
    select * from dba_tab_privs
    where grantee = 'PUBLIC'
    and owner = 'PRODDTA'
    and table_name= 'F0009';
    And the result:
    GRANTEE OWNER TABLE_NAME GRANTOR PRIVILEGE GRA HIE
    PUBLIC PRODDTA F0009 PRODDTA ALTER NO NO
    PUBLIC PRODDTA F0009 PRODDTA DELETE NO NO
    PUBLIC PRODDTA F0009 PRODDTA INDEX NO NO
    PUBLIC PRODDTA F0009 PRODDTA INSERT NO NO
    PUBLIC PRODDTA F0009 PRODDTA SELECT NO NO
    PUBLIC PRODDTA F0009 PRODDTA UPDATE NO NO
    PUBLIC PRODDTA F0009 PRODDTA REFERENCES NO NO
    PUBLIC PRODDTA F0009 PRODDTA ON COMMIT REFRESH NO NO
    PUBLIC PRODDTA F0009 PRODDTA QUERY REWRITE NO NO
    PUBLIC PRODDTA F0009 PRODDTA DEBUG NO NO
    PUBLIC PRODDTA F0009 PRODDTA FLASHBACK NO NO
    11 rows selected.
    Then I supose that I have to change the value on column GARANTEE. How can I do that?
    Thanks a lot for your help!!
    Víctor.

  • Is it possible to have a domain/user in BPEL PM with read access only?

    Hi,
    We deploy, undeploy, purge process and instances using the BPEL PM through the domain credentials. Is it possible to create a domain/profile/user in BPEL PM, through which we can only view the processes and the instances deployed in BPEL PM?
    This could be similar to one we have in Oracle Database, wherein we grant read access on some objects to another schema/user.
    Thanks & Regards,
    Prem.

    no, not in 10.1.2.0.2
    Alternative, you can create your own BPEL Console based on the BPEL AP and JSP.

  • Shared Services, create read access to a cube into an application us a grou

    Hi,
    I have an application with 3 cubes. I have created a group in Shared Services, and i want to give read access only to one cube.
    If i give provision to this group , i only can give read to all the application, so all the cubes are going to have read access.
    How must i do to give only read access to one cube and not to all,
    Thnx
    Guillermo

    Hi,
    This post will help answer your question :- Assigning database access using Shared Services
    If you are using Shared Services access is applied at application level and you can't select individual access to each database.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to fix: Unhandled page fault on read access to 0x00000000 at address 0x00aa4088 .

    hi
    i recently downloaded a game (assassins creed I), i opened it and the intro showed up after that the screen went white, then black and a window came up calld exception raised and then below it, it said, Unhandled page fault on read access to 0x00000000 at address 0x00aa4088.
    i have tried opening it many times and the same results come up.
    i've looked everywere and found that other people have had this same problem but no one has fixed it yet
    any help will be appreciated
    thanks

    I did try the OP's solution, but it proved to be only temporary. Take a gander at my proposition, and if you are experiencing many issues with your MBA and WiFi Connection, try doing all of the possible fixes located on these forums to see which one (hopefully) works for you. Here's my attempt at a solution.
    Well, after toying around with many of the settings on the MBA, I then began to work on the AirPort Extreme (Gigabit Version) and I discovered that the MBA would only connect when I selected "Interference Robustness" when configuring the MBA. This made a difference no matter what "Wireless Mode" the AE was in, be it 802.11n(b/g) Support, plain 802.11n(5Ghz), ect. So, try that out if you have an AirPort Extreme/Express and MBA, and post your results. The MBA is running 10.5.5 with only one update remaining (10.5.6).
    {This has posted in various threads by me, myself, and I, and I am only reposting so that many threads are aware of this. Hope it helps at least one person.}

  • Error message Indesign:Either the file does not exist, you do not have read access to it, or use the file in another application.

    I've got problem with opening a file in InDesign. The file type is an InDesign Markup Document. The error message is: Either the file does not exist, you do not have read access to it, or use the file in another application. What's wrong?

  • Users with read access to the site unable to view Managed Metadata Navigation

    Hi everyone,
    I created a Managed Metadata service and created group, term-set and terms
    I gave read access to users
    I set up navigation to use Managed Navigation
    I am logged in as farm admin and able to view the navigation when i browse site. But user are not seeing navigation.
    One thing i noticed is when i give users full access or designer access to site they will be able to see the navigation. but i don't want to give users full access or designer access to the site.
    How can users with read only access to site can view Managed Metadata Navigation...Please help?

    Hi Sunil,
    Have you given your users permissions to actually read the MMS data from the service application?
    http://technet.microsoft.com/en-us/library/ff625176.aspx covers permissions on the MMS.
    Regards
    Paul.
    <<edit>> On reflection you might be hitting the issue in this Stackexchange post..
    http://sharepoint.stackexchange.com/questions/75636/permissions-and-managed-metadata-in-navigation Is yours behaving the same way?
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

  • How can i get on my iMAC read access to BPF devices in /dev/bpf*

    Ls.
    How can i get/change on my iMAC read access to BPF devices in /dev/bpf*
    I want to use Wireshark.
    Thanks in advance.
    Loekie.

    ...any app launched from /Applications holds only the permissions of the user launching the app, regardless of the owner (presumably because anyone, including "root" can install applications into /Applications).
    It has nothing to do with where the application is installed. Any executable runs with the permissions of the user who runs it. The only exception is a binary executable with the SUID or SGID bit set, and then only if it's on the root device, and only if it's not an Aqua application. The SG/UID bits are ignored otherwise.
    So, anyone who has installed Wireshark from the "native .dmg" by drag-and-dropping won't be able to use the suid trick because the OS will ignore the suid permissions.
    Sorry, I don't understand this at all. Wireshark invokes dumpcap as a child process to capture packets. If dumpcap is installed anywhere on the root device as SUID root, then it will run as root regardless of who invokes it.
    The suid method will only work for Macports and Fink installations...
    That's not correct. There are many SUID or SGID executables in a default installation of the Mac OS, and none of them comes from MacPorts or Fink.

  • I have connected an external hard drive to my new macbook pro.  I only have read access.  How do I copy folders to the external hard drive?

    I have a new Macbook pro retina.  I have connected a WD external hard drive, but have only read access.  I want to back up my computer, and have the ability to archaive files.  Any suggestions?

    I have connected a WD external hard drive, but have only read access.
    As ds store already pointed out, if the drive is formatted as NTFS, you can't write to it. Fortunately, the fix is easy, just erase the hard drive using Disk Utility as Mac OS Extended (Journaled).
    I want to back up my computer, and have the ability to archaive files.  Any suggestions?
    Backups and archival backups are not necessarily the same thing. An archival backup is to be kept indefinitely far into the future, and should never be changed after it is created. That does not mesh well with being on the same drive as a backup maintained day-to-day. Ideally, archival backups should be written to one drive - possibly multiple backups, but each one should never be touched after it is written - and other backups should be maintained with greater frequency on one or more other drives.
    You can get a bit of compromise with an incremental backup, like what Time Machine does. That will keep old data as long as there's still free space on the drive, then will start removing the oldest copies of files to make space for newer stuff when necessary. Another alternative is the way Carbon Copy Cloner does incremental backups, where the data keeps piling up until the drive is full and then the backups fail until you remedy the situation. (This could allow you to fill up a drive and then put it on a shelf as an archival backup and start a new backup on a new drive.)
    If you can specify more what you want to do, we can advise you better.

  • Possible Sequential Read Access for a Sorted Table

    Hi All,
    I have the following warnings in Code inspector check.
    'Possible Sequential Read Access for a Sorted Table'
    Kindly provide me the solution to overcome this warning message.
    This is my code in BAdi : CRM_ORDER_FIELDCHECK , Method : FIELDCHECK
    I am getting the above warning at
      READ TABLE lt_status INTO ls_status WITH KEY status = 'E0001'
                                                   user_stat_proc = 'ZITRHDQT'
                                                   object_type = 'BUS2000114'.
    and at
        MODIFY ct_input_field_names FROM ls_input_field_names
                                    TRANSPORTING changeable
                                    WHERE fieldname NE lv_field.
    Please see the below code .
      DATA : lt_header_guid TYPE crmt_object_guid_tab,
             lt_item_guid TYPE crmt_object_guid_tab,
             lt_order_i     TYPE crmt_orderadm_i_wrkt,
             ls_order_i     LIKE LINE OF lt_order_i,
             lt_status      TYPE crmt_status_wrkt,
             ls_status      LIKE LINE OF lt_status,
             ls_input_field_names  TYPE crmt_input_field_names.
      DATA : lv_header_guid TYPE crmt_fieldcheck_com-guid,
             lv_chng_no   TYPE c VALUE 'A',
             lv_field(10)  TYPE c VALUE 'ACT_STATUS'.
      DATA: lv_status_completed     TYPE crmt_boolean.
    To Get GUID
      IF is_fieldcheck_com-guid IS NOT INITIAL.
        lv_header_guid = is_fieldcheck_com-guid.
      ELSE.
        lv_header_guid = is_fieldcheck_com-ref_guid.
      ENDIF.
      IF is_fieldcheck_com-ref_kind EQ 'A'.
        INSERT lv_header_guid INTO TABLE lt_header_guid.
        ELSE.
          SELECT SINGLE header FROM crmd_orderadm_i INTO lv_header_guid
                                WHERE guid = is_fieldcheck_com-ref_guid.
          INSERT lv_header_guid INTO TABLE lt_header_guid.
      ENDIF.
    *To Get the required details
      CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          it_header_guid       = lt_header_guid
        IMPORTING
          et_status            = lt_status
        EXCEPTIONS
          document_not_found   = 1
          error_occurred       = 2
          document_locked      = 3
          no_change_authority  = 4
          no_display_authority = 5
          no_change_allowed    = 6
          OTHERS               = 7.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE lt_status INTO ls_status WITH KEY status = 'E0001'
                                                   user_stat_proc = 'ZITRHDQT'
                                                   object_type = 'BUS2000114'.
      IF sy-subrc = 0.
        ls_input_field_names-changeable = lv_chng_no.
        MODIFY ct_input_field_names FROM ls_input_field_names
                                    TRANSPORTING changeable
                                    WHERE fieldname NE lv_field.
      ENDIF.
    ENDMETHOD.
    Regards
    Venkat

    Hello Blake,
    Try this:
    READ TABLE lt_action_fld WITH KEY STATUS = '0' BINARY SEARCH.
    wf_index = sy-tabix.
    loop at lt_action_fld from wf_index.
    if lt_action_fld-status ne '0'.
    exit.
    endif.
    delete lt_action_fld index wf_index.
    endloop.
    Let us know, if this helps.
    Rgds,
    Raghu.

  • How can WMI Read access on all workstations in domain

    Hi All
    Please help me get WMI Read access to my service account.
    http://social.technet.microsoft.com/Forums/en-US/523dcf15-2ec7-4fbc-8a14-5007fa297604/wmi-read-access-to-my-one-service-account?forum=winserverDS

    Thanks JRV
    I got below article which is working fine to me.
    http://wiki.splunk.com/Deploy:HOWTO_Enable_WMI_Access_for_Non-Admin_Domain_Users
    But in this article, How can i achieve it through GPO:
    Distributed Component Object Model rights assignments

Maybe you are looking for

  • Can't update the data of my credit card

    My credit card information was changed. Now I can't update this data on my account since days. Any idea, why?  the error message is 'Card is invalid, please check card details'. thanks

  • How much time does it take an SDK program to save an AR Invoice?

    Hi Guys, I know there are lots of things that I need to consider to know the answer to this question but I'm gonna ask it anyway. I have an HP Proliant ML370g5, with two intel zeon 1.86ghz quad core processors, 4gb ddr3 400mhz. Do you have an idea ho

  • Cannot access MMS and Internet after OS upgrade

    Hi all. I'm a new BB user. I got my Curve 9300 three weeks back. As soon as it was registered, I was prompted 2 upgrade the OS - which I did and subscribed 2 BB Protect. A friend sent me an MMS but I cannot view it as my settings r wrong. I cannot ac

  • Doubt on Text Variable in report

    Hi All, Currently i am working on Bex Reporting. I have created the text variable of type replacement Path and reference charactistic is 0FISPER. I have made all the settings in report level. While running the report, the description is displaying as

  • ABAP wiki is gone?

    Hi, When I try to access ABAP Development in Wiki, I don't get anything...the link I use is the following: https://wiki.sdn.sap.com/wiki/display/ABAP Actually it jumps to https://wiki.sdn.sap.com/wiki/pages/listpages.action?key=$generalUtil.urlEncode