How to become user (something to similar to sudo in oracle)

Hi,
In my database there are 100+ schemas and all have the same objects. Users currently connect to the schemas directly and there had been some incidents where the users accidentally altered a table/index. So we want to create another user schema_app who would only have insert/update/delete privs on the tables and all other jobs would run as the schema owner.
Qs is - How can this schema_app user run queries, insert/update/delete without having to modify his/her query to append the schema_name in front of all tables?
NOTE - I can't create synonyms as all the 100 schemas have the same objects and I would be creating a schema_app for all the 100+ users.
Env details: 11gR2 CRS+RDBMS
Thanks,
aBBy.

AB007 wrote:
In any normal prod env one generally has only 1 schema and unique objects belonging to the schema. (Some app do have multiple schemas too, but in most cases, the object names are unique to the schema). But with my database, there are 100+ schemas and the same ddl is used for the schema objects.
Eg: If table_A exists in schema_A, the same table_A exits in schema_B, schema_C and so on... where the schema_B, schema_C owns a unique instance of the table_A.
If the schema/objects would have been unique across the db, I would have created a schema_A_app user and created a unique role schema_A_role that and granted only DML privileges to this role. And also would have created a synonym for the objects so that the table names could be accessed without the schema_name referential.
But with 100+ schemas having the same objects, this becomes impossible.
Ideally what 'm looking for is - when I log in as SCHEMA_A_APP user, I should become SCHEMA_A user but with only DML privileges.
Thanks,
aBBy.How exactly does adding yet another schema into this mix, reduce the probability for future accidents?
what is gained by having SCHEMA_A_APP now?
Then you'll have two different ways to make mistakes; not just one!

