Changing the Owner of all Objects in Instance ?

How to Change the Owner of all Objects in Instance, like for example the Procedure: sp_changedbowner in an MS-SQL-Database, who changed the Owner of the actual Database !
I'am looking for another possibility to do it by export the Datbase and import as new Owner !

Hi Laurent Schneider
OCM DBA, I successfully run:
connect SYS/&2 as SYSDBA;
Update sys.obj$ set owner#=(Select USER# from sys.user$ where NAME = '&4')
where owner#=(Select USER# from sys.user$ where NAME = '&3');
commit;
Afterwards I dropped the &3 User CASCADE and then created the &3 User with less rights ! Before Update-Command the &4 User shouldn't be the Owner of any Object ! At Last I'm not sure that is the right way ?!

Similar Messages

  • Error while changing the owner of an object in Discoverer

    Hi All,
    I have a problem in Discoverer folders.
    I have a folder whcih is based on a view in schema in A, now i have created the same view in schema B and want to change the owner of the view in Discoverer to B.
    But when i do that it gives me an error as -
    'An error occured with the darabse transaction because the underlying object has been changed'
    I am not able to understand this.
    If anyone can help me this it would be really helpful.
    Regards,
    Shruti

    Well, this is something not talked about in the Administration training class. My hunch is that you are trying to do something that Oracle never intended you to do. I think when you edit the folder and want to change the Owner property, the idea maybe is that you are trying to change the owner on the original table. Here you have said that you recreated the view in schema B (so technically a different table object). But in Discoverer you are still dealing with the view in schema A as the basis for the folder, not the view in schema B. Though I would think if you can see the new owner's name in the database/user list and thus can pick it, it should let you change the owner property, even if that may not be quite what you intended. Discoverer does store things under the cover (such as unique ids), so maybe something is going on that is not visible. My suggestion would be to open up a service request with Oracle support on this. The idea of dropping the folder and then readding it may be okay, but that would be something you would want to test in some kind of test environment and see what happens (not sure what impact that may have on workbooks using the original folder). Of course it may be possible that you have uncovered an Oracle bug.
    John Dickey

  • How change the infosource of all objects

    Hi,
    We did a copy homogeneous BWPRD to BWDES with backup off line our database oracle 9.2, the system source its SAP_PRO of all objects,we needed change the system source a SAP_DES with of all objects and rules of transfer.
    Thanks.

    Hi,
    Welcome to SDN!
    There is a bunch of OSS Notes:
    325470     Activities after client copy in BW source systems
    325525     Copying and renaming systems in a BW environment
    121163     Converting logical system names
    524554     Storing destinations in the BW environment
    184322     Procedure after DB copy of BW source systems
    131018     Client Copy in the BW
    116432     Copying productive client 000 in the BW System
    131018     Client Copy in the BW
    And also a Howto: “How To…System Copy in SAP Business Intelligence System Landscapes”.
    Best regards,
    Eugene

  • How do I change the "Owner" of my Business Objects Reports

    Here is my problem.
    When we upgrade Business Objects we 'convert' a large number of reports to the BO XI rel2 version of the reports.  During this convertion process all the reports were switched to be 'owned' by usercode 'Administrator'.  Our users are now wanting to move/change/delete these reports and they can't because they are not the owner.
    So we need to switch this owner.  Problem is the only way we can find to do this is to copy the report to a new name and delete the old one.  This is very time consuming.  Also many of our users are not priviledged to delete reports that they don't own.  Therefore our administrators are the only ones that can do the delete step.
    It seems like I should be able to logon to the system as 'Administrator' and change the owner of the reports (similiar to doing a chown command in Unix) to whoever I want.  There however doesn't appear to be a way to do that in Infoview or the Central Management Consule.
    Is there a simple easy way to do this??  I have thousands of report to change.
    Thanks Bart

    It's possible via the Enterprise SDK, if you have a Java or .NET programmer.
    Sincerely,
    Ted Ueda

  • How can I change the settings of all instances of a particular effect?

    I've applied the same color correction effect to a lot of clips in the timeline. Now I want to fine tune the color correction (same setting for all clips still). How can I change the setting of all instances of the color correction effect without going into each clip manually?
    Looking forward to your thoughts on this!! Go on and save my cold winter editing day ...

    I was first hoping for File> New > Adjustment layer, but it's always greyed out. I thought that would create an adjustment layer, maybe I'm misunderstanding something? Anyway, if I create a black video stump and then right click it and choose "Adjustment layer", it will turn into one, and everything works as it should with that. If the black video become adjustment layer is placed on a video track atop my video, and I add for example color correction to it, it will be applied to the videos below.

  • How can I change the OWNER of a table?

    How can I change the OWNER of a table entr2009mm ?
    Resp. the OWNER of all TABLES whose tablename match the pattern *2009* ?
    Peter

    Hello,
    There're different posiibilities, Export/Import can do it.
    But, if it's not a too large Table, you can use CTAS (from a user with DBA privilege for instance).
    Create Table <schema_target>.<table_name> as select * from <shema_source>.<table_name>;Then, you have to recreate the dependent objects (Index, ...) and drop the Source Table.
    If you have a set of Tables, it's better to use Export/Import.
    Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on Feb 9, 2010 8:20 PM

  • Need to change the name of a GP process instance at runtime.

    Is there a way to change the name of a GP process instance at runtime?  I would like to change the name of the process instance to include the employee's name who initiated the process.  This way when the process owner or overseer displays thier list of processes from the GP Runtime Work Center, they can tell who initiated each process.
    Does anyone know how to do this?

    Hi Karen,
    If the users are invoking the Process from Web Dynpro or some other application using GP API, then you can try the followigI.
    You can try using the startProcess() method of the IGPRuntimeManager object. It has multiple paramaters of which two(second and third) are for the userProvidedName and userProvidedDescription. You can set any name and description while invoking the GP process and the name and description should appear in the Runtime for the owners/overseers/administrators in hte list of process instances. You can add the name of the Employee while setting that name and description.
    help.sap.com link for the info on this:
    http://help.sap.com/saphelp_nw70/helpdata/en/43/fcdf77fc6510b3e10000000a11466f/frameset.htm
    Regards,
    Ajay

  • How to change the owner of a job?

    Hello.
    I am trying to change the user ID that runs all jobs from a personal user id to a generic user id. Is there a way to change the owner that runs a job?
    Thanks.

    Use the LibrarySession.getDirectoryUserCollection() method to return a Collection of DirectoryUser objects in the system.

  • How can I change the color of a object inside a symbol?

    Hello!
    I'm working on this study and I need to change the color of an object inside a symbol when I click another object.
    The object is called "bola", wich is inside the symbol "ponto" and the clicking object are the colored pencils (each pencil should change the color of the symbol's object, giving the impression you'd selecting a different pencil to draw).
    I think it's simple to understand what I mean when you see the files.
    I already tried this line on click event of the pencils, but it didn't work:
    sym.getSymbol("ponto").$("bola").css("color","#123456");
    Anyone knows how to make that work?
    I would like to improve the experience of drawing as well. I made it with the "mousedown" event. Is that a better way to get a similar effect?
    My files
    Thanks a lot,
    Clayton F.

    Ok here is another sample:
    http://www.meschrene.puremadnessproductions.net/Samples/HELP/LapisB/Lapis.html
    http://www.meschrene.puremadnessproductions.net/Samples/HELP/LapisB/Lapis.zip
    You need to create a var that changes the css background color..
    Hopefully you can understand what I did...
    The text I left showing so that you could see it change...
    I updated the files and all colors should work now.
    Message was edited by: ♥Schrene

  • What is the procedure to change the owner of the BW jobs.

    Hi Gurus,
    Version- BW 3.5
    I need to change few jobs Owners which are collected from the SM37 from a individual User to generic account(ALEREMOTE).
    Will any body help me out with the procedure to change the owner of the BW jobs.
    Thnaks in advanace..
    With Regards,
    MBS

    in SM37, take all release jobs by giving JOb name as "" and user as "".
    When you get the release job details then follow the steps.
    1. Select theJob --> Menu Bar --> JOB --> Change --> here you will get the details of the job and Clieck on STEP just above the job name.
    In the next screen select the job and click on Change ICON.  here you can see the user name in change mode and you can update the user to ALEREMOTE. And then save the job.
    Once done then the job will be on the new user.
    Hope this helps..

  • 9I: How can get the names of all objects in a package header? [RESOLVED]

    Is there a way to get the names fo all objects (function, procedures) from package header
    select * from user_objects only gives the the header name, I need the object in the header.
    John
    Message was edited by:
    johnminkjan

    Here is an example with dbms_output package!
    SQL> select owner, object_name,procedure_name from all_procedures
      2  where  object_name='DBMS_OUTPUT';
    OWNER                          OBJECT_NAME                    PROCEDURE_NAME
    SYS                            DBMS_OUTPUT                    GET_LINES
    SYS                            DBMS_OUTPUT                    GET_LINE
    SYS                            DBMS_OUTPUT                    NEW_LINE
    SYS                            DBMS_OUTPUT                    PUT_LINE
    SYS                            DBMS_OUTPUT                    PUT_LINE
    SYS                            DBMS_OUTPUT                    PUT
    SYS                            DBMS_OUTPUT                    PUT
    SYS                            DBMS_OUTPUT                    DISABLE
    SYS                            DBMS_OUTPUT                    ENABLE
    9 rows selected.
    "or"
    SQL> desc dbms_output

  • Proper way to make bulk changes the Owner ID, Path and file share credentials for my existing subscriptions, ExtensionSettings

    We are going through with an upgrade/migration to SSRS 2012 and moving everything to a different domain. We have about 200 active subscriptions running, the reports are being delivered to a file share.  What is the correct way, in bulk, to change
    the OwnerId, the Path and the FileShare Username password credentials for these subscriptions?  I see these values are being stored in Subscriptions > ExtensionSettings.  I see that the file share path and Owner wouldn't be a problem to change,
    but since I see the file share credentials are encrypted I would not be able change them directly in ExtensionSettings.  Anyone know the proper way to change the Owner ID, Path and file share credentials for my existing subscriptions without having to
    change each one of them manually in the report manager?
    Note: Reporting Services Native upgrade from SSRS 2005 to SSRS 2012.
    Thanks in advance.

    Hi Cygnus46,
    Based on my understanding, you want to change the Owner ID, Path and file share credentials for all existing subscriptions.
    In Reporting Services, the subscription information are stored in the Report Server database. In your scenario, you can go to report server database and run the query to list all the subscriptions, then modify the owner and fileshare paths in the subscriptions
    table. For more information, please refer to this article: Tip: Change the Owner of SQL Reporting Services Subscription. If you want to change
    the file share credentials for subscriptions, you can run the query provided by
    wiperzeus from this similar thread:
    Windows File Share Delivery/ SSRS 2008 R2.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Why can't I change the color of an object?

    I am having trouble with the color brick. I can't change the color of an object, at least not like described here: http://http://thedigitalstory.com/2012/12/easily-color-changin.html.
    Some background:
    1. I am working with RAW files.
    2. I have RTFM.
    3. I have consulted three books I own on Aperture.
    4. I have searched the web for help, which is how I came across the link above.
    5. I am using the color block correctly, but I can only achieve a subtle shift in the change of very pale colors. This is despite adding up to three additional color blocks to try to increase the degree of change, but there is no way I am coming close to being able to change a blue car to purple, let alone to red (this references the link above.)
    Others must have experienced this, I would think. Any thoughts on what I might do differently to achieve more dramatic results from the color block? I don't even have a specific change in a specific image that I'm asking about—I just want to master the software so that I can do so when I need to. Come to think of it, there is a specific change I want to make in a image. Now it's really an important question!
    Thanks,
    Ben

    Thanks, Léonie.  A quick way to move any slider to its extreme is to click on the value in the Value Slider and drag all the way left or right.  This is much faster than side-stepping all the way to the far limits.
    I think the example the OP (Ben) is trying to emulate is misleading (given the sophistication of the Digital Story poster, deliberately, and wrongly, so).  The car in the original photo is just about the only blue object (and thus pixels) in the image used to demonstrate that one can change the hue of objects using Aperture.  Aperture excels at global adjustments and adjustments made to _imprecisely_ bounded areas.  (This is, contrary to one's expectation, one of Aperture's great strengths: imprecisely-bounded tone and hue shifts are perceived as "natural"; precisely bounded ones look "artificial".  Most photographers (as opposed to graphic artists) wish to retain the illusion of a natural world inside their pictures.)  The only reason the hue-changing trick works with the car in the photo is that the Color adjustment effects only the car because it is the only blue object in the photo (there is a bluish TV in the background, and a bluish logo on one of the displays in the background).
    The point is that while object-specific hue-shifts can be made with Aperture, it is not the program of choice for this kind of editing.  A graphics package, which allows for much more control over selecting pixels, is recommended.

  • Question on changing the owner of spatial datatype

    create table test4 (
    COL1 NUMBER(38) NOT NULL,
    COL14 SCOTT.SDO_GEOMETRY
    ) TABLESPACE USERS;
    SQL> select table_owner, table_name FROM all_synonyms where synonym_name='SDO_GEOMETRY'
    OMETRY';
    TABLE_OWNER TABLE_NAME
    SCOTT SDO_GEOMETRY
    I want to change the owner of SDO_GEOMETRY to MDSYS. I know re-creating the table like "COL14 MDSYS.SDO_GEOMETRY" will get what i'm
    looking for but is there a way to ALTER the table to achieve the same without re-creating it?
    Thanks,
    Rajesh

    user11919950,
    . . . .If you're just messing around on a test machine, then give this a spin:
    -- "Identify obj# in table named obj$ for SDO_GEOMETRY owned by MDSYS
    select
       obj#,
       t.OBJECT_NAME,
       u.USERNAME,
       o.OWNER#
    from       sys.obj$ o,
       dba_users u,
       dba_objects t
    where      u.USER_ID = o.OWNER# (+)
    AND o.name = 'SDO_GEOMETRY'
    AND o.owner# = 46
    AND o.obj# = t.object_id;
          OBJ#   OBJECT_NAME  USERNAME   OWNER#
         45779  SDO_GEOMETRY  MDSYS      46
         48788  SDO_GEOMETRY  MDSYS      46
    -- "identify owner#/user_id for SCOTT"
    SELECT user_id FROM dba_users WHERE username = 'SCOTT'
       USER_ID
            54
    -- "Change the username of one,both of those records from MDSYS to SCOTT"
    -- "NOTE: untested SQL, but if it fails, just edit the table in Oracle Enterprise Manager"
    UPDATE obj$ SET owner# = &ScottUserID WHERE obj# = &ObjNum;
    COMMIT;
    {code}
    I've temporarily changed obj# values in this obj$ table to break associations between oracle objects that were throwing errors. I used Oracle Enterprise Manager's "view contents" form to view the obj$ table and to make those changes. See {message:id=4596120}
    Cheers,
    Noel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • When upgrading I changed the owner of everything.

    When upgrading my Mac Pro (quad core Intel Xeon) I changed the owner name, and subsequently lost 12 years of mail archives. I have accepted that loss as a result of my stupidity. Now here is my question: Is there a way to universally add my new adminitrator (dougjacobson) as owner of all folders, files, apps, etc.? I am the only user on the Mac.
    Thanks for any insight into using the command line.
    Doug

    I don't have time to write something comprehensive and bulletproof, but here goes...
    First, make a copy of one of the folders you want to recover, and practice on that.  Once you're confident that you know what you're doing, do it on your real data.
    The commands that you're looking for are "chown" and "chgrp", which change the owner and UNIX group of the targetted files.  You can read about these by typing "man chown" and "man chgrp", or just Google them.
    The main option you will provide to these two commands is the -R flag, which means that it will be applied recursively to the contents of a directory, not just to a single file/directory.
    eg: "chmod -R jakesan your_mail_folder/"
    You may need to prepend the "sudo" command ("man sudo" for more details):
    eg: "sudo chmod -R jakesan your_mail_folder/"
    Good luck!  (sorry, I may not respond to follow-up questions)

Maybe you are looking for

  • SharePoint Bug? Conflict Error when saving a Page with a "Required" DateTime field in the page layout

    Hello, I've just recently encountered a weird error / bug in SharePoint. Here is the scenario: - I have a custom column "Test Date" that is of DateTime field type. The field is configured as REQUIRED. - It is added to a custom Content Type "Test CT"

  • PO release based on Classification

    Dear Experts, Hi experts, Our team has configured PO release procedure, in that they used Order type(BSART) and Material Group (MATKL) as the characteristics for the Class that is used for that group. FYI in the system there is only one Release group

  • "Not Authorized" problem • iTunes 9.0.2 • Nano 5th Gen ?

    I've had a look at a lot of posts on this subject but none that I have seen have helped me resolve the problem (I went back to the beginning of Nov in the posts menu), hence this post - *forgive me if the answer is buried here somewhere*. *Its a quer

  • Clicking an image in Rendo gallery should reveal larger version - but doesn't

    When I click on the image in the Renderosity gallery, a larger version of that image should open in a new window - but instead I'm getting this: [http://i251.photobucket.com/albums/gg314/franontheedge/Computer%20PC%20Problems/PersonasFault.jpg Person

  • Itunes podcast conversion to iphone

    I downloaded a bunch of Bernina podcasts and then synced them to my iphone. Itunes tells me that some of them aren't in a format for the iphone and didn't sync. So I selected one of them and clicked on the itunes option to make it available for the i