Failures of user in the oracle database error

users can delete or modify data in the tables or the index inadvertently deleting. This is known as a failure of user error.

I have following confusion

1. How can a user change erroneous in the tables data while there are constratint and triggers?

2. is given end-user drop table or drop index privileges as well?

Please answer

How can a user change erroneous in the tables data while there are constratint and triggers?

Case 1:
User "HEMANT" is a "customer administrator" with the privilege to create new customers and to customers. (Assume that HEMANT does not have the privilege to remove the clients - as that would raise also an another 'user failure error' cases).

HEMANT connects to the system via the application. He was asked to change the address for a client called "ORACLE CORPORATION". The application presents a drop-down list of customers. Inadvertently, he selects 'ORC CORPORATION' and change the address.
An 'ORC Corporation' expedition is reported later as having never reached the customer.
In addition, another expedition "ORACLE Corporation" is reported have been delivered to the wrong address (thankfully the client still had a concierge in the old building).

S "HEMANT" turned on immediately before all shipments etc... all right. His supervisor can correct the error.
If the error is detected a week later, it is likely the error is propagated in other systems - shipping, billing etc.

Worst case: If 'HEMANT' was also privilege "Customer Delete" (which exists in many cases!). If it has removed the bad client... think through the possibilities.

Case 2:
"ORACLE CORPORATION" is a Custmer and supplier - possibly with still two different addresses because these are different roles.
Suppose that the addresses are stored in different tables.
HEMANT is invited to update the address of the customer. Inadvertently, he goes to the screen of the provider and updates the address of Oracle as a supplier.
The error is detected a month later.

Many things can go wrong with the same constraints and triggers present and an overlay of the System Application to 'hide' the database and do not grant users access directly to the tables.

Case 3:
What happens if 'HEMANT' is a great user / IT administrator with 'Change data privileges' that are used by direct SQL UPDATE, INSERT, and DELETE statements? (such are performed via queries change). What happens if it executes a DELETE against the wrong table? Even with a constraint with active CASCADE DELETE, records of the mother and the child are deleted.

Hemant K Collette

Published by: Hemant K grapple on July 12, 2011 14:51

Tags: Database