Similar Messages

  • How can I remove something from my iTunes download list permanently?

    Same as title: how can I remove something from my download list FOREVA! Why would I want to do this? Because it's a piece of poo free sampler from Best Buy that is effing huge, and terrible and I don't want it, ever (it's been stuck to my list since 08, and it must die). Every time I buy something I have to remember to go and remove that from my list, otherwise iTunes gets caught up downloading that thing, which is many times larger than any video/cd/app that I have ever downloaded on iTunes before. It wouldn't be as much an issue if I had a good ISP but I don't, so any non-apple employee people giving some smarmy "get better internets" advice need not apply.

    Once an item enters the download queue, the user cannot remove it. Either let it complete the download (easiest) or contact the iTunes Store customer support department through the Contact page and ask them if they'll remove the item(s) from your queue for you.

  • Parallel How many times user can login to the SAP system through ITS

    Hello all
    We are using the ITS ---620 and following 46D R/3 system 
    R/3 system details:
    Kernal :
    kernel release :46D
    O/S :SunOS 5.8 Generic_108528-05 sun4us
    We would like to now, At a time How many times user can login to the SAP system through ITS
    Kindly letus know  if any one have idea about parameter which can restrict the end users to u201CNu201D times/ sessions.
    Transaction SITSPMON/SMICM are not working in R/3 system as it is 46D.
    We found that parameter u201Clogin/disable_multi_gui_loginu201D works with SAPgui logons.
    System logons using the Internet Transaction Server (ITS) or Remote Function Call (RFC) are not affected by this Parameter u201Clogin/disable_multi_gui_loginu201D
    I need similar parameter u201Clogin/disable_multi_gui_loginu201D for the ITS users.
    Thanks

    I have searched all docs and notes.
    Everytime the answer is PArameter for multi_gui_logonis not applicable for SAP Gui for HTML ( Browser )
    The functionality does not exist for SAP Gui for HTML.
    Regards,

  • In Lion, how would a user REPAIR disk without a disk to boot from?

    In Lion, how would a user REPAIR Disk without a disk to boot from?  It's cool to download Lion from App Store, but I think they need to solve how they will repair disk without optical disk to boot from.  I have had to repair disk in with the disk utility around 5-10 times in the past.

    Kappy wrote:
    No doubt, but who's going to delete their installer?  That would be a tad stupid don't you think?
    Well it should be stupid, but people do it anyway not realizing it's importance later when something goes wrong.
    Kappy wrote:
    We'll need a GIF with a Bill Engvall "Here's your sign."
    Not familiar with Bill Engvall's acts I'm afraid, I know it's terrible.
    Kappy wrote:
    I guess we shouldn't forget the recovery partition.  But why confuse the issue.
    That does confuse the issue, a bootable DVD is for installing the operating system after a hard drive replacement, which also will include the recovery partition.
    Recovery parititions are a great idea for Windows as it fails often, but hard drives fail more often in Mac's than the operating system.

  • How to allow user print their draft anwsers before sending it as final ?

    How to allow user print their draft anwsers before sending it as final in a form central questionnaire ?

    Hey MTdev,
    Panel close? events cannot be triggered on a VI being viewed or controlled remotely. Some more information on that can be found in the help here:http://zone.ni.com/reference/en-XX/help/371361E-01/lvprop/vi_panel_closeq/.  My suggestion would be to set the Title Bar on the front panel of your remote VI to not be visible so that their only option for closing the window is to click the logout button.  Are you using Remote Front Panels(http://zone.ni.com/devzone/cda/tut/p/id/3277) to do this instrument control?  Using remote front panels allows you to manage a lot of the multiple people accesssing at the same-time type issues so it may be something to look into if you are not already using this method.  
    Regards,
    Kevin
    Product Support Engineer
    National Instruments

  • How to set user friendly URL in ApEx with OHS 11g ?

    Hi,
    How to set user friendly URL in ApEx with OHS 11g ?
    I want change the link http://190.148.xxx.xxx:8080/pls/apex to something like http://xxx.com.
    I dont want to use iFrame solution. Please suggest any other method to acheive the same.
    Thanks & Regards,
    Ranu

    Hi all
    Iam using apex 4.0 -oracle 11g with OHS on linux os
    I need to change my apex url http://x.x.x.x:xxxx/apex to http://x.com
    What are the settings i need to do.
    If any one knows please share the solution with me
    Thanks & In advance

  • How to handle user preference which has "_" and " " in the name

    Hi Experts,
    I have a question how to handle value which has like "_" and "space" etc in user preference.
    If setting "a_b-c d", I could not retrieve this because it's escaped in database.
    So this code can't get value even though I can set it.
    Is there any restriction of name? Is there any documentation how to code user prefernece which has non alphabet and number in the name?
    I know it's possible to handle the data like adding escaped data. But I don't think this is the best way to retrieve the data. Because nobody confirm it's not problem in the future.
    Could you tell me the best way to get these user preference?
    Thanks in advance,
    Masaaki Tada
    Here is a sample.
    <%@ page contentType="text/html;charset=Shift_JIS" %><%@ page language="java" import="com.plumtree.remote.portlet.*, com.plumtree.remote.prc.*, java.util.*" %>
    <%
    /** * UserInfo - Simple Page * Display User Information*/
    // VariablesIPortletContext oPortletContext = null;IPortletRequest oPortletRequest = null;IPortletUser oPortletUser = null;IPortletResponse oPortletResponse = null;IRemoteSession s;IUserManager oUser;
    /* Get Portlet Objects */
    try{oPortletContext = PortletContextFactory.createPortletContext(request, response);oPortletRequest = oPortletContext.getRequest();oPortletUser = oPortletContext.getUser();oPortletResponse = oPortletContext.getResponse();} catch (Exception e) {oPortletContext = null;oPortletRequest = null;oPortletUser = null;oPortletResponse = null;}
    String val = oPortletRequest.getSettingValue( SettingType.User, "a_b-c d" );String hoe = oPortletRequest.getSettingValue( SettingType.User, "abcd" );out.println( "a_b-c d: " + val );out.println( "abcd : " + hoe );
    oPortletResponse.setSettingValue( SettingType.User, "a_b-c d", "aiueo" );oPortletResponse.setSettingValue( SettingType.User, "abcd", "bbbb" );%>

    Plumtree recommends that user preference names have only alphanumeric characters in them (a-z, A-Z, 0-9). Any non-alphanumeric characters will be encoded by the EDK.
    I strongly suggest that you change your user pref name to something that's alphanumeric. However, if that is not possible, you can use the following workaround: in the web service editor, enter the encoded name for the user pref. There are several ways to get the encoded name.
    One way is to encode the pref manually, yourself. Plumtree uses the %u encoded format: each non alphanumeric character is converted into %uxxxx, where xxxx is the Unicode representation of the character. For all ASCII characters, just look at the ASCII hex chart. For example, character "-" has a hex value of 2d. So, a preference name "jane_pref" would be encoded to "jane%u002dpref", and you'd enter the latter value on the preferences page in the web service editor.
    The other way to find out the encoded value is to set a preference programmatically and use the HTTP tunnel tool to look at HTTP traffic between the portal server and remote server. The remote server will be sending a HTTP header to the portal server (the header name will probably be CSP-User-Pref) and inside the header you should see the pref name, encoded with %u. Just copy it out of there and into the web service editor.
    Hope this helps,
    Jane

  • How to find out how many concurrent users using web application?

    Hi all,
    I have a web application deployed using 9iAS. I am trying to find out how to find out how many concurrent users are using this application at any one time. According to Oracle there is no way to see this information using the enterprise manager interface.
    Does anybody out there know how I can find out this information in real time? Failing that, are there any good analysis tools out there that display usage to the minute (all the tools I have found show usage by hour which is not sufficent for my needs).
    Any help would be much appreciated,
    Caroline

    I know I haven't heard of any software to do this, but this also sounds like a really hard problem to try and really analyze well.
    The trick is, you might "infer" how long a user is using an application based on when cookies are set and when they're set to expire. If that's a long time, though, that could count far more "concurrent" users than are actually there. A user could simply close the application at any time and stop using the application; you can't really detect that because the server isn't "told" when the user closes their browser or goes somewhere else.
    A good perl script might be able to read the Apache access log and tell you how many unique IPs asked for a given directory in which various applications are stored in any 5 minute span of time... that could be something like an indicator of "concurrent" users.
    If you don't know Perl, I'd suggest getting the O'Reilly & Associates book on Perl and learning it, because the more I think about this, the more this sounds like a textbook example for applying a Perl script.

  • How to add users to group which is present in another AD domain?

    Hi,
    Using JNDI how to add user as a member of group which is present in another AD domain?
    For example: In AD forest test.com their are two domain a.test.com and b.test.com. Group is present in a.test.com and I want to add user present in b.test.com as a member of the group.
    Any pointer around this would be great help.

    See the below link to get an idea on group types.
    http://technet.microsoft.com/en-us/library/cc755692(v=ws.10).aspx
    If the group is a universal group, you can just add members similar to local group even if user and group are in different domains. That is by setting the member attribute of the group.

  • How to become Oracle Financial Consultant

    Kindly I need you help. How to become an Oracle Financial
    Consultant. I would be wait your reply.
    [email protected]

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by LIke funncy user ():
    Anyone can suggest me how to become a Oracle Financials Consultant. Can any one give me list of question asked to potential candidate, with answers so that I can mimik and become consultant<HR></BLOCKQUOTE>
    Pls send me any info u have on this topic.
    ([email protected])
    null

  • Report: How long the user has not logged into SSHR

    Hi experts,
    I am looking for a report, which showing me, how long the user has not been logged into SSHR?. Because some poeple dosn't work any more in the company, and the list should enable use to deactivate their accounts.
    Thanks in advance
    Mehdi

    The AOL signon capabilities are good and you'll find useful stuff in those links.
    If you're after something quick in SQL try this:
    SELECT last_logon_date, user_name
    FROM fnd_user
    WHERE trunc(last_logon_date) < trunc(sysdate) - 90;
    That will get you everyone who hasn't logged in for 90 days.
    Edited by: Duncan Casemore on Jan 20, 2011 9:26 AM

  • How to become microft community contributor or MVP

    Hi,
    How can i achieve MCC / MVP award. :-)
    Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"

    Thanks for asking this question! Everybody also wants to know this!
    Sometimes answers aren't what we want them to be. The process might not be as detailed as we want, but that's by design (for flexibility and other reasons). Since this forum is to discuss recognition, the recognition aspect is as follows: When
    you become an MCC or MVP, then you receive the appropriate "MCC" or "MVP" mark.
    To find out how to become an MCC or MVP, we should go check out their sites and ask them. The "MCC" and "MVP" marks on here only reflect that the award was given... and the Recognition Points might inform the award. But the award itself has nothing
    to do with the Recognition system or the forums. So here's the answer and links for you to find out more information if you want it...
    MICROSOFT COMMUNITY CONTRIBUTOR (MCC)
    Q14. How do I contact Microsoft about the Community Contributor Award?
    A14. You can send questions to the Microsoft Community Contributor Global Administrator at
    [email protected] (MCCGA at microsoft.com).
    FAQ:
    https://www.microsoftcommunitycontributor.com/faq.aspx
    PROCESS: Current MVPs and Microsoft personnel recommend people as MCCs based on quality, quantity, and impact on "online technical communities." Current MVPs and Microsoft personnel then evaluate those recommended on the same factors (impact on
    online technical communities) and base the award on those evaluations. If you think they should be more transparent about the process, let them know with the links above.
    Tips to becoming an MCC (based on the FAQ):
    1) Make an impact in the community, using tools like TechNet Forums, Gallery, and Wiki.
    2) Become noticed by MVPs and Microsoft's MCC representatives (start building relationships with these folks and collaborating).
    MOST VALUALBE PROFESSIONALS (MVP):
    Become an MVP:
    http://mvp.support.microsoft.com/gp/mvpbecoming (if it doesn't open, paste into a new tab or window)
    Nominate an MVP:
    http://mvp.support.microsoft.com/gp/mvpnominate (if it doesn't open, paste it into a new tab or window)
    Process: After reading the "become an MVP" page, you'll see that the process is rigorous. "MVP nominees undergo a rigorous review process. A panel that includes members of the MVP team and Microsoft product groups evaluates each nominee's technical expertise
    and voluntary community contributions for the past 12 months. The panel considers the quality, quantity, and level of impact of the MVP nominee's contributions." Essentially the panel evaluates the nominees and then bases their award on those evaluations in
    quality, quantity, and level of impact.
    Tips to becoming an MVP (based on the MVP site):
    1) Give quality assistance, advice, processes, scripts, and consultation. Test your own advice and ask first. Experts in your area will be evaluating samples of your community work. You don't want them to be evaluating the one communication issue you had
    or mistake you accidentally made (and thus thinking that you make it a regular practice).
    2) Give high-quantity contributions. Be active in your technology's forums and on blogs. The TechNet and MSDN forums are being monitored by current MVPs and Microsoft personnel.
    3) Share your knowledge in blogs, Wiki articles, white papers, and Galleries. You must create your own unique content and help build the community around your content.
    4) Speak at conferences, local groups, and user groups. Speak online in virtual events. Go show your expertise and teach large groups. These conferences and events are different for every product. Go find them.
    5) Become the leader. Instead of just plugging into conferences, events, local groups, and user groups, build them, organize them, and lead them. Bring the community off-line.
    So even if this isn't what we want, this is what the programs have made available, and you can contact them for more information.
    Thanks!
    Ed Price a.k.a User Ed, Microsoft Experience Program Manager (Blog,
    Twitter,
    Wiki)

  • How to become a linux-developer

    I was wondering, how can I make something for linux community. But not testing packages and/or unstable programs. How to start writing some stuff that may be helpful ?

    How to start writing some stuff that may be helpful ?
    define "stuff"
    is this programming? reports? wiki's ? reviews?
    i'd echo similar to elasticdog's comments, to find something that really makes you buzz. Then maybe join a community that specialises in that, learn, and contribute.
    or hang around Arch forums , pick up of some problems that interest you and work through them see if anything takes your fancy. theres always problems to solve without necessarily creating your own

  • How to become a good programmer

    With regard to other two similar threads:
    Any views , suggestions. on how to become a good programmer.
    How & where to start with?
    Any dress code?
    Madan

    With regard to other two similar threads:
    Any views , suggestions. on how to become a good
    programmer.
    How & where to start with?Do you have any experience programming in any language? If not and you want to start with Java, look up Java Tutorials on google. Or check out java.sun.com for tutorials and examples that are good for beginners. At least learn the basic syntax and structure of the Java language first. From there you can move onto other things like algorithms and design patterns.
    Any dress code?How you dress doesn't make you a better or worse programmer. However, if you work for a company you should follow their dress code.
    >
    >
    >
    Madan

  • How to force users to enter their ID and password ?

    I am considering installing AirPort Extreme at our office. We don't want guests connecting to our network. is there any option/software that will force the guest to enter an ID and password to connect to our network ? This is similar to what happens at the hotels when we try to connect to hotel's network.

    How to force users to enter their ID and password?
    is there any option/software that will force the guest to enter an ID and password to connect to our network ? This is similar to what happens at the hotels when we try to connect to hotel's network.
    The AirPort Extreme does not have the features necessary to create a "splash page" that provides basic information about the company and asks users for their identity and password....like you see at most hotels.
    Basically, with an AirPort Extreme, users would have to scan to look for the name of the wireless network to join, and then enter the password to connect.
    The best that you might be able to achieve with the AirPort Extreme is create a "hidden" network, which would require that users know both the name of the wireless network and password to connect.  However, based on experience, this might be more of a hassle than anything else.
    The bottom line.....Apple really designed the AirPort routers for home use, so that might be the best place for them in most cases.

Maybe you are looking for