Table access to the other Department

Dear Experts,

We are using oracle 11.2.0.1 in the operating system windows server 2003 R2 Standard. Another department wants to access tables in the database. Please suggest what to do to make these table to them security.

Best regards

Cecile

1. create a role

2. allow the privilege on the tables to the role

3. grant the role accounts used by the other Department

Tags: Database

Similar Questions

  • a table are in the other table without duplicate

    How to check the records in a table are in the other table without duplicate.

    for example, in the tables below, the records from the Table A are in Table B1. But the B2 table has duplicate and one record is missing.
    I want to know which records are not in table B, records that have two copies.
    as A and B2, 1 2 is not in B2, 1 1 a 2 folders in B2

    A and B1, nothing should be returned.

    Table A
    -----------
    A1 A2
    -----------
    1 1
    1 2
    1 3
    -----------

    Table B1
    -----------
    A1 A2
    -----------
    1 1
    1 4
    1 2
    1 3
    2 2
    -----------


    Table B2
    -----------
    A1 A2
    -----------
    1 1
    1 4
    1 3
    2 3
    1 1
    -----------

    version is the database of Oracle 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production

    Thank you!!

    Two standard methods to compare the tables are either to use DEFINED such as UNION, UNION operations or LESS.
    Or use a FULL OUTER JOIN.

    If the structure of the table is the same and that you want to compare all the columns, then set them operators are the best way.

    If you want to compare only on one or more columns and want to see the other columns, then a FULL OUTER JOIN is the best way.

    Here is an example

    select A1, A2,
          count(distinct sourcetable) cnt_tables,
          count(sourcetable) cnt_records,
          count(case when sourcetable = 'A'  then 1 end) record_is_in_A,
          count(case when sourcetable = 'B1'  then 1 end) record_is_in_B1,
          count(case when sourcetable = 'B2'  then 1 end) record_is_in_B2
       (select 'A' sourceTable, a.* from tableA a
        union all
        select 'B1' sourceTable, b1.* from tableB1 b1
        union all
        select 'B2' sourceTable, b2.* from tableB2 b2
       )
    group by A1, A2
    having  count(distinct sourcetable) < count(sourcetable) ;
    

    It is an example. It will show you the records that have duplicate data in the following tables.
    If you want to display all records that are in A but not in B1, you can add a few other checks.

    Published by: Sven w. on August 13, 2010 17:23

  • Table or view does not exist when try it and the table access to the remote but database was OK before

    Hello

    With the help of 11.2.0.3

    SQL that accesses, one table of remote database link remote db - fonctionnee during over a link db months readonly

    The remote database table has been abandoned and then recreatde.

    Is there some other step needed to allow access to the table in the remote database?

    Thank you

    You have lost your privs when the table was dropped.

  • How access to the other computers in my home group

    Hello

    I create a residential group I see in the network the other computer (desktop), but this tells me impossible of there access so that nothing has change...
    or I need to access the files on the other computer, because I want to get the files (my mouse is hs on the desktop) and I have no way to get them back without a mouse...
    Help!
    Thank you

    Hello Nadine_968,

    The forum in which you've posted is for English only. Please select your language by clicking on theon the page to the bottom left, to post your question in the language of your choice. If you can't find the desired below language, support for additional international sites options are by following the link below:

    http://support.Microsoft.com/common/international.aspx

     

    Thank you!

    Marilyn

  • I can not access google, but I can access all the other sites. I have this problem in all browsers. Can someone please help?

    Hello.

    I can't access google in any browser ( Chrome, Explorer,Firefox). It just does not load. But i don't have any problem with any other sites. Actually i could even access google just yesterday.
    

    I tried to delete the cookies, anti-malware software installed, I deleted the cache, I erased the history etc... Basically, I tried everything that was suggested on previous questions, but nothing helps.

    I would really appreciate if someone could help me.
    Thank you.

    INDY1391:

    Your problem is solved? If you have not already the case, please mark this thread as solved by the solution of marking.

    This will help other users experience similar problems helps to find faster and more efficiently.

  • Insert the list of access between the other 2 control numbered ACL on cisco

    Someone knows how to do this? I heard about Cisco and have actually did this once, but don't remember the syntax.

    I should be able to insert the acl 15 between the low 2.

    Expand the 198 IP access list

    10 ip allow a whole

    20 a whole ip deny

    TIA

    Router (config) #ip - extended access list 198

    Router (config-ext-nacl) #15 allow accord a

  • The sys user can not see tables belonging to the other schema

    Hello

    We have a database used to store the metadata of the soa suite, yesterday, we asked to grant select on certain tables of the prodsoa_bam schema, but we found this sys cannot see the tables of prodsoa_bam.

    If we question dba_tables we can list the tables of prodsoa_bam, but if we execute a query on the tables that we get an ORA-00942 error.

    Someone suggested a work around?

    Kind regards.

    try using double quotes. It seems that your table name is case-sensitive (which I do like):

    SELECT COUNT (*) FROM PRODSOA_ORABAM. SysIterPrivilege ';

  • How repair my iphone 6s hung in camera I can't able to access on the other and I can't able to swtich offf if sleep button the tank please help me

    I took a few pictures without unlocking my iphone 6 s after that he stuck behind closed doors himself and tactile assitive works but can't go to the home page in my laptop, I tried to change my sleep the mobile tank button that works also not I'm not what to do. Please help me solve this problem.

    Try resetting your device. This will not erase your data stored on that device.

    • Press and hold the sleep/wake button
    • Press and hold the Home button
    • Press and hold both buttons until the display turns off and on again with the Apple logo on the subject.

    Alternatively, you can go to settings - general - reset - Reset all settings

    If that doesn't work, restore your device to factory settings. Please note that this will delete the data on your device.

    Take a look this Apple Support article: use iTunes to restore the iPhone, iPad or iPod to factory settings - Apple Support

  • ReadOnly user can access the other schema and change them

    Hello everyone,

    I created a readonly as this user in oracle 11g r2

    SQL > CREATE USER IDENTIFIED BY readonly readonly;
    SQL > GRANT CREATE SESSION, CREATE a SYNONYM to readonly.
    SQL > GRANT SELECT ON SA.vCustomerService TO readonly.

    But when I connect to the database and do a select like:
    SQL > SELECT * FROM ACC;
    I get the data in this table, even if I do an update on that table it works.

    What I am doing wrong that my readonly user always has full access to the other schema?

    Thank you in advance for your help!

    Best regards
    GIL GOMES Dany

    Dan_lu wrote:
    Hello everyone,

    I created a readonly as this user in oracle 11g r2

    SQL > CREATE USER IDENTIFIED BY readonly readonly;
    SQL > GRANT CREATE SESSION, CREATE a SYNONYM to readonly.
    SQL > GRANT SELECT ON SA.vCustomerService TO readonly.

    But when I connect to the database and do a select like:
    SQL > SELECT * FROM ACC;
    I get the data in this table, even if I do an update on that table it works.

    Check the permissions for this table - maybe some operations on this table are granted to the publc?

  • A domain user can only access Xch2007 servers and blocked access to all other servers in the domain.

    We must put in place a 2008r2 domain user account and allow it access xch2007 email and a file only decidated server.   Access to the other app domain, print and file servers will be blocked.    What will be the best way to do this?   Can we use Group Policy?

    Your Windows Server 2008 R question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please ask your question on the Windows Server. You can follow the link to your question:

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • Can access folder on a computer, but not the other

    I have a vista computer that has a folder that I want to join.  I have 2 computers newly built win7.  I can access the folder on the vista computer with win7 computers only.  I went through everything I can think of and all settings appear to be identical between the two platforms of win7.  I took a peek in the management of the computer sessions and my computer with win7 I can't access it from is listed as a guest, not my user name.  I have no idea why, all the comp have same login name, password and admin access.  I have disabled guest accounts.  It's the only thing I can find different between win7 computers which could explain why I can't access the folder in question.

    Anyone know how I can transfer my network setting win7 rig with access to the other without, or fix everything that's wrong with my access rights so that I can get the folder I want?  I can see the drives and folders that I shared.  I can not open them, I get one you don't have permission to access this folder message.  I have everything I can find associated with sharing turned on (except the password) and everything related to the firewall disabled is trying to access.

    Thanks for the pointers you can give me.

    Hi Dave68_31,

    This could be a problem with the permissions of files and folders.  The following procedure will help you change the owonership and permissions of files and folders.

    1. right click on the file or folder, click Properties, and then click the Security tab.

    2. click on Advancedand then click the owner tab.

    3. click on Editand then do one of the following:

    o to change the owner to a user or group that is not listed, click other users and groups , in area enter the object name to select (examples), type the name of the user or group, and then click OK.

    o to change the owner to a user or group that appears in the area of change of ownership to , click the new owner.

    4. If you want to take ownership of the contents of the folder, select the checkbox replace the owner of sub containers and objects .

    5. click OKand then click Yes when you receive the following message is displayed:

    You are not allowed to read the contents of directory folder name. Do you want to replace the the directory permissions with permissions granting you full control?

    All permissions will be replaced if you click Yes.

    Note folder_name is the name of the folder you want to take charge.

    6. click on OKand then reapply the permissions and security settings that you want for the folder and its contents.

    For your Information

    Ø an administrator can take ownership of any file on the computer.

    Ø assignment of ownership of a file or folder can require that raise you your permissions using user access control.

    Hope this has been helpful.

    Bindu S - Microsoft Support
    Visit our Microsoft answers feedback Forum and let us know what you think

    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • Cannot access the other ICC profiles in LIghtroom CC 2015

    All of a sudden I am not able to access the other ICC profiles in soft proofing mode or in the print job module. It does not list the last ICC profile that I used and I cannot have access to the 'other', the list of the largest. When I try Lightroom just hangs.

    I know that the complete list of profiles is loaded into Photoshop and they appeared all when I select other profiles there. Any suggestions?

    The other list of printer profiles appeared on the other screen.

  • Impossible to access wifi with other access points

    WNDR4500v3 with firmware V1.0.0. I32

    I bought this router on dec 25 2015 to replace a dead linksys router.
    The router feeds a switch of 16 points from one of the 4 ports.
    I have a win 7 pc connected to one of the other routers 3 ports.
    Then a VoIP connected to port 3 of the router.
    I have 2 other wireless access points connected to the port 16.
    We feed a remote building through a wired connection to the firset access point
    The other access point is also fed by a wired connection.
    The old linksys router had him for 4 years.

    As I said I bought this router as a replacement... but since its worthless and the two wireless access point do not have internet connection.
    So either I get it work or will return it for a refund within 24 hours.

    Figured that out it was Network Manager and windows share the unknown connection of marking.

    In advanved sharing setting I have to change to use for user accounts and passwords to connect to other computers

    Then all the problems went away.

    No more giving up connection and with no internet connection.

  • Block access to the configurations

    Hi, I create a home network allowing access to the other PC so I can get a job and home in one of PC network.

    The thing is that I need to block the possibility to edit and display network configurations so nobody but me can add a device to the network. How can I do that on windows 7 and windows 8.1?

    Thanks for your reply, I used filtering to block access to new MAC users.  It was very useful.  All I had to do was to prevent people to add devices to the network, because they all have access to view the password if they click Network properties on their computers.

  • help on the use of dynamic action to update the items in a table (more precisely, the radio button) based on the collection

    Hi everyone, I posted this question in the past and made huge strides with the help of Denes Kubicek: https://apex.oracle.com/pls/apex/f?p=31517:294:115851992029365: based on my previous question posted: https://forums.oracle.com/forums/thread.jspa?threadID=2537494

    I'm fighting with a single element in my tabular presentation.  There is a radio button.  The choices all seem correctly, but the value is not saved in the collection (and therefore not recorded in the table).  All the other elements in the form of tables to record properly.

    Here's what I have for the query.   This is element c024 (which maps to;) ("F03'), which is defined as a radio based on an existing LOV LOV.

    Currently I have:

    2 items on the page:

    P110_ID

    P110_VALUE

    Dynamic action called COLUMN of CHANGE:

    event: CHANGE

    selection type: jQUERY Selector

    jQuery:

    Select jQuery = input [name = "f03"], select [name "f08"], select [name = "f09"], input [name = 'f10'], input [name = 'f11'], input [name = 'f12'], select [name = "f40"], input [name = "f21"], input [name = 'f22'], input [name = "f23"], input [name = 'f50']

    scope of the event: Dynamics

    real action #1: set the P110_ID javascript expression this.triggeringElement.id

    real action #2: set the P110_VALUE javascript expression this.triggeringElement.value

    action 3: run pl/sql code

    declare
      v_member number;
      v_seq number;
    begin 
      v_member := TO_NUMBER (SUBSTR (:p110_id, 2, 2));
      select ltrim(substr(:p110_ID,5,4),'0') into v_seq from dual;
      safis_collections.update_column(v_seq,
                                    v_member,
                                    :p110_value);
    
    
    

    refreshment area true creation #4: LANDINGS_COLLECTION

    the tabular presentation is based on the query:

    SELECT
    apex_item.text(1,seq_id,'','','id="f01_'||seq_id,'','') "DeleteRow",
    seq_id,
    seq_id display_seq_id,
    apex_item.text_from_LOV(c004,'SPECIES')||'-'||apex_item.text_from_LOV(c005,'GRADE')||'-'||apex_item.text_from_LOV(c006,'MARKETCODE')||'-'||apex_item.text_from_LOV_query(c007,'select unit_of_measure d, unit_of_measure r from species_qc') unit,
    apex_item.select_list_from_LOV(8,c008,'DISPOSITIONS','onchange="getAllDisposition('||seq_id||')"','YES','0','  -- Select Favorite --  ','f08_'||seq_id,'') Disposition,
    apex_item.select_list_from_LOV(9,c009,'GEARS','style="background-color:#FBEC5D; "onFocus="checkGearPreviousFocus('||seq_id||');"onchange="getAllGears('||seq_id||')"','YES','3333','-- Select Favorite --','f09_'||seq_id,'') Gear,
    apex_item.text(10,TO_NUMBER(c010),5,null, 'onchange="setTotal('||seq_id||')"','f10_'||seq_id,'') Quantity,
    apex_item.text(11,TO_NUMBER(c011),5,null,'onchange="getPriceBoundaries('||seq_id||')"','f11_'||seq_id,'') Price,
    
    apex_item.text(12, TO_NUMBER(c012),5,null, 'onchange="changePrice
    ('||seq_id||')" onKeyDown="selectDollarsFocus('||seq_id||',event);"','f12_'||seq_id,'') Dollars,
    decode(c013,'Y',apex_item.text(14, c014,30,null,'style="background-color:#FBEC5D;" onClick="onFocusAreaFished('||seq_id||');"','f14_'||seq_id,''),'N','N/A') Area_Fished,
    decode(c017,'Y',apex_item.text(18, c018,4,null,'style="background-color:#FBEC5D; "onBlur="setUnitQuantity('||seq_id||')"','f18_'||seq_id,''),'N','N/A') UNIT_QUANTITY,
    decode(c017,'Y',apex_item.text(19,'CN',3,null,'readOnly=readOnly;','f19_'||seq_id,''),'N','N/A') UNIT_COUNT,
    c024 hms_flag,
    decode(c050,'Y',apex_item.checkbox(21,'Y','id="f21_'||seq_id||'" style="background-color:#FBEC5D; " onClick="alterYes('||seq_id||');" onKeyPress="alterYes('||seq_id||');"',c021),'N','N/A') FinsAttached,
    decode(c050,'Y',apex_item.checkbox(22,'N','id="f22_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterNo('||seq_id||');" onKeyPress="alterNo('||seq_id||');"',c022),'N','N/A') FinsNotAttached,
    decode(c050,'Y',apex_item.checkbox(23,'U','id="f23_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterUnk('||seq_id||');" onKeyPress="alterUnk('||seq_id||');"',c023),'N','N/A') FinsUnknown,
    decode(c050,'Y',apex_item.textarea(28,c028,3,null,null,'f28_'||seq_id,''),'N','N/A') Explanation,
    decode(c024,'N',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'U',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'Y','N/A') Nature_Of_Sale,
    decode(c020,'Y',
    apex_item.select_list_from_LOV(40,c040,'HMS_AREA_CODE','style="background-color:#FBEC5D;"',null,null,null,'f40_'||seq_id,''),
    'N','N/A') HMS_AREA_CODE,
    c020,c050,
    decode(c020,'Y',
    apex_item.text(41,TO_NUMBER(c041),5,null,null,'f41_'||seq_id,''),
    'N','N/A') Sale_Price
    from apex_collections
     where collection_name = 'SPECIES_COLLECTION' order by seq_id
    
    
    
    
    
    

    I noticed the following:

    When I change the column C011 (price) the following values are defined in dynamic action:

    P110_ID = f11_1

    P110_VALUE is everything that I change the price.

    When I change the column C024 (hms_flag), the following values are defined:

    P110_ID = f03_0001

    P110_VALUE = change everything what I hms_flag to.

    the region is updated in my dynamic action, and change of hms_flag does not take.  I tested the SQL query that generates the value of v_SEQ in the dynamic action.   Both a change of price and HMS_FLAG, it seems valid

    Select ltrim (substr(:p110_ID,5,4),'0 ') in the double v_seq;

    If f11_1, v_seq: = 1

    If f03_0001, v_seq: = 1

    Thank you!

    solved.  sort of.

    domain c024 references f03.

    dynamic ACtion, step 4 calculated v_member as a substring of P110_ID... and in all other areas, the column and the field (fxx) displayed the same value... otherwise c024.

    I'm not exactly sure how solve it, but see the problem.

Maybe you are looking for

  • Tecra A8 - address MAC lost

    Hello. One of the computers in our LAN - notebook * Toshiba Tecra A8 - lost MAC address after a storm *. Now, each time after a reboot, MAC address is changing (drav much)-for example: b1:81:b1:81:b1:81 or af:81:af:81:af:81 itp. How can I solve this

  • Photos create two different times.

    Sometimes Photos create two different times with pictures of the day. How can I join in an instant? Thank you.

  • Golden age of empires - Graphics.drs

    I tried to install the golden age of empires, but every time I try it gets stuck on 84% and then get a message saying "age of empires installing however met a disk write error in file C:\Program Files\Microsoft Games\Age of Empires\data2\graphics.drs

  • Windows XP goes to sleep, but the options value supply never sleep/hibernation

    This is the case on my hp laptop, as well as on my desktop dell computer

  • Clipart

    Hello I recently started having problems when I download clip art from the clip art on office online. In the past of the pictures that were in the wmf format may be combined, separated, change colors... changed anyway you wanted. Now, everything is i