Administrate Objects in Schema by Another Schema

Hi,
I am in a scenario to give administer privilege on one schema to another schema only.
Let me exxplain my scenario with an example.
I have a schema named HR in my database. Now I have create another schema named SH.
Now I need to do all operations like create table, create procedure etc on HR schema from SH schema.
And please note that I can't give create any table, create any procedure etc as it will be a big security breach.
Please help me to sort out this issue.
Regards,
Savad

user9292816 wrote:
Hi,
I am in a scenario to give administer privilege on one schema to another schema only.
Let me exxplain my scenario with an example.
I have a schema named HR in my database. Now I have create another schema named SH.
Now I need to do all operations like create table, create procedure etc on HR schema from SH schema.
And please note that I can't give create any table, create any procedure etc as it will be a big security breach.
AFAIK , without create any table/ or any any super privilege like DBA etc , you cannot achieve this.
Regards
Rajesh

Similar Messages

  • Yes, I want to create object-relational schema from DTD.

    Thank you for reply~~
    I want to create object-relational schema from DTD using object type or collections as mentioned.
    In reply, it is impossible.
    But, I read Oracle supports storing an XML document with object-relation. I executed storing sample, but I had to create schema manually.
    Is it really impossible to create OR schema from DTD automatically?

    Yes. You need to create your database schema before insert XML data to it.

  • Using TOAD and SQL Developer to compare db objects in schemas in databases

    Hi All,
    My primary objective was to compare objects in schemas in two different databases and find out the differences,
    Execute DDL's in the database where objects are missing and syn schemas in two different databases.
    So I need to compare schemas in databases. Which tool would be helpful and will be user friendly to make a comparison of database objects existing in schemas in two different databases.
    I'd like to see if I can get a list of pro and cons between Toad and SQL Developer for comparing schemas pros and cons.
    Could you please also help me on navigation in SQL Developer to compare schemas.
    Connect to Source
    Connect to Target
    Compare schemas with different object types
    Find out differences
    Generate DDL's for the missing objects or for the objects in difference report
    Run them in missing instace(Source/Target)
    Make sure both are in sync.
    Thanks All

    Hi,
    Most dba type tools have this kind of functionality - personally i use plsqldeveloper but this is very similar to most other tools on the market. SQL Developer seems to rely on you needing the change management pack licence which you likely dont have and would be quite a large cost to roll out.
    I'd compare plsqldeveloper/toad/sqlnavigator etc and maybe the tools from redgate which look pretty good though i haven't used them.
    Regards,
    Harry

  • Insufficient privilege: Can't export objects in schema..user has no privilege on the underlying objects

    I'm using SYSTEM user but
    HDBSTUDIO continues on triggering this error when I try to export the catalog:
    SAP DBTech JDBC: [258]: insufficient privilege: Can't export objects in schema DARTEL_TRANSPORTES. Can't export procedure DARTEL_TRANSPORTES.PAL_TRIPLE_SMOOTH_WRAPPER. user has no privilege on the underlying objects
    When trying to grant the SYSTEM user to that particular object  I get a new error : Could not modify user 'SYSTEM'. Several issues occurred
    Have anyone have struggled with this error before, any help will be highly appreciated
    Kind Regards

    rev 69 too
    tomorrow I will have the webex and let you know
    Something happenned after my customer change the suse's server IP, I had to perform a re-installation of SAP Business One only
    We were supposed to install using the hostname but no one of the installers let me use the hostname
    so it Kind of forced me to use the IP.
    After asking Support about that one of the specialists told me that he prefers to use IP instead of the hostname. So I used IP.
    Maybe this changed something I cannot detect yet. but tomorrow we'll see.
    KR

  • Benefits of Assigning Database Objects to Schemas

    Hi,
    I need some clarification. Sam Alapati states the following in his book "Expert Oracle9i Database Administration:"
    "Dividing a database's objects among various schemas promotes ease of management and a higher level of security."
    Could you kindly explain how dividing a database's objects among various schemas promote
    1) ease of management, and
    2) higher level of security.
    Thanks,
    Karim

    Like it's been discuss in this thread.
    Re: Three database table sets under one schema
    in short
    1) ease of management
    you group your related database objects into schemas so it's easier for you to figure out which applications using which set of tables, packages etc.
    2) higher level of security
    schema owner has full access to it's objects. If you put every tables into one schema, you can't control which table schema holder has access to which he can't, because he owns everything.

  • Service template problem - Unable to perform the job because one or more of the selected objects are locked by another job - ID 2606

    Hello,
    I’ve finally managed to deploy my first guest cluster with a shared VHDX using a service template. 
    So, I now want to try and update my service template.  However, whenever I try to do anything with it, in the services section, I receive the error:
    Unable to perform the job because one or more of the selected objects are locked by another job.  To find out which job is locking the object, in the jobs view, group by status, and find the running or cancelling job for the object.  ID 2606
    Well I tried that and there doesn’t seem to be a job locking the object.  Both the cluster nodes appear to be up and running, and I can’t see a problem with it at all.  I tried running the following query in SQL:
    SELECT * FROM [VirtualManagerDB].[dbo].[tbl_VMM_Lock] where TaskID='Task_GUID'
    but all this gives me is an error that says - conversion failed when converting from a character string to uniqueidentifier msg 8169, level 16, State 2, Line 1
    I'm no SQL expert as you can probably tell, but I'd prefer not to deploy another service template in case this issue occurs again.
    Can anyone help?

    No one else had this?

  • Unable to remove a host from VMM - Error (2606) Unable to perform the job because one or more of the selected objects are locked by another job.

    I am unable to remove a host from my Virtual Machine Manager 2012 R2. I receive the following error:
    Error (2606)
    Unable to perform the job because one or more of the selected objects are locked by another job.
    Recommended Action
    To find out which job is locking the object, in the Jobs view, group by Status, and find the running or canceling job for the object. When the job is complete, try again.
    I have already tried running the following command in SQL Server Management Studio
    SELECT * FROM [VirtualManagerDB].[dbo].[tbl_VMM_Lock] where TaskID='Task_GUID'
    I received this error back:
    Msg 8169, Level 16, State 2, Line 1
    Conversion failed when converting from a character string to uniqueidentifier.
    I have also tried rebooting both the host and the Virtual Machine Manager Server.  After rebooting them both, I still receive the same error when trying to remove the host.
    Here are my server details
    VMM Server OS = Windows 2012 Standard
    VMM Version = 2012 R2 3.2.7510.0
    Host OS = Windows 2012 R2 Datacenter
    Host Agent Version = 3.2.75.10.0
    SQL Server OS = Windows 2012 Datacenter
    SQL Version = 2012 SP 1 (11.0.3000.0)

    Hi there,
    How many hosts are you managing with your VMM server?
    The locking job might be the background host refresher job. Did you see any jobs in the jobs view, when the host removal job failed?
    If there is no active jobs in the jobs view when this host removal job fails, can you please turn on the VMM tracing, retry the host removal, and paste back the traces for the failed job (search for exception and paste the whole stack)?
    Thanks!
    Cheng

  • The requested object is locked by another transaction

    Hi All,
    I got a problem while loading data from an ODS to another ODS, it shows 450 records but request is red, it says
    'The requested object is locked by another transaction'
    Message no. MC602
    Diagnosis
    A lock requested by calling an ENQUEUE function module cannot be provided because the object in question has already been locked by its own transaction.
    Technical Information: The C_ENQUEUE routine returns the following values:
    COLLISION_OBJECT = ERSMONFACT
    COLLISION_UNAME = SINGH
    System response
    The ENQUEUE function module triggers an appropriate exception. If this exception was not intercepted by the application program, it leads automatically to the active SAP transaction being cancelled.
    Procedure
    Once the ENQUEUE function module is called, the application program should intercept this exception and react to it appropriately.
    I tried SM12 but there is no lock entry, can u suggest some thing?
    Regards,

    Hello,
    here your dso seems to be lock as some read and write opertaion is happening at the time u r running the dtp.
    Here two things to look :
    1.Check the error that ur getting while running a dtp the process monitor etc try to find the request id which has locked the dso . Copy that request id go to t-code RSRQ see whats this request who is user,target etc..contact user for cancelling the job if it has been stuck for long long time. Copy the JOB ID from  RSRQ for that rquest go to SM37 give the date as there in RSRQ and kill the job
    2.GO to SM12 try to search the object there and remove the lock.
    Thanks,
    Deepak

  • CS6 - Is it possible to rotate multiple objects independent of one another?

    CS6 - Is it possible to rotate multiple objects independent of one another? In other words selecting say 9 object in a grid then rotating the all 30 degrees on their own axis.

    I forgot Transform > Again won't rotate each layer about its own centre.
    It can be done, though. Record an Action of a layer being rotated and followed by Opt+] or Alt+] to target next layer. It should look like the screenshot below. Use it by first running it on the lowest target layer in the stack then running however many more times is required.

  • How to move the objects from Infoarea to another?

    Hi,
    How to move the objects from Infoarea to another?
    Thanx in advance,
    Ravi.

    Hi ..
    If the drag & drop functionality is enabled you can drag the catalog and drop it in another InfoArea just as you do with files on your PC.
    The other procedure is Use the right mouse button to create an InfoObject catalog in the InfoArea. If you want to make a copy of an existing InfoObject catalog, specify a reference InfoObject catalog.
    and check this  thread
    Re: Info Object Mapping to Info Area

  • Migrate JOB objects from datastore to another

    Hi all,
    Please, how can I migrate JOB objects from datastore to another ???
    Edited by: omar.elid on Dec 6, 2011 12:29 PM

    If you are talking about changing the connection / source target database in multiple environments, you can have multiple data store configurations.
    You can right click a data store, Edit , Advanaced , Edit. At the top, you have Duplicate configuration / Create New configuration.
    Create multiple configurations as per multiple environments and set the Default to "Yes" as per your environment.
    For migrating jobs from one repository to another.
    In Designer, go to Tools>Export
    In to the "Objects to Export" window, drag and drop the objects that you want to export from the "Local Object Library".
    Right click on the export window and choose Export. Give the database credentials of the Target Repository (repository into which you want to export the objects). Click Next, change the Target status of the dependent objects to "Exclude" if you do not want to migrate them.
    Regards,
    Suneer

  • OInvoice Business Object XML Schema question

    I am trying to produce an xml file based on the oInvoices business object to use in an EDI translation.  I am running Sap Business One 2005 A SP:01 PL:03.  I used one of the sample programs in the SDK Samples folder to produce an XML schema of the oInvoices object.  The sample program is in the COM DI folder, program #06. ObjectSchemas.  When I run this program is produces an xml file that is really a schema for oInvoices, and it uses the GetBusinessObjectXmlSchema function for the oInvoices BoObjectType.  If I use the SaveXML function on the SAPbobsCOM.BoObjectTypes.oInvoices, I get a different xml file that does not use the same table or fields names.  (See sample below - schema uses the table name, OINV, SaveXml uses 'Documents' in place of the OINV name, schema has a QueryParams tag set, SaveXml does not, SaveXml has a Version defined within the AdminInfo, the Schema does not have this). Why doesn't the oInvoices xml schema match the xml file produced using the SaveXML function.  Which example below is the correct xml representation of an Invoice?  I have copied parts of each file below.
    oInvoices file produced using GetBusinessObjectXmlSchema for oInvoices:
    - <element name="BOM">
    - <complexType>
    - <all>
    - <element maxOccurs="1" minOccurs="0" name="BO">
    - <complexType>
    - <sequence>
    - <element maxOccurs="1" minOccurs="0" name="AdmInfo">
    - <complexType>
    - <all>
      <element maxOccurs="1" minOccurs="0" name="Object" type="long" />
      </all>
      </complexType>
      </element>
    - <element maxOccurs="1" minOccurs="0" name="QueryParams">
    - <complexType>
    - <all>
      <element maxOccurs="1" minOccurs="0" name="DocEntry" type="string" />
      </all>
      </complexType>
      </element>
    - <element maxOccurs="1" minOccurs="0" name="OINV">
    - <complexType>
    - <sequence>
    - <element maxOccurs="unbounded" minOccurs="0" name="row">
    - <complexType>
    - <all>
      <element maxOccurs="1" minOccurs="0" name="DocNum" type="long" />
      <element maxOccurs="1" minOccurs="0" name="DocType" type="string" />
      <element maxOccurs="1" minOccurs="0" name="Handwrtten" type="string" />
      <element maxOccurs="1" minOccurs="0" name="DocDate" type="string" />
      <element maxOccurs="1" minOccurs="0" name="DocDueDate" type="string" />
      <element maxOccurs="1" minOccurs="0" name="CardCode" type="string" />
      <element maxOccurs="1" minOccurs="0" ......
    OInvoices xml file produced using SaveXml
    - <BOM>
    - <BO>
    - <AdmInfo>
      <Object>13</Object>
      <Version>2</Version>
      </AdmInfo>
    - <Documents>
    - <row>
      <DocNum>5</DocNum>
      <DocType>dDocument_Items</DocType>
      <HandWritten>tNO</HandWritten>
      <Printed>tNO</Printed>
      <DocDate>20050116</DocDate>
      <DocDueDate>20050215</DocDueDate>
      <CardCode>C20000</CardCode>.....
    I did not copy all of the xml for each file as it would be too lengthy. 
    Thanks,
    Nancy Walk
    [email protected]

    Hi Nancy,
    I can´t find it right now, but I do remember reading that there were different XML definition versions for SBO objects. In the version 1, table names where used. In the version 2, object names where used. Looks like the schema defines version 2, but SBO is using version 2.
    I will check if I can found where I did read that. Try speaking with someone in SAP and about XML versions, perhaps they could help you with this info.
    Hope helps,
    Ibai Peñ

  • BOL Search/Query Object for Schema Search!.

    Hi All,
    I have to do search for categorization schemas, as the first step I opened the standard schema search component ( GS_MCAT ) and found that the Dynamic Search Object responsible for the same is:   'MC_DynaQSchemaByAttributes'.
    Now, I have 2 questions 4u
    1.  If I run the BOL browser by giving the component set as 'all' I couldnt see this query!. how can I find
    this in BOL/MODEL browser
    2. Is there any standard BOL Search/Query Object on which I can perform a search on Schema based on the product assigned at the categorization level!.
    Any help/hint highly appreciated!,
    Thanks in Advance, Sudeep..

    Also solved.
    As SAP tends to confuse people with the "ALL" component set, ...
    I debugged the "CL_CRM_CATEGO_GENIL" class. Here's the component set you need to load:
        lv_core->start_up( 'ONEORDER' ).

  • TRANSFER OBJECTS IN SCHEMA

    I have installed 10g database in our new server and now want to transfer the old data and objects from the existing 9i database from the old server.The tables are already imported from the old 9i database into the new one using the export tool.But the other objects in my schema like procedures and functions are yet to transfered since i am not able to do the export on the user level from the old 9i database (even after running catalog.sql and catexp.sql in my 9i database).Please advise as to how this can be accomplished.
    Thanks
    Jay

    I ran the catexp.sql and catalog.sql scripts logging as sys/as sysdba.I suppose all the views were successfully installed.But i dont know how to verify this.however the export i try to do at the user level fails (when looged as system or sys )due to the following errors:
    1.EXP-00008 ORACLE 942 ERROR ENCOUNTERED
    2.ORA-00942 TABLE OR VIEW DOES NOT EXIST
    3.ORA-00024 EXPORT VIEWS NOT INSTALLED,PLS NOTIFY UR DBA
    thanks
    jay

  • List the count of each schema objects.. schema wise sql query needed

    Hi Friends,
    i need a sql query which has to list the schema name along with the count of schema objects like tables,views,triggers.... order by schemaname
    Regards,
    DB

    Hi
    You can try this option if you use 11g .
    Get all the object types in your db.
    SELECT DISTINCT object_type
                 FROM dba_objects;Then include all the object types in to the below query.
    select *
      from (select owner, object_type, 1 CNT
              from dba_objects ) e
            pivot( sum(CNT) for object_type in
              ( 'INDEX','TYPE','VIEW','LIBRARY','TRIGGER','DIRECTORY','PACKAGE','QUEUE','PACKAGE BODY','TABLE PARTITION','PROCEDURE',
                'WINDOW','CLUSTER','LOB','FUNCTION','CONSUMER GROUP','CONTEXT','RULE','XML SCHEMA','SEQUENCE','INDEX PARTITION','OPERATOR',
                'EVALUATION CONTEXT','SCHEDULE','JOB','SCHEDULER GROUP','LOB PARTITION','JOB CLASS','INDEXTYPE','TABLE','TYPE BODY','RESOURCE PLAN',
                'TABLE SUBPARTITION','UNDEFINED','DESTINATION','SYNONYM','EDITION','PROGRAM','RULE SET' ) )       
    order by owner;Cheers
    Kanchana

Maybe you are looking for

  • Packet Loss When Extending Network?

    Hi there, everyone. I just purchased the Airport Extreme AC after upgrading to 802.11AC devices in the home. On its own, the Extreme AC performs flawlessly - consistent connections, max speed my ISP provides, no-lag, no studdering, no packet loss. I

  • IPad export to PDF font problems

    Hi guys, would really appreciate any help you can provide on the following: So I can happily create wonderful documents on pages or keynote. The issue is when I export then to PDF which is by far, what I think is the best option as it seems to retain

  • Where did the orginalsprache go?

    I can't find movies in original language anymore after updating to iOS 5 in it's new interface. Here in Germany it's called "orginalsprache". Anyone else having the same problem?

  • Suitable Laptop for NI ExpressCard 8360

    Hello, I'm looking for an Industrial Laptop, which supports NI ExpressCard 8360 with NI PXI Chassis(8 & 18 slots). we have tried with couple of laptops(HP ProBook & Dell XPS), which has the follwing issues: 1. Booting (This could be fixed by changing

  • How do i edit my itunes account

    I am experiencing difficulty with editing my iTunes account.   Each time I input my security code from my bankcard a error message telling me to enter m security code.  Due to this fact, I'm unable to update my apps on my phone.