Similar Questions

  • Increase the number of user in the Oracle database

    Hello
    I have a small base of 50 concerts Oracle 10g in the test environment and only two user who uses. In a few days about 100 users will start to use at the same time, and there will be a lot of Insert and Update transactions. Do I need to do anything on the database to handle the increase in traffic? Help, please.

    -Bigit

    Hello

    I think it need more process, maybe you need some settings in the database, for example, you can see follow these settings:

    1. Select name, value of the parameter $ v where name like '% session ';
    2. Select name, value of the parameter $ v whose name as "process % ';
    3. Select name, value of the parameter $ v where name like '% of transactions;

    Accordint to this...

    You can the chance these values...

    I hope that this information will be useful for you.

  • who are the IP accessing the oracle on the oracle database user

    Hello

    How to check which are the intellectual property have access to the user on the oracle database oracle

    Brother very simple, just enable auditing and get a good, easy and authenticated the information you are looking for. The audit has been filed for this type of questions.

    Concerning
    Girish Sharma

  • Area of private use in the Oracle database

    Hello

    one of my customers have very specific needs. In this case, it has its own "characters". It uses Latin characters and certain characters. Their data are mixture of these characters. Their own characters are not in Unicode format and we have specific policies.

    These specific characters will be in the private use area, but I don't know if and how the Oracle database support unicode private use area.

    Oracle database support unicode private use area?

    And what sorting, filtering data? What classification is applied?

    Does anyone have experience with characters in the private use area?

    Thank you

    Fabrice.

    Oracle supports Unicode PUA you can store codes of PUA in a database AL32UTF8 and you can treat strings containing characters without special considerations. PUA characters are classified into letters in the Oracle database.

    Oracle maps the characters (EUDC) user of various character sets defined multibyte (JA16SJIS, ZHS16GBK, ZHT16MSWIN950, KO16MSWIN949, etc.) to the characters of PUA. These characters are also used by the former Hong Kong HKSCS extension mapping. If supporting user-defined characters in PUA is not a problem for the customer, they can use the standard plane 0 (BMP) PUA [U + E000 to U + F8FF] in their purpose. However, to avoid conflicts with existing maps, they should put their characters in plane 15 PUA [U + F0000-U + FFFFD] or plane 16 PUA [U + 100000-U + 10FFFD]. The downside is that the planes 15 and 16 require four bytes per character in AL32UTF8 compared to three bytes for plane 0.

    The classification applied to the characters PUA is the same as that applied to the other characters in a given environment. The order of the characters PUA in the given classification, depends on the type of snack:

    • In BINARY classification, the comparison is obviously based on binary codes. The order depends on encoding (AL16UTF16 vs AL32UTF8), especially for aircraft 15 and 16 PUA plane.
    • In monolingual rankings (which are not well suited for Unicode characters anyway) PUA are generally ignored in the sorting (but does not) than the characters defined explicitly in the given classification. Compared only among themselves, they use the UTF-16 Binary order.
    • In multilingual characters rankings PUA are generally classified after all characters defined explicitly in the rankings, which are characters from scripts (Latin, Cyrillic, Greek, Georgian, Armenian) Europeans and, in some rankings, an East Asian script. Between them, they are classified according to AL16UTF16 (= UTF-16BE) binary collation.
    • In the UCA, the characters multilingual rankings PUA generally are classified into once all characters defined explicitly in the rankings, which are usually all defined Unicode characters. Between them, they are classified according to AL32UTF8 (= UTF - 8) binary collation. Note that the UCA rankings are new in the database Oracle 12 c.

    Thank you

    Sergiusz

  • How to find the name of the Oracle database server?

    People,

    Hello. I installed Oracle Database 11 g 2 OS Oracle Linux 5. The installed directory is/home/user/OracleDB_Home and/home/user/OracleDB_Base.

    Host name is "mylinux". Name of the database instance is PT853.

    I use "mylinux" as the name of the database server, it does not work. I use another way to do as below:

    Export ORACLE_HOME = / home/user/OracleDB_Home

    Can I use "mylinux ORACLE_HOME" as the name of the database server, it does not work either.


    My question is:

    How to find the name of the database server Oracle with Oracle Linux 5 OS?


    Thank you.

    You must learn the basic of database Oracle.

    Please don't regard it not same as SQL server in terms of configuration.

    You never specify the database server name in Oracle.

    You specify the host name in only two places, 1) Tnsnames.ora/JDBC/ODBC (or any client you want to connect) and listener.ora) 2.

    There was nothing called specify the name of the Oracle database from an oracle database server.

    Concerning

    Anurag.

  • Record great shape data in the Oracle database

    Hi all

    I have a question as to how we store a large xml for example more than 10000 bytes in the oracle database. I tried to use varchar, but the length is limited to only 4000 bytes. Could someone let me know how to achieve this.

    Basically what I'm doing is in adobe livecycle workflow I will get the user entered data in the form as formData (xml) variable and I want to keep the same for any future reference. I need to use the same data to fill the form again in the future.

    Thanks in advance.

    Shekhar,

    I had handy MySQL, so I did it using that and attached here is a sample. For Oracle, this is mission for you as well as recovery.

    -Wasil

  • PDF files in the Oracle database

    First all the Hi and thanks to all the gurus of this forum to provide non-stop services to solve problems at the global level.

    I'm using Oracle Database 11 g - R1 with Oracle Application Express 4.1.

    My clients (end-users) can visit to download PDFs in the database via a built-in Oracle Application Express application.

    All of a sudden ".dmp" size increased rapidly from 360 MB to 2.7 GB and everything that happened due to downloading of PDF files.

    I want to know it's alarming for the Oracle database? Because I'm in doubt, users have a lot of files to download, Services of Oracle database that will / Performance will be disturbed by the increase in the size of the database or Oracle database server could be crushed?


    Please confirm. Thanks in advance.

    Looks: Mohammed Uzair Awan

    Performance may be affected.
    Backup time would increase.
    Backup space (disk / tape) would increase the requirements.

    There should not be a 'crash' of the database
    As you run 11 GR 1 material, I assume that you do not run the Express edition.

    Hemant K Collette

  • Question about the Oracle database resource management

    Good evening
    I have a question about Oracle database Resource Management (DRM) for Oracle Database 10 g. I had an incident which, in a development/UAT environment (different instances, same box, don't ask), a developer wrote a wrong SQL statement that consumed 99% of the CPU. Currently, there is no limit of resources on two cases of db, and the developers don't want limits. However, my manager wants a method to prevent something like this does not happen. If I use the Oracle database resources management, create a consumer group (called "DevEnv") at 40% CPU usage, what will happen if a user of DevEnv runs a bad SQL statement that normally consumes 90% CPU again? Anyone would take a different approach? Thank you.

    Sincerely,
    Sho Fukamachi

    782718 wrote:
    If users in the case of "db_uat" use 60% CPU would be users who belongs to DevEnv pending 'db_test' cannot be used more than 40% CPU, so their queries become slower at their end? I would like to know if this behavior works the same in an environment of multiple instances. Thank you.

    Yes, because the available processor would be 40%, they use more, while.

  • Connection to the PROD database error: ORA-20

    Salvation of DBA

    When running custom reports, I get the following error.

    Connection to the PROD database error: ORA-20

    When I run the same report again, it works fine.

    Please tell me why it behaves like this? and advice me please how to fix this.

    Best regards

    Suresh,

    Follow the recommendations of the following note to set the initialization of the PROCESS parameter correctly.

    Note: 216205,1 - parameters to initialize database for Oracle Applications Release 11i
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=216205.1

    Another possible solution is to give your opinion on tune your custom code.

  • Database alert is not triggered when the Oracle database monitor by mistake.

    Hello

    Database alert is not triggered when the monitor of the Oracle database by mistake. If we test the alert manually alert works correctly. Could someone let me know the solution for this.

    This isn't a question of PC or operating system. You should post your questions in the forums of Oracle database.

  • What is the name of the table that has the name of the custom in the Oracle database Section?

    What is the name of the table that has the name of the custom in the Oracle database Section?

    Thank you

    Nefertari

    The names of the custom Sections are stored in commonExtendedAttributeML, the extended attribute table.

  • How to store images in the oracle database and get back on a jsff page in ADF?

    Mr President.

    How to store images in the oracle database and get back on a jsff page in ADF?

    I have students and employees in my database and want to store their pictures against their ID.

    How to do this?

    Concerning

    Tender,

    You can check the links that explain this below.

    https://tompeez.WordPress.com/2011/11/26/jdev11-1-2-1-0-handling-imagesfiles-in-ADF-part-2/

    Johny tips: ADF: display image files from database as a popup in Application Web ADF

    See you soon

    AJ

  • Why use Oracle Grid in the oracle database

    Hi experts,

    In fact in my workplace, we use normal database (use not the grid). I want to know why we use the grid in the oracle database. all that the advantage of it.

    Reg,

    Thomas

    You might have a grid of database servers (access to the shared storage) or application servers.

    You can use the Grid control to monitor and manage multiple database / application servers.

    10g and 11g and 12 c facilities grid Infrastructure is installed to facilitate the DSO (is not part of the 10g GI) but a part of the 11 g and 12 c GI and Clustering.

    Then, depending on the context "grid" can refer to another product.

    Hemant K Collette

  • The Oracle database is free for individuals?

    Is the Oracle database free for private developers, just test the database, or what I personally contact them in order to pay them? Only, I went to the page of download of Oracle and downloaded 2 pcs. Installation of 1 GB, installed files database on my Windows 7 computer and then started using it.

    Have you paid attention to the license agreement you agreed before downloading software? Restrictions on use are clearly stated.

    Oracle Technology Network Developer for Oracle Database 11g Express Edition license terms

    The limits for 11g XE are also documented-

    Oracle & reg; Database Express Edition

    Oracle & reg; Database Express Edition

    HTH
    Srini

  • How to start the oracle database server and its client in windows 8

    Hi all

    I am a new entry in this forum and I am a beginner with oracle database.

    I always used SQL Server as the database, and it was easy to use after installation.

    With management program configuration of SQL Server I could to start service SQL Server (SQLEXPRESS) and the database server start!

    With SQL Server management studio, I was able to launch the client application, then was to establish a connection to the server and everything worked great!

    Now, how to work with the oracle database?

    I installed the oracle server and client version 11g R2 in windows 8, but how do I start the database?... and how can I start the client application to query?

    best wishes in advance.

    PS: Sorry for my English.

    If you are on the same machine, the only service that you absolutely need to start is the database service.  In your case OracleServiceSYSDBA (hmmm... How did you find with this name?).

    For queries, you can use SQL * Plus which should also be installed.  If you want something GUI, you can use SQL Developer (you need to install separately I think).

Maybe you are looking for

  • 4 k @ 60 Hz

    I would drive a 4 k UHD TV at 60 Hz with a mini mac 2014. There's a club3d mini displayport to hdmi 2.0 adapter. Anyone think it would work? If you got it works, could you please advise how. Thank you! Here is the link: https://www.Amazon.com/Club3D-

  • Toshiba Canvio AeroCast Android app is not compatible with Android 5.0.2

    On my HTC One (m7) 5.0.2 android, I see the hard drive in the android, but can´t application see the content. I can see content in app official on my Ipad IOS 8.3 mini and old Samsung Galaxy S2 Android 4.4.2 Will there be an update or correction, if

  • Satellite A660-18 freezes randomly

    My Satellite A660-18 freezes randomly especially when I play games or watch video.Also sometimes when I'm just passing the mouse. He is 1-2 times a week/2 weeks. When it happens the screen freezes but the audio on for a while and does not react to an

  • RefNum null

    Hi all I have a very simple question, I need an expression to detect a null refnum. I'll send the TestStand StationGlobals.TS.CurrentUser.LoginName for the user through the FrontEndCallback.seq by using the UIMessage Interface. There are times where

  • Viewer files TDMS file not found

    The VI I use currently is a slight modification of the example ContAcq & GraphVolt.  I've recently updated to LabVIEW 2009, and my Viewer TDMS open more TDMS files I record.  The files are there and I can open them using the example of ReadTDMS VI, b