Request: compare and propagate user objects

After making changes to table definitions, views, program units, and so on, it may be useful to propagate these changes to another database user. This maybe another development environment, or a testing environment in same or another database. Like "Compare user objects" option in PLSQL/Developer.
/* BEGIN: cut and paste from PLSQL Developer Help */
Compare User Objects
After making changes to table definitions, views, program units, and so on, it may be useful to propagate these changes to another database user. This maybe another development environment, or a testing environment. To compare the objects of your development user with another user, you can use the Compare User Objects function in the Tools menu. This will bring up the following dialog:
On the Selection tab page you can select the objects you wish to compare. After making this selection, you can press the Target Session button, to select the user and database that you want to compare. This will enable the Compare button, which you can press to start the compare operation. You can select the Include storage... option to include the storage information such as tablespace names and initial sizes for new objects. These may differ across databases, so this may not always be appropriate.
When the compare operation is finished, the dialog will switch to the Differences tab page, which will show a list of all objects that are different:
This list is sorted in order of dependency. Below the list of different objects of the target user, you see the SQL that needs to be executed to make these objects equal to the corresponding objects of the current user. If no object is selected, the SQL of all objects is displayed. If one or more objects are selected, only the SQL for the selected object(s) is displayed. In the example above, a missing EMP_MGR_EMPNO check constraint was added to the EMP table.
The Show Differences button will show a visual line-by-line difference of the old and new source file of an object. This can be useful to view the changes made in Program Units, or can help you determine why a specific DDL statement was generated for other object types. The Configure External Difference Tool allows you to configure the difference tool should be used. By default the ExamDiff utility will be used, for which a Pro version is available (See the About item of ExamDiff’s Info menu). See also Tools - Differences.
You can now press the Apply SQL button to execute this SQL in the target session. You can alternatively save the SQL in a file by pressing the Save SQL button, or you can copy it to the clipboard by pressing the Copy SQL button.
When objects are compared, the following properties are ignored:
·     Storage – Properties such as the next extent and pct free of tables and indexes are not considered relevant for comparison.
·     Constraints with system generated names – These constraints will have different names for the 2 users, so they cannot be compared. If a table is new in the target session, these constraints will be generated though.
·     Table creation properties – Properties that would require the recreation of the table are ignored.
·     Table data – To export table data, use the Export Table function (see Export Tables).
·     Sequence values – The current value of a sequence is considered data.
/* END: cut and paste from PLSQL Developer Help */

This is on the list but not for 1.0.
-kris

