grant, create and drop objects on the diagram to a role/user

Generic question for Oracle RDBMS:

As far as I know, there is no way for the owner of a schema privileges such as create objects, or drop objects in this schema to a user or a role.

I know that a lot of people always asked if it is possible, and I hope Oracle will provide this capability, but as far as I know, it is not possible, even in 12.1.0.2.

Does anyone have ideas on this?

I considered to have developers to create programs to create tables, views, packages, etc. and then grant execute on them to the users/roles, but it would be a huge amount of work.

Did someone come up with an easier way to do this?  Or know of a way that this can be done?

Obviously, I can not grant create any table, index, package, view, etc., or to delete any table, view, etc., and of course we grant the DBA role.

I thought that the 'become a user"was a solution, but it is apparently far from able to do such things.

In our case, apparently, we have users log in with account of the owner of the schema and create objects, modify objects, etc.  (Change the objects is not a problem, because we can give everything on the object to someone.)   The problem is that we need to prevent people to connect to shared group accounts (or as the owner of the schema record) to create objects, drop objects, etc.).  We all have as their own user name and will not be able to create and delete objects in patterns of selection.

Why must everyone CREATE and DROP of objects within the framework or the processing of information on the day the day?

I feel a serious design flaw & conversion Orace DB.

Tags: Database

Similar Questions

  • Drag and drop - moved outside the target object

    Hello

    It's my first drag and drop object.  It went pretty well except for nitpicking a few things.  I'm hoping to get help on one of these.

    A sample of my screen is below.  The basic idea is that you drag one of the words in the dotted box, and I'll give you a sound feedback, whether good or bad.  I'm tiling the answers and this is my question.  Sometimes, if I already have one correct answer in the box and drag each other directly on the existing answer, he'll put it on the side and it seems that it is in the next box.  An example is below.  This happens very rarely, but I still want to go to the bottom of it.  I resized the boxes, made the smaller font and I reduce the size of the response when he goes inside the box.  But it still exists.  If they hang out below the existing response response then it works fine.  Does anyone know what is the answer?  I have the screen below, as well as the settings of the target in the example below that.  any help would be greatly appreciated.  Thank you!

    dnd question.gif

    target settings.gif

    That's the problem with tiling. You can reduce the size of drop even more (90%), try one of the other options in the second row of tiles. Or choose absolute, which means that it has no real alignment, control, but text will stay where the user puts.

  • Table temporary global vs create and drop an ordinary table in pl/sql proc

    Hello!

    I currently have these statements in a pl/sql procedure:

    EXECUTE IMMEDIATE 'drop table tmp_deal;

    RUN IMMEDIATELY.
    create the table tmp_deal as
    Select deal_tracking_num, ins_num, tran_status
    ab_tran t, part p
    where 1 = 1
    AND t.internal = p.PARTY_ID
    AND p.sname in ("SXXX - YY", "ZZZNE - TT","FG - RT")
    and t.MAT_DATE > sysdate - 15 * 31
    AND t.status IN (1,3,4,11)';

    EXECUTE IMMEDIATE 'create index tmp_deal_idx1 on statistics calculation in line of tmp_deal (status, tracking_num);
    EXECUTE IMMEDIATE 'create index tmp_deal_idx2 on statistics calculation in line of tmp_deal (tracking_num, status);
    EXECUTE IMMEDIATE 'create index tmp_deal_idx3 on statistics calculation in line of tmp_deal (ins_num);


    As you can see I am falling and re-creating a table. The table is used as an intermediate storage for a larger SQL following further in my procedure (not shown in this post).

    My question is:
    Y at - it an advantage or a drawback in using global temporary tables (gtt) instead of the create and drop an ordinary table? The table contains about 7000 records and is not needed more once the procedure is complete. The procedure runs once per day, every day of the year

    We are running Oracle 9iR2.

    And finally, please do not look to find errors in SQL statements above. They are slightly darkened and still developing. The basic question is if TWG's benefit to the common way to do it.


    Thank you in advance for your help!

    user7066552, the use of temporary tables may be a necessity in SQL Server and mySQL, but with Oracle and its authors do not block readers reading model consistency using temporary tables as part of the treatment is generally unnecessary.

    A valid use for a table of work could be where you create an operating table that is used to generate reports that are run on demand and several different users need access to the same data. However, you create the work only one table and truncate it prior to restocking rather than drop and it dynamically create. When only the current process will use the data a TWG is the way to go if you must have a table that is "temporary".

    HTH - Mark D Powell.

  • I wish I could make a website I use ofter and drop it on the screen of firefox under url. Then, I'll have rapid access. How can I do this?

    Question
    I wish I could make a website I use ofter and drop it on the screen of firefox under url. Then, I'll have rapid access. How can I do this? I currently use it on my laptop, but recently bought a new computer and downloaded firefox and lost a lot of features that I enjoyed.

    It was exactly what I was looking for - thanks a lot!

  • I can't drag and drop files in the trash, error code-43 is detected, what should I do?

    I can't drag and drop files in the trash, error code-43 is detected, what should I do? What is an error code - 43?

    You can't empty the trash or move a file to the trash

    If the above does not help, then see below:

    Visit The FAQ XLab and read the FAQ on the waste problems. You can also try using Trash it! 5.1 to solve the problem. Or you can try this:

    Open the Terminal in the Utilities folder, and paste the following at the command prompt:

    sudo rm - Rf ~ /. Trash

    Press RETURN. Enter your administrator password when prompted. It will not echo to screen. Press RETURN again.

    (Someone should tell you that it is dangerous or useless, please disregard the comment.)

  • Drag and drop files to the icon of the EXE

    I was wondering if there is a way for the user to drag and drop files on the .exe icon and it would launch the program to do something with these files automatically?

    For example: Some PDF convertor programs allow you to drag and drop documents, images, etc. directly on your desktop PDF Converter icon and it will automatically convert to PDF format, without the user even having to open the program.

    This same kind of functionality is possible with a file EXE of Labview?

    If you look at the Arguments of the command line of the Application class property, the first element must match the name of the EXE, the following elements will be the path or paths that were dropped on the icon of the EXE.

  • block all users: I'll be out of town for a few days and I would block all my personal files and folders again, leaving the internet open to all users

    I'll be out of town for a few days and I would block all my personal files and folders again, let the internet open to all users.

    How I do.

    Thanks for any help!

    I'll be out of town for a few days and I would block all my personal files and folders again, let the internet open to all users.

    How I do.

    Thanks for any help!

    You mean that other users do not have their own user accounts?
    They all connect to your own account?

    If they all have their own user account to log on, they can't see your personal files, unless...
    1. your files in public folders.
    2. they have your password to login to your own account.

    So, please clarify.

    t-4-2

  • Petition for grant to display all objects in the DB in the data base and discovers the DOF for each.

    Dear administrators,

    I created the user but now I have a requirement for the granting of privileges to view all objects in the DB in the data base and discovers the DOF for each.

    Any help please

    Ritz

    Thanks to advise all the

  • Drag and drop any of the touchpad buttons

    Hello, my company gave me a laptop Pavilion Win8.1 running, it has no buttons on the touchpad.  How you draw around an object when you use the cutting tool, or how you drag and drop a file?  Is a required external mouse?  Thank you.

    I think Microsoft is yet to come up with a fix for this point 8.1 OS.

  • Creating groups of objects on the ASA/FWSM

    It doesn't seem possible, but I would like to check if this is possible.

    I want to create a group for example NMS and have this group associated with 5 different NMS on my network IP addresses. So I want to configure ASA to simply allow any intellectual property of the NMS group to interrogate it.

    I can always just update the IP addresses on the object and not the sentence on the snmp host individual.

    The

    snmp-server group group-name v3 [auth | noauth | priv]

    said its version 3 only and it does not resemble him to achieve what I want.

    Thank you

    No, unfortunately you have already answered your own question. You cannot configure the group object and apply it to the snmp host command.

  • How to create a new object on the other list list

    Hello

    I'm trying to insert the result of a query in a list in order to put the new values based on the results of the first query: for example, I have this table which contains records:



    adfcal1.PNG


    My question is:OE to create a new list object on the other hand, if you see the picture shows my list, I want to create another list where I stock ordred values if we in line December we will put 1 in column 12 and if we April we put 1 in the 4th column and if we find in my current line November we put 1 in column 11 :

    I'm stuck in this function

    public List<VisiteCons> MyListResult() {

      
    Query query = em.createQuery("SELECT o FROM Visite o ");
      
    List<Visite> visites = query.getResultList();
      
    List<VisiteCons> result = new ArrayList<VisiteCons>();
      
    for(int row = 0 ; row < visites.size() ; row++) {

      
    int m1 = 0, m2 = 0, m3 = 0, m4 = 0, m5 = 0, m6 = 0, m7 = 0, m8 = 0, m9 = 0, m10 = 0, m11 = 0, m12 = 0;
      
    //Pour m1 january
      
    if(visites.get(row).getM1().equals("janvier")){
      m1
    = 1;
      
    }
      
    VisiteCons vc =  new VisiteCons( m1, m2, m3, m4, m5
      
    , m6, m7, m8, m9
      
    , m10, m11,m12);
      result
    .add(vc);
      
    }
      
    return  result;

    }

    VisiteCons is a constructor that I created.



    and this my entity:

    package model;

    import java.io.Serializable;

    Import javax.persistence.Column;

    Import javax.persistence.Entity;

    Import javax.persistence.Id;

    Import javax.persistence.NamedQueries;

    Import javax.persistence.NamedQuery;

    @Entity

    @NamedQueries ({@NamedQuery (name = "Visite.findAll", query = "select visit o o")})

    Visit/public class implements Serializable {}

    private public static final long serialVersionUID =-6069673717468618734 L;

    @Column (length = 4000)

    private String year;

    @Column (nullable = false, length = 100)

    customer private string;

    @Column (length = 4000)

    private String dep.

    @Column (length = 4000)

    private String State;

    @Id

    @Column (nullable = false, length = 100)

    private String idvisite;

    @Column (length = 4000)

    private String ingaff;

    @Column (length = 20)

    private String m1;

    @Column (length = 20)

    private String m10;

    @Column (length = 20)

    private String m11;

    @Column (length = 20)

    private String m12;

    @Column (length = 20)

    private String m2;

    @Column (length = 20)

    private String m3;

    @Column (length = 20)

    private String m4;

    @Column (length = 20)

    private String m5;

    @Column (length = 20)

    private String m6;

    @Column (length = 20)

    private String m7;

    @Column (length = 20)

    private String m8;

    @Column (length = 20)

    private String m9;

    @Column (length = 4000)

    private String moisvisite;

    @Column (length = 4000)

    private String nbvisites;

    @Column (length = 4000)

    private String prbvisite;

    public Visite() {}

    }

    Visit public (String year, String customer, String dep, State of, string idvisite, String ingaff, String m1,

    M10, m11 String, String m12, m2, m3, m4, m5 String String String String String, string m6, m7 of the chain,

    String m8, m9 String, String moisvisite, String nbvisites, String prbvisite) {}

    This.Annee = year;

    This.client = client;

    This.DEP = dep;

    This.Etat = State;

    This.idvisite = idvisite;

    This.ingaff = ingaff;

    This.M1 = m1;

    This.M10 = m10;

    This.M11 = m11;

    This.M12 = m12;

    This.M2 = m2;

    This.M3 = m3;

    This.M4 = m4;

    This.M5 = m5;

    This.M6 = m6;

    This.M7 = m7;

    This.M8 = m8;

    This.M9 = m9;

    This.moisvisite = moisvisite;

    This.nbvisites = nbvisites;

    This.prbvisite = prbvisite;

    }

    public String {} year

    return year;

    }

    {} public void Name\backup (String year)

    This.Annee = year;

    }

    public String getClient() {}

    customer feedback;

    }

    {} public void setClient (string customer)

    This.client = client;

    }

    public String getDep() {}

    return the dep;

    }

    {} public void setDep (String dep)

    This.DEP = dep;

    }

    public String getEtat() {}

    return status;

    }

    {} public void setEtat (String State)

    This.Etat = State;

    }

    public String getIdvisite() {}

    Return idvisite;

    }

    {} public void setIdvisite (String idvisite)

    This.idvisite = idvisite;

    }

    public String getIngaff() {}

    Return ingaff;

    }

    {} public void setIngaff (String ingaff)

    This.ingaff = ingaff;

    }

    public String getM1() {}

    return m1;

    }

    public void setM1 (String m1) {}

    This.M1 = m1;

    }

    public String getM10() {}

    return m10;

    }

    public void setM10 (String m10) {}

    This.M10 = m10;

    }

    public String getM11() {}

    return the m11;

    }

    public void setM11 (String m11) {}

    This.M11 = m11;

    }

    public String getM12() {}

    return m12;

    }

    public void setM12 (String m12) {}

    This.M12 = m12;

    }

    public String getM2() {}

    return m2;

    }

    public void setM2 (String m2) {}

    This.M2 = m2;

    }

    public String getM3() {}

    return m3;

    }

    public void setM3 (String m3) {}

    This.M3 = m3;

    }

    public String getM4() {}

    Return to m4;

    }

    public void setM4 (String m4) {}

    This.M4 = m4;

    }

    public String getM5() {}

    return m5;

    }

    public void setM5 (String m5) {}

    This.M5 = m5;

    }

    public String getM6() {}

    return of m6;

    }

    public void setM6 (String m6) {}

    This.M6 = m6;

    }

    public String getM7() {}

    return m7;

    }

    public void setM7 (String m7) {}

    This.M7 = m7;

    }

    public String getM8() {}

    back m8;

    }

    public void setM8 (String m8) {}

    This.M8 = m8;

    }

    public String getM9() {}

    return m9;

    }

    public void setM9 (String m9) {}

    This.M9 = m9;

    }

    public String getMoisvisite() {}

    Return moisvisite;

    }

    {} public void setMoisvisite (String moisvisite)

    This.moisvisite = moisvisite;

    }

    public String getNbvisites() {}

    Return nbvisites;

    }

    {} public void setNbvisites (String nbvisites)

    This.nbvisites = nbvisites;

    }

    public String getPrbvisite() {}

    Return prbvisite;

    }

    {} public void setPrbvisite (String prbvisite)

    This.prbvisite = prbvisite;

    }

    }

    You can create a view in the db which reads the data from the table and display it in a different way. Then you use the view to get the data in the format and display it in the user interface

    Sample:

    -create a test line

    Select 1 id, m1 'sep', 'mar' m2, m3 'Feb' from dual;

    -output:

    ID: M1 M2 M3

    ---------- --- --- ---

    1 sep mar Feb

    -which means that your table has a row with Id = 1 nd three visits (MS, mar and Feb).  Now give us a different look from these data using the select statement

    SELECT id,

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "jan") > 0 then 'X' other ' ' end) jan.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| ((m3), "February") > 0 then 'X' other ' ' end) Feb.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "mar") > 0 then 'X' other ' ' end) mar.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), ("apr") > 0 then 'X' other ' ' end) Apr.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| ((m3), 'can') > 0 then 'X' other ' ' end) may,

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "jun") > 0 then 'X' other ' ' end) June,.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "Jun") > 0 then 'X' other ' ' end) Jul.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| ((m3), "August") > 0 then 'X' other ' ' end) aug.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "MS") > 0 then 'X' else ' ' end) Ms.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), 'OCTS') > 0 then 'X' other ' ' end) oct.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "nov") > 0 then 'X' other ' ' end) nov.

    (case when ((m1||' +'|| m2 ||) instr)) » +'|| (m3), "dec") > 0 then 'X' other ' ' end) dec

    from (select 1 id, m1 'sep', 'mar' m2, m3 "feb" double);

    -output

    ID J F M A M J J A S O N D

    ---------- - - - - - - - - - - - -

    1 X X X

    or tabular

    You can create a similar sql statement (and there are better ways to do this, but I'm not the whiz sql) and use it to create a database from this view.

    I don't understand what you mean by

    .. and is there a solution of programmatly

    Timo

  • Is it possible to migrate an application and drop one of the three types of plans?

    Migrating applications is 11.1.1.3 to 11.1.2.2.300.  Try to migrate an application and a company wants to only 2 of the 3 types of regime to be brought back.  Is there a way to do this?  Or to remove or hide the type of 11.1.2.2.300 if all 3 are migrated on?

    Here is what has been tried, but he cuased a problem in the DB:

    • Migrate an existing application that originally had 3 types of plan. Plan dropped type 1 and kept plan types 2 and 3

    • Created 2 types of plan when creating the application in 11.1.2.2

    • Initially built the contour using 11.1.1.3 LCM export dimensions and had to modify the XML to import. Edited plan 2 and made this plan type 1. Edited plan 3 and made this plan type 2. Had problems with the LCM/xml and finally finished by using the extractor contour and loading by using the outlineload utility. Dimensions are now based.

    • Initially, wrong Bishop Calc. To change the value of the hsp_systemcfg for the type of plan table = 2 instead of 3 as it was in the table.

    • Calc Mgr shows that type of plan 2 and no plan to type 1.

    Any ideas?

    Probably the best way to rebuild the application and then reload the hierarchies or hack files XML of LCM, if 11.1.2.3 then you would be able to create/delete plan types.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Drag and drop support with the VM mountain lion

    Hi all

    I recently got a new macbook pro (with retina display and the 16 GB and of course the SSD - very soft). I created a machine virtual windows 7 for my windows applications and I also wanted a separate VM to develop on with Mountain Lion, so I downloaded the Cougar from the app store and created an image of mountain lion. My only problem is that it doesn't seem to be any support for drag and drop between my host mountain lion and my mountain lion guest VM. If I try to drag and drop with my windows 7 VM, it works well, but not mountain Lion mountain lion.

    Does anyone know if there are a few settings that I can turn it on or if it is supposed to work? Furthermore, I am under Fusion 5.0.3 and am on MacOS 10.8.3 (on my host and the guest operating system).

    Thank you

    -Jeff

    Hi Jeff,

    Yes it is a limitation having Mac OS X as a guest operating system. There are some other limitations as well as

    • SVGA only.  No chart 2D or 3D accelerated.
    • No unit.
    • No fullscreen multimon support.
    • No USB 3.0 support.

    You can make a feature request or via this link: http://www.vmware.com/contact/contactus.html?department=prod_request

    Thank you

  • How to drag and drop items in the Muse...

    Hello: Im attemping to create some drag and drop elements in muse. Can someone help me with this? Thank you

    You cannot create drag and then drop items using the off the features of the mailbox Muse. You may need to use some third-party JS library and integrate code using InsertHTML or HTML foroptions of Muse.

    Thank you

    Vikas

  • I lost the ability to drag-and - drop files from the finder to dreamweaver

    I've recently updated to OSX Maverick and I lost the ability to drag and drop files into dreamweaver.

    Is there a setting that I know that restores this functionality?

    Thank you

    Hello joyridebs & Mike,

    This seems to be due to changes in the Mavericks. A bug was noted for the workflow broken in Dreamweaver.

    Please follow the workaround by inserting objects from the panel insert until the bug is fixed.

    Kind regards

    Yalpi Shiva Prasad

Maybe you are looking for