Permission to create objects as different USER

Hello

I´d would like to know what privileges are used to allow a user to create objects (tables, indexes, triggers, procedures) under another user.

Example: I m connected with user TOM and want to be able to run the following DDL:

CREATE TABLE MATS. TEST_TABLE)
FIELD1 NUMBER,
FIELD2 VARCHAR2 (50)
);

Thank you very much

Bruno

Hello

To create a table in the schema of another user, you must have the privilege to CREATE ANY TABLE (indexes, triggers, and procedures) system and the same thing with indexes, triggers, procedures.

Thank you

Tags: Database

Similar Questions

  • How to create objects with names being together & quot;. on the fly & quot;?

    Hello world

    I don't know how to create objects with different suffixes in their references "built" on the fly via loop 'for '. I mean, it's, 'typical' how to create a few sprites could be:

    var sprite1:Sprite = new Sprite();
    var sprite2:Sprite = new Sprite();
    container.addChild (sprite1);
    container.addChild (sprite2);

    and what happens if we want to create 100 these objects to aid 'for' loop so that we do not need to type:

    var sprite1:Sprite = new Sprite();
    var sprite2:Sprite = new Sprite();
    var sprite3:Sprite = new Sprite();
    var sprite4:Sprite = new Sprite();
    ...
    var sprite100:Sprite = new Sprite();

    the question is to know how to "integrate" the number name of the instance of the object during the creation of objects of mass? I remember some old "eval" and the square brackets "["objectName"+ objectId]" magic spells, but they do not seem to work in AS3

    Greetings

    :

  • Problem when creating objects to the point user clicks on the screen

    I'll sometimes have a problem when clicking on the screen and have an object at this time created. 95% of the time it works properly, but sometimes, the object is created in a different area of the screen.

    Everyone comes across something similar? Or is it likely to be just a problem with the Simulator?

    Thank you very much for any help offered.

    If you want a "newLabel" to appear in the contact details of your mouseEvent, but only if details of mouseEvent are lower on the screen (having a higher value) at the height of your textButton.

    If your TextButton object does not touch the top of the stage (y = 0), you'll want to write this instead:

    if (event.localY > textButton.y + textButton.height)
    

    It may be a good idea to write it anyway, just in case you want to change the position of the TextButton.

    In addition, localX and localY properties of your mouseEvent are compared to the event containing sprite.  for example, if you have a canvas Sprite that is a parent of your textButton and is tuned for the mouseEvent.  otherwise, if there is no sprite contains (second phase) for your event, you'll want to use stageX and stageY instead.

    I guess since I can't be sure of your intentions here, but try this instead:

    private function createItem(event:MouseEvent):void
         {
         if (event.stageY > textButton.y + textButton.height)
            {
            var newLabel:TextField = new TextField();
            newLabel.x = event.stageX;
            newLabel.y = event.stageY;
            newLabel.text = "test";
            newLabel.setTextFormat(userTextFormat);
    
            addChild(newLabel);
            }
         }
    
  • Create two different user profiles in a laptop to use in office & home environment

    can we create two different user profile / accounts, which can be used only one profile of field office environment & another profile for my internet browsing environment home (which has no restrictions). But my desktop environment uses an ISA Server which limits with many rules.

    What I really want is, I want my two accounts work like two different PCs. mainly programs which I use on the family environment may not run or work or visible on the desktop environment profile...
    can someone suggest me a solution or I would like to know if it's possible that...

    Unfortunately put you you join a computer to the domain, that's all the computer not the user account and the domain policies will be applicable to all users.

    Even if a running virtual machine could just do what you want, you would have probably more success with the creation of a separate partition and dual boot of the system. You would then have a home operating system and a separate office o/s. Dual boot can be with the same versions of Windows, they do not have to be different.

  • Effective way to create an online help for different users

    Hello

    I use RH6 (RoboHelp HTML) on Windows XP to create WebHelp. I need to create an online help for 3 different users, for example, student, teacher and principal. Some functions of the software are available based on the permissions assigned to users. So, I developed a main project file ("All.xpj") that contains all the topics. Then I create a new project for each type of user and import only the topics that relate to the user. It is the most effective way? I didn't have to create 3 or 4 conditional parameters... because I would have to re - create the table of contents, the Index, and the Glossary for each project. It is the most effective way to use RH6 for my needs?

    Any advice or suggestions would be greatly appreciated.

    Thank you
    FMnRH

    Conditional compilation marking would go like this:
    1 mark the topics specific to the user as a 'Student', 'Teacher' or 'Major', as the case may be.
    2 leave unidentified all subjects that are common to all.
    3. Enter the three configurations different single source (SSL):
    -L' SSL must have the term generation student NOT a teacher AND NOT Principal.
    -L' SSL must have the term generation NOT a student teacher AND NOT Principal.
    -The main SSL should have the term generation NOT student AND NON-teaching.
    All unmarked topics will appear in the output.
    4. the table of contents can be trickier; It depends on your structure. Tag user specifi c-books in the table of contents as a student, teacher or Director. Let the unidentified current material. Do the absolute minimum marking here that you can get away with and try to keep the simple tags and high level. It is too easy to lose them in a table of contents complex. The thing to remember here is that if a topic is not in the output, it will be automatically excluded from the table of contents. This means that if you have marked a topic as a teacher, he will not be displayed in the table of contents of the student, even if you do not expressly exclude the table of contents entry.
    5. as a result of the reasoning in number 4 above, the index should take care of itself, and I think that the glossary will be, too, although I have not played with glossaries a lot.

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

    I think you have the right idea on how to perform the merge. I don't have access to HR right now to check.

    If all three projects have the same definitions in the glossary, put them in the common project of the child, not duplicate them in the user-specific projects.

    HTH,
    G

  • How can I restrict access to programs and use between different users?

    I have various users defined in the system. While I I want all users to be able to access and use Microsoft Word, there are some other proprietary programs that must be available for some users: me and my manager and staff. Of course, the administrator can access and be able to use all the programs defined for Windows.

    It is for one computer only?  Or a wide area?  Using XP Professional?

    For a single machine (XP Pro) you can only use NTFS permissions and share permissions on the folder for the specific program or for the executable file for the specific user or groups of users.  Just right click on the object and select Properties, then click the Security tab.  It is best to apply permissions to groups rather than to individual users, you then control access of the user by their membership to a group, it makes it much easier to manage permissions and avoids headaches down the road.

    You can create new groups of users for your own needs.  For example, suppose you have an accounting software that should only be accessed by Mary and Jim, who are in charge of accounting.  You can create a group called accounting and that Marie and Jim in the Group and only allow the accounting group to have access to accounting software.  If the latter you hire someone else to do the work of accounting you make the new person member of the accounting of the Group and he will have access to the software.  You could do the same with software engineering, you can create a group called engineers with authorization on software engineering and give membership to your engineers.

    You can also do this with data files, lets say you have junior engineers and experienced engineers, they all use the same software, so they all need to be in the Group of engineers.  But engineers are working on secret projects that subordinate engineers should not have access to.  You can simply store the data for secret projects files in a different folder and create a group called Secret and only the mechanics leading members of this group.

    John

  • Creating objects with their corresponding schemas or as SYS

    Hi all

    Which is preferable? Creating objects with their corresponding schema/username, or simply use SYS to create all objects? Y at - it an advantage or a disadvantage? Are all best practices regarding that?

    For example, I have to create several objects in several different schemas (hr, oe, scott, Bishop). I could either connection in each schema individually and create objects, OR I could just connect as SYS as create them all at once. Is there any problem with the latter approach?

    Thank you.

    The rule was stated by Oracle years... do not connect as SYS... ever... except for purposes of maintenance or backup with RMAN.

    Advice is always to create the schema of the application, log in as the owner of the application, and create objects as long as this user. Do not follow this advice, all to often, end us with the created objects where they belong... often clues belonged to SYS.

  • Create view with different schemas

    Hello

    I would like to create a view using data on different patterns.

    For example, user A has a table1 and user B has also a table1.
    On the schema user C, I would make a union of two table in the same point of view as:

    If user C is running:

    Select * from A.table1
    Union
    Select * from B.table1

    It's ok, but when I try:

    CREATE or REPLACE view view_table1 AS FORCE
    Select * from A.table1
    Union
    Select * from B.table1

    It returns the ERROR at line 0: ORA-01031: insufficient privileges

    But the C user has SELECT ANY TABLE, update ANY TABLE, DELETE ANY TABLE,... rights

    Someone has an idea?

    Thank you!

    Published by: bushi893 on August 30, 2010 19:53

    When you create a view containing the object of different owners, the other owners have to grant "with grant option" to the owner of the view. Thus, the view owner can grant to other users or patterns...

    Example: The latter is the owner of a table called mine_a User_b is the owner of a table called yours_b

    Let's say user_b want to create a view with a join of mine_a and yours_b

    To see it working properly, it must give "grant select on mine_a to user_b with grant option.

    Then user_b may grant select on this point of view to everyone.

  • Object grants to users and roles

    A question about the Oracle grants. Searched and found wires that are close, but not exactly what I'm looking for.
    I'm on an Oracle 10 g Enterprise Edition (64-bit) database running on Sun Solaris 5.10

    We have a test database (say TEST1) having 2 schema SCHEMA1 and SCHEMA2. These patterns have nearly 2000 items in each of them.
    Then we have a different database (say TEST2) with the same 2 schemas with the same name and containing as many objects.

    My goal is to export these two patterns of TEST1 and import them into TEST2. By doing this, I chose the path is, am I completely drop every single object from the 2 diagrams in TEST2. And then, do an import. I do import with grants = y option enabled.

    The dilemma I am, is that, although the DDLS objects are identical between SCHEMA1 and SCHEMA2 TEST1, SCHEMA1 and SCHEMA2 TEST2 respectively, users on the databases are different. Of course, I like to keep all subsidies of the object to other users in TEST2 after my import just the way which is prior to importation. So, looking for a way to pre-generate a script before the Tomb object so that I can just run the script and retrieve all my grants do lose I. as...
    GRANT SELECT ON TEST2.table10 to USER01;
    GRANT INSERT ON TEST2.table10 to USER02.
    GRANT INSERT ON TEST2.table20 to USER02;...

    (I really don't like if the TEST1 grants is imported when you import, thus introducing unnecessary grants... wanted to just make sure that TEST2 does not lose a thing)

    Another round here, is that we also have a good amount of roles that have received subsidies for SCHEMA1 and SCHEMA2 of TEST2 database objects. How to generate a script that has something like...

    GRANT SELECT ON TEST2.table1 to ROLE1.
    GRANT INSERT ON TEST2.table1 to ROLE2.
    GRANT INSERT ON TEST2.table2 to ROLE2;...

    Thank you

    You can start from these scripts:

    SQL> grant select on a.t13 to b;
    
    Grant succeeded.
    
    SQL> select 'grant ' || privilege || ' on ' || owner || '.' || table_name || ' to ' || grantee || ';'
      2  from dba_tab_privs
      3  where owner = 'A'
      4  /
    
    'GRANT'||PRIVILEGE||'ON'||OWNER||'.'||TABLE_NAME||'TO'||GRANTEE||';'
    ------------------------------------------------------------------------------------------------------------------------------
    grant SELECT on A.T13 to B;
    
    SQL> create role role1;
    
    Role created.
    
    SQL> grant insert, delete on a.t10 to role1;
    
    Grant succeeded.
    
    SQL>  select 'grant ' || privilege || ' on ' || owner || '.' || table_name || ' to ' || role || ';'
      2  from role_tab_privs
      3  where owner = 'A'
      4  /
    
    'GRANT'||PRIVILEGE||'ON'||OWNER||'.'||TABLE_NAME||'TO'||ROLE||';'
    ------------------------------------------------------------------------------------------------------------------------------
    grant INSERT on A.T10 to ROLE1;
    grant DELETE on A.T10 to ROLE1;
    

    With greetings
    Krystian Zieja

  • How do I sync and import/export bookmarks between different users on the same computer and two using the Firefox browser?

    All the help instructions are to import and export bookmarks bookmarks between different brands of browsers.

    Assuming that each of these different users use a different profile of Firefox. You can use the built in Fx4 Sync feature. Click on Setup Sync in the menu selections, create an account and then have each user created their profile to use this new account synchronization. It syncs more bookmarks; things like history, passwords, etc. So if it's only the bookmarks you are concerned with that, use customize only synchronize bookmarks when you set up each user. Good luck and have fun in sync.

  • Automation server can't create object

    Under Windows XP Home Edition, access user accounts in Control Panel.  Then I select "change the way users log on and out" and the error message "Automation server can't create object ' results."  How can I fix?

    This response helped me a solution.  I tried and it did not fix the problem, but it changed the error message (a message about a recently installed program has disabled the Welcome screen and the fast change).  I remembered having seen that elsewhere in this forum, I went and found that.  He spoke a * GINA. DLL and suggested he remove the registry (to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Current Version\Winlogon).  When I did (after properly backing up the registry, of course), voila! My problem has been resolved.  So thank you all!

  • User account now points to a different user account files

    Several users have in our household have accounts on a laptop.  One of the accounts mysteriously began to point to a different user account files.  All other user accounts seem to work normally.

    UAC is not running on the machine.  The user account with the problem and that to which it points now have administrator privileges.  Windows Update is active.  The 2 latest updates prior to the issuance have been updated to Windows defender.

    How to restore this user account to the way it was?

    Hey Super,

    It is possible that the location of each of the user data folder are changed to the other user account.

    First check if the user account folders do not exist in the C:\drive\users and then continue with the steps below.

    You will need to each user account folder redirected to its original location and check if it works.

    1 right click on the folder that you want to restore to its original location, and then click Properties.
    2. click on the location tab, click restore default, and then click OK.

    You will need to do this for each individual user account folder that points to the other user account folders.
    Redirect a folder to a new location
    http://Windows.Microsoft.com/en-us/Windows-Vista/redirect-a-folder-to-a-new-location

    If the previous step fails while the user account may be damaged, you will need to check if the problem persists in a new user account and later to fix a corrupted user account.

    Create a user account
    http://Windows.Microsoft.com/en-us/Windows-Vista/create-a-user-account

    Difficulty of a corrupted user profile
    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

    I hope this helps!

    Halima S - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • BlackBerry Z30 error update BBID "this username is already in use. Enter a different user name. "

    I created new BBID using my outlook account. When I tried to update the old BBID by this new device Z30, it shows message "this username is already in use. Enter a different user name. ». While this 'my new ID' has never been used in any device of BB before that. Please guide me on this issue.

    Thank you

    Qayzar

    Ok. The key is what you started with. Your device has been associated with a BBID. You created a new BBID and now want to associate the device with the new BBID. To do this, WIPE the device. But there are contingencies.

    First of all, don't forget that it is actually what you want to do. There is a difference between changing the email address associated with a BBID and change the real BBID. You must be sure that your intention is here. If you change the real BBID, you will lose then all contacts in BBM, BBWorld records of purchases and other things. If instead, you change the e-mail assigned to the BBID existing address, none of this will be lost.

    Continue with this section only if your desire is to change the real BBID bound to the device (and thus lose your BBM contacts, BBWorld purchase recorde, etc.).

    Check the device running OS. Reference:

    If you run any OS in the beach of 10.3.2.xxxx, then it is mandatory that you know the credentials for the BBID that is currently associated with the device... If you do not, then you can not continue what you intend. 10.3.2, the compulsory anti-theft function is in place, and when you start the WIPE on the device (in order to divorce the device from the current BBID), you will need to enter the current BBID credentials in order to move forward. So, if you don't know these credentials, then stop now and say that we will have to give you different instructions.

    But, if you know your BBID identifiers OR you're not on the 10.3.2 branch OS, then you can go ahead with the WIPE on the device and then associate the device with the new BBID as part of the initial installation. Of course, before you start this, you want a good backup link, a manual copy of the memory of your device to your PC and complete documentation of your configuration (identification information of account, adding applications, configurations, etc.). Sometimes, restoring a backup returns unit corruption even, must be eliminated and reconfiguration from scratch can solve that. Indeed, since you will change the associated BBID, backup, you take now (with the old BBID) will probably not usable as a source of restoration, later (with the new BBID) and thus you probably you must manually configure everything anyway. If you used the OTA servers (e.g., Google, Outlook.com, etc.) as the location of data storage 'master' for your contacts and calendar, it shouldn't be a big problem because these data will repopulate the device to these servers when you reconfigure the account. But, if you have used 'local' for these data, the challenge will be much larger.

    Proceed with this section only if your intention was to keep the existing BBID but to change the e-mail address are attributed to him (and NOT lose your BBM, records of purchases BBWorld, contacts etc..).

    If your original intention was not to change really the BBID but rather to simply change the email address associated with the BBID, you never have to have created the new BBID at all... instead, see:

    Since then, however, you have created the new BBID, then you will have to destroy the new BBID first and then make the change of address email documented in the KB. To destroy the new BBID, consult:

    Good luck!

  • Sharing of different folders for different users

    I created 100 different subfolders for 100 different users in a folder with their ID respective user needs access to only subfolders that are named after their ID respective how could I share all 100 files at once, so that the folder is shared only for the particular user who is named after his user ID.

    (One shared).

    Ex:-J' created 100 records as 1 2 3... 100.

    User 1 can access folder 1 only

    User 2 can only have access to the folder 2...

    Please suggest

    Sandeep

    Hi Sandeep,

    You can get help in the MSDN forums on this:

    https://social.msdn.Microsoft.com/forums/en-us/home?Forum=scripting

    Thank you
    Waseemulla S

  • Permission to create/run the scheduled task

    Hello

    I'm running Windows 7 Pro RTM and I try to use my normal user account to create and run a new scheduled task, but whenever I try to save the task, I get an error msg saying "Task Scheduler cannot create the task.» Does not know the user account, the password is incorrect or the user account doesn't have permission to create this task".

    I have no problems running tasks under my admin account, but I don't want to use it for everyday purposes. I'm also sure that this error must be because of permissions problems, so can I know what is the privilege that a user must have to create/run one account task?

    Thank you very much

    Hi hifer,.

    Please use the forum for answers,

    If your account is a standard account, you will not have permission to create a task or schedule task.  Your account must be an administrator account to schedule the task for the system or it must be run as an administrator.

    It have additional permissions, you can add standard user profile to allow the profile to create the task.  But this option is not available in all versions of Windows and rather complicated.  You can try to add these groups to your profile using computer management in administrative tools.  User with power and Backup administrator can provide you with the authorization that you need if the groups are available with your version of Windows 7.

    Hope this helps,

    Kevin
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for

  • iPhone 6s more split apart

    Does anyone else have this problem? I got mine less than a month. When I bought it, he was put in a box of Otter Defender case. He did not sit in the Sun, or it fell. The Otter box screen protector was a bubble that grew on the left side, up and down

  • HP-Envy 13-d004nf: BAN on computers laptops wifi to new NON AC

    The release of new computers laptops wifi WITHOUT that stuff should be banned! On the envy of 13, the wifi is really crappy! Each 4GB transferred the connection drops. My old Dell lattitude could do the standard AC and no connection drop-outs. Even m

  • SSH - all router have SSH server?

    I have a WRT160NL but the router does not have an SSH server.  All Linksys router have SSH installed? I think that the only way to do what I want to do is to run SSH on a computer connected on the side LAN and transfer ports to this computer in order

  • HP Stream: I forgot my laptop HP Stream administrator or power on password

    I forgot my laptop HP Stream or power on password administrator

  • Cannot configure a Hyper-V reservation

    I followed the steps successfully to 'Create an Endpoint of Hyper-V standalone' (page 15 in the "Configuration IaaS for virtual platforms - vcloud Automation Center 6.0" document ")Also with success, I created a group of fabric and was able to select