Similar Messages

  • Searching and matching user objects between 2 forests

    I have two forests A (old) and B (new)
    I need to compare forest A user objects(~2000) with forest B (~14000) user objects and if they match by any one of the following attributes email, DisplayName or cn ... then, i need to csvde/ldifde the matching objects in a spreadsheet line by line for reporting
    purposes.
    I know how to manually do it using spreadsheet but i would like to automate/script it for efficiency and accuracy. Any scripting help?
    the report should look something like this for all matching objects e.g. email matched in this case, but it could it cn or email also.
    domainname dn
    cn displayname
    email Matched
    forestA fin/users
    user1 user1 last
    n [email protected]
    Y
    forestB ht/users
    user2 user2 last
    n [email protected]
    Y
    thanks
    Navgup

    Hi Navgup,
    Not exactly, however, please refer to the script below, please try to export all the users' information to separate .csv files, and compare this two files with Compare-Object:
    get-aduser -filter * -properties * |select displayname, distinguishedname|export-csv d:\oldforest.csv
    get-aduser -filter * -properties * |select displayname, distinguishedname|export-csv d:\newforest.csv
    $file1 = import-csv -Path "d:\oldforest.csv"
    $file2 = import-csv -Path "d:\newforest.csv"
    $properties=@("displayname","distinguishedname")
    foreach($property in $properties){
    Compare-Object $file1 $file2 -property $property -IncludeEqual -PassThru | Where-Object{$_.SideIndicator -eq '=='} | select displayname, distinguishedname
    I hope this helps.

  • How to get SAMl assertion from SOAP Header and propagate user context to BW

    Hello to all,
    we implemented this scenario:
    3rdparty System to SAP PI 7.11 to SAP BW.
    sync. communication via SOAP Sender adapter and Receiver XI PROXY.
    We get a SAMl assertion in the SOAP Header from the 3rd-Party System.
    The SAP BW System could not read the Header information.
    How can we get the information of the SOAP Header in the PI System and send the usercontext via XI Proxy to the SAP BW system?
    Can we read the Header information in the SOAP adapter and mapping it to another field in the payload or Headerinformation which could read in the backend system in the proxy class?
    Thanks for your help and regards
    Martin

    Dear Fox,
    Thanks for your reply.
    Is it mandatory to have the Header elements and the message defined in the Mediator wsdl?
    At present I have not defined it in the WSDL.
    Thanks,
    Subin

  • Difference in the count of deleted objects in recyclebin and user objects

    Hi
    I m using Oracle 10G in windoes 2003 server. We queried on the recycle bin and the user objects for the deleted objects and found that the count is different. Here are the queries which i used to check.
    1. select object_name from user_objects where object_name like 'BIN$%'; 
    2. select * from recyclebin;
    When i ran 1. in our user mshist and msmodel, the counts were 343 rows in mshist and 514 rows in msmodel.
    when i ran 2. in our user mshist and msmodel, the counts were 353 rows in mshist and 530 rows in msmodel.
    Kindly advise me why exactly is thr the difference as they both are checking the deleted objects in a schema.
    Thanks
    Ram

    Join to views and use MINUS to get the list of nonviewed objects and their types
    select * from recyclebin
    minus
    select object_name from user_objects where object_name like 'BIN$%'; - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Cluster, replicating the Custom User Objects

    Hello All,
    Does any one implemented a cluster with custom User Manager and Custom User Objects?
    We have the cluster working i.e session objects are getting replicated but the user objects are not getting replicated across the OC4J instances in an island.
    If some one has done this please let us know
    Thank you
    Mallik

    Hello,
    From the docs:
    LAST_DDL_TIME: Timestamp for the last modification of the object resulting from a DDL statement (including grants and revokes)
    TIMESTAMP: Timestamp for the specification of the object (character data)
    ...so they are quite clearly showing different things.
    Also, see below:
      1  select to_char(last_ddl_time, 'YYYY-MM-DD:HH24:MI:SS') ddl_time
      2  , timestamp
      3* from user_objects where to_char(last_ddl_time, 'YYYY-MM-DD:HH24:MI:SS') <> timestamp
    [email protected]> /
    DDL_TIME            TIMESTAMP
    2006-02-01:22:43:00 2004-08-10:22:35:34
    2005-05-27:12:02:25 2005-01-07:23:44:30
    2006-02-15:23:46:06 2006-02-15:23:46:03
    2006-02-15:23:46:06 2006-02-15:23:46:03
    2005-12-06:22:36:24 2005-12-06:22:07:56...so they definitely hold different information.
    cheers,
    Anthony

  • RE: (forte-users) Object Request Brokers.....

    Hi Rajeev,
    I just happen to have the following two technotes on hand that helped me
    answers the very same questions..
    <<forte.zip>>
    Hope it helps... if you need more help... fell free to give me a shout!
    Ciao
    Kim
    -----Original Message-----
    From: Rajeev Talwar [SMTP:rtalshotmail.com]
    Sent: Monday, February 21, 2000 6:34 PM
    To: kamranaminyahoo.com
    Subject: (forte-users) Object Request Brokers.....
    Hi All,
    We are writing a cold fusion application which needs to use some
    services from a Forte application. We also have a Cold Fusion Visi
    Broker(ORB)to communicate with Forte. I was wondering what all we need
    in order to get a handle to all the service objects used by Forte
    application in our Cold Fusion application.
    Also do we need to change our deployment scheme for the Forte
    application. I
    believe we have to make a special deployment
    for Forte application to be available to ORB's. By default,
    Forte uses Unix internal communication mechanism like sockets
    etc. for service objects to be available across different
    partitions.
    Also do we need to run both applications and ORB on the same box
    or can we put them in some kind of network.
    I hope I made myself quite clear what we are looking for. I will be
    more than happy to put some more details in case someone needs
    further clarification.
    Are there any technotes out there whcih we can refer to.
    I will appreciate any thoughts.
    -Rajeev Talwar
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a
    new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com

    You can also use the HTTP-DC project.... You don't
    need Web Enterprise for this. From what I can tell,
    this is available in L.x on....
    There is api documentation in M.2 (with scant
    examples.)
    There's a special process to put the project in your
    repository (it isn't installed in the repository in
    the standard install,) the documentation in M.2
    (probably in M.0 too, AFAIK) that tells you how to do
    this (look for HTTP-DC in the online help.)
    I haven't done much with it yet, I've just installed
    it. If anybody out there has examples, that'd be
    great. I'll try to contribute more the moment I get a
    chance to explore it....
    Christopher Fury
    BellSouth Communications Systems
    --- Daniel Nguyen <dnguyenclub-internet.fr> wrote:
    Hi,
    If you have Web Enterprise, you can user
    HttpAccess.SendRequest().
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    Amin, Kamran a &eacute;crit:
    Is there any way to make a HTTP request from TOOLto another HTTP Service?
    thanks in advance.
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. Tounsubscribe, send in a new
    email the word: 'Unsubscribe' to:forte-users-requestlists.xpedior.com
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To
    unsubscribe, send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com
    Kick off your party with Yahoo! Invites.
    http://invites.yahoo.com/

  • Pop-up is displayed requesting for a WAS user id and password

    Hi SDN,
    I created a BEx iView based on Template-id. I am using single sign-on with user mapping. When i logged on to portal everything is working fine but initially a  pop-up is displayed requesting for a WAS user id and password of the BW system.
    I have mapped the Portal user with the BW user-id and password.
    Can any one suggest me how suppress initial pop-up.
    Thanks in Advance.
    Regards
    Basha

    Hi Basha,
    When you run the report from SICF you will definitely get the popup for authentication, as you are sending request directly on BW WAS.
    The reason behind you are getting popup in portal is that you have not used FQDN for BW server in WAS properties of System Object. Try to maintain same domain name for Portal and BW server.This you can easily achieve by modifying host file.
    e.g. <EP server IP>                 EPserver.abc.com
           <BW server IP>                BWserver.abc.com
    Use "BWserver.abc.com" in WAS hostname under system properties.
    Do let me know the result.
    Thanks,
    Amol.

  • Is Active Directory's ExtensionAttributes9 a field in user object and how to retrieve it in the class type userprincipal?

    Hi, I'm using VS2012.
    I want to use this ExtensionAttributes9 field to store date value for each user object.  I use UserPrincipal class, a collection of these objects are then bind to a gridview control.  Is ExtensionAttributes9 a field in AD user object? 
    How can I access it and bind to the gridview?
    If this field isn't available then what other field can use?
    Thank you.
    Thank you

    UserPrincipal is basically a wrapper around DirectoryEntry:
    http://msdn.microsoft.com/en-us/library/system.directoryservices.directoryentry.aspx and only provides a subset of the Active Directory, although the most common, attributes that are available for the user object.  The attribute that you
    seek is not one of them.
    By utilizing the method that I provided you a link to, it will return the underlying DirectoryEntry that was used to build the UserPrincipal object and should allow you to access the attribute that you seek.
    It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.

  • SQL Developer and Blocking View of Other Users' Objects

    I am using SQL Developer in a classroom environment. My student users can “see” Other Users objects. They cannot modify, but none the less can see the structure and data.
    I only want the users to be able to see their own objects. Is there a privilege that needs to be revoked? (In using SQL Plus command line, this was not a problem.)
    Thanks.
    -Karen

    Karen,
    From sysdba account (sys/system). Run following and verify for that particular user grant is revoked. May be exit from sql developer and log back in or refresh view.
    YOu can also potenially revoke all the privs from all non admin uses i.e.r even connect/resource roles and grant them back.
    revoke select any table from yourschemaname;
    revoke connect from schemaname;
    revoke create session from  schemaname;
    revoke resource from schemaname;
    Then just grant privs as need basis
    grant connect to schemanme;
    grant resource to schemaname;
    grant create session to schemaname;
    ..Regards
    Edited by: OrionNet on Jan 23, 2009 2:01 PM

  • How to read User ID from the request Form and pre populating in the AD User process form before provisioning

    I am trying to read the user Id from the submitted AD User request form( Catalogue AD User form. I need User Id,firstname and lastname inorder to prepopulate the common name as in this format - lastname,firstname (userid)  for the user to be provisioned in Active Directory.
    So after filling the AD User request form with User Id and Organization and submitting the request, I am trying to
    prepopulate the common name in the process form before the provisioning.
    The prepopulate adopter for the common name is configured to read the firstname, lastname and userid. firstname and
    lastname variables are mapped to User definition and user Id is mapped to Process Data. In this setup I am not getting the
    User Id value from process data, it is empty.
    Is this a bug with OIM 11g R2 or I need to do it differently in order to read the user Id that user has entered in the
    request form for populating the common name?
    Thanks

    Ghulam Yassen wrote:
    How to get USER_ID and IP_AddressWhy exactly do you need this data and what do you plan to do with it?
    The data is not reliable and trustworthy. IP addresses can easily be spoofed (a few seconds if you know what to do and how to do it). Also, IP addresses are not static. Users also do not use the same network device to access the database - different devices will have different IP addresses.
    The o/s user on the client is supplied by the client driver. This can also be spoofed.
    The user can also use a virtualised device - which means that recording the IP and o/s user seen from the server side, is pretty much useless and meaningless.
    So if this data is intended to be used for auditing for example - it would be pretty suspect data to use for that purpose.

  • Good afternoon. My iphone 4s used in Amerke another user. When you upgrade requests id and password. I can not get it, what to do?

    Good afternoon. My iphone 4s used in Amerke another user. When you upgrade requests id and password. I can not get it, what to do?

    As the previous owner of the phone or set up your own id and passwords.
    You should have perhaps thought about all of these things before buying the phone.

  • Read group membership for a user object and populate every group with matching user from another domain

    I have LON\JSmith in LON domain and DEL\JimSmith in DEL domain
    I would like to extract group memberships of LON\JSmith in LON domain and append matching by email (i.e. DEL\JimSmith) user object in every group in LON domain.
    for instance
    LON\JSmith and DEL\JimSmith is the same person and has same email address [email protected]
    LON\JSmith belongs to 3 groups - LON\localadmingroup;LON\univdesktop;LON\globalsurvey
    The outcome of the script should be
    LON\JSmith; DEL\JimSmith    should be in 3 groups - LON\localadmingroup;LON\univdesktop;LON\globalsurvey.
    How can i do it?
    Navgup

    Hi Navgup,
    Please refer to the script below, to query users in other domain by specifying the parameter "-Server" in the cmdlet "get-aduser", and also note I haven't tested the script below:
    import-module activedirectory
    get-adgroupmember "group"|foreach{
    $email=(get-aduser $_.samaccountname -properties *).EmailAddress#get the user email
    Get-ADUser -filter {EmailAddress -eq $email} -properties * -server DomainB.company.com|select samaccountname, memberof}#filter user name and group with the email in other domain
    To get users across domain, please also refer this blog:
    Adding/removing members from another forest or domain to groups in Active Directory:
    http://blogs.msdn.com/b/adpowershell/archive/2010/01/20/adding-removing-members-from-another-forest-or-domain-to-groups-in-active-directory.aspx?Redirected=true
    I hope this helps.

  • Package and User Objects of reports/macros/...

    Hello,
    in my program I need to find out the package of a report. So for example I have a report with an include or macro statement. I know which report is included, but not its package.
    The table TRDIR seems to have no information about the containing package and TADIR contains user objects not reports.
    For example a global class ZCL_CAR is realized through reports like ZCL_CAR===(...)===CP and so on. Is there a way to obtain the package of arbitrary reports and the object in TADIR that contains that report? And do you know in which cases a user object can contain other reports?
    - thanks in advance

    Hi clemens heppner,
    Package is there in TADIR table itself
    See the field DEVCLASS
    Or elaborate more about ur requirement...
    Also pls have a look on below tables
    d010inc, trdir, eudb, title, d020t, trkey, tfdir, tmdir, tadir,
    Hope it will solve your problem
    Thanks & Regards
    ilesh 24x7

  • I am trying to copy a document and I keep getting the error "Can't paste the objects. The requested transformation would make some objects fall completely off the drawing area."

    I am trying to make duplicate documents with minor adjustments to each and when I try to copy the artwork from one document and paste it into the new document I keep getting the error "Can't paste the objects. The requested transformation would make some objects fall completely off the drawing area." Both documents are exactly the same size, res, color format etc. I even tried to drag and drop and get the same error message. Anyone know what I can do to resolve this issue?

    Try scaling the view size down to 6% or so and then do a Select All. See if there are objects off the artboard which may be causing this error. Most often you will see this if there were guides dragged from a ruler which were selected by dragging the white arrow and then deleted. This leaves the anchor points at the edge of the work area.

  • Unable to delete User object in FIM Portal - Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition"

    Hi,
    ***Problem
    I encounter a problem with FIM (version 4.1.3441.0 and 4.1.3496.0) when I try to delete a User object (and only a User object) whatever if it is
    manually/Expiration Workflow/Powershell.
    Deleting a User object used to be perfectly functional and, without any product version modification, stopped working. I haven't neither deleted/modified or add a
    "Grant" MPR or any of the corresponding Sets since last time I saw it working.
    Displayed error is "Request could not be dispatched" in FIM Portal and is referencing a stored procedure in Event Viewer.
    ***Error details
    When I try to delete a User object, here is the output :
    Portal
    "Processing error" on submit
    with the following details 
    Request status is stuck at "Validating" until next restart of FIM Service (after what it becomes “Canceled”)
    Request’s “Applied Policy” tab does not contain any MPR where, at least, a “Grant” MPR is expected
    As SQL Timeout is relatively high and error happens quickly, I don’t think there is a Timeout problem under that.
    Logs
    « Application »
    The Portal cannot connect to the middle tier using the web service interface.  This failure prevents all portal scenarios from functioning correctly.
    The cause may be due to a missing or invalid server url, a downed server, or an invalid server firewall configuration.
    Ensure the portal configuration is present and points to the resource management service.
     « Forefront Identity Manager »
    Reraised Error 50000, Level 16, State 1, Procedure ReRaiseException, Line 37, Message: Reraised Error 1088, Level 16, State 12, Procedure CalculateRequestSetTransitionsAssembleStatements,
    Line 332, Message: Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition" because it does not exist or you do not have permissions.
    Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
    Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.Data.SqlClient.SqlException: Reraised Error 50000, Level 16, State
    1, Procedure ReRaiseException, Line 37, Message: Reraised Error 1088, Level 16, State 12, Procedure CalculateRequestSetTransitionsAssembleStatements, Line 332, Message: Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition"
    because it does not exist or you do not have permissions.
    Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
    TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult
    result)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.ResourceManagement.Data.DataAccess.UpdateRequest(RequestType request, IEnumerable`1 updates)
       --- End of inner exception stack trace ---
    Requestor: urn:uuid:7fb2b853-24f0-4498-9534-4e10589723c4
    Correlation Identifier: e7209633-46d0-4f4b-a59e-807649ef71ea
    Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.InvalidCastException: Specified cast is not valid.
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType
    operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier, UniqueIdentifier requestContextIdentifier,
    Boolean maintenanceMode)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType
    operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier)
       at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Delete(Message request)
       --- End of inner exception stack trace ---
    For information, a maintenance plan rebuild/reorganize indexes daily and this problem has occurred on servers with different performances.
    Is any of you has already encounter this problem ?
    Any help would be greatly appreciated,
    Thanks in advance for your help,
    Matthew

    While there are several SQL Agent jobs (FIM Temporal Events, Maintain Sets, and Maintain Groups among others)created by the FIM install only one of those is enabled and scheduled and it calls all of the same stored procedures that the other
    jobs do. Step 2 is Maintain sets and Step 3 is maintain groups. So the Maintain sets and groups jobs never need to get enabled and scheduled, but if you want them to be maintained more frequently then you can.
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

Maybe you are looking for