Comparing databases

hi
i need diff between oracle 8i and oracle 9i,oracle 9i with oracle 10g,oracle with sql server,oracle with my sql.
please tell me or please give me link to know the differences.

Look for new features guides:
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14214/toc.htm
http://asktom.oracle.com/pls/ask/f?p=4950:8:18047443741821384404::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:3512484632553

Similar Messages

  • COMPARE DATABASE SCHEMA WITHOUT USING TOAD

    Hi all,
    I have always used toad to compare database schema ....
    Does anyone know about any other way to go about comaparing schema?
    e.g script etc.....

    There are many different ways of doing this, depending on how detailed you want to get and what is relevant to you.
    The first place to start is the "Oracle Reference" manual which describes the various DBA_ views. You can build up your won comparison routine fairly easily simply by running differences. Using SQLPlus, you could go down the road of
    Prompt Objects missing in &2 that are in &1
    SELECT object_type, object_name
    FROM DBA_OBJECTS
    WHERE OWNER=&1
    MINUS
    SELECT object_type, object_name
    FROM DBA_OBJECTS
    WHERE OWNER=&2
    Prompt Objects missing in &1 that are in &2
    SELECT object_type, object_name
    FROM DBA_OBJECTS
    WHERE OWNER=&1
    MINUS
    SELECT object_type, object_name
    FROM DBA_OBJECTS
    WHERE OWNER=&2
    etc.
    This has the advantage of allowing you complete control over what you see (as compared to giving that control to some other developer, such as the Toad Team). There are some disadvantages, including:
    you need to understand what you want and why;
    you need to be familiar with the documentation and the structure of the DBA_ views;
    you need to maintain the scripts
    You could always purchase Oracle's Change Management Pack add-on to Enterprise Manager or use tools like SQLDeveloper as well.

  • Compare database

    Hi.
    I'm trying to compare 2 SA12 databases in Sybase Central using "Tools - SQL Anywhere 12 - Compare databases...".
    Both databases are quite small (< 100 Mb), almost no data.
    DB1 is an old ASA9 which has been upgraded to SA12 using unload/reaload and "Upgrade database".
    DB2 is a SA12 from the start.
    It's a lot of similarities in the databases, but I think there are a few missing tables, FK's, triggers and such in DB1.
    Therefore I'm trying to compare them so that I can get at sql-file to make them identical.
    But it looks like the compare-function never gets finished.
    I started it on friday afternoon, and it was still running this morning. So I cancelled the job.
    When comparing 2 small databases like this, I think something is wrong?
    Or is it supposed to take this long?
    I've installed the latest EBF (4104), and started the compare once again.
    Is this the best way to compare the databases?
    Is there perhaps a commandline I can use?
    Regards,
    Bjarne Anker
    Maritech Systems
    Norway

    No, it should not take that long.
    Perhaps it is the unload that is failing. To compare the databases, Sybase Central unloads the databases and then compares the reload scripts.
    Please try unloading each database using the following command:
        dbunload -q -qr -m -n -y -r <reload-filename> -c "<connection-string>;charset=UTF-8"
    (replace <reload-filename> with any filename, and ensure that "charset=UTF-8" is included in the connection string.)
    I'm curious to know if either of the unload operations fail.
    Currently, there is no command-line support for database comparison.
    Richard Jones

  • By using Java scripting how  can  compare database value to Forms value?

    i develop portal form n want to compare field that is Issued quantity with available quantity through java scripting.please send me syntax with an example.
    problem:
    if issued quantity is greater than available Quantity then appear alert message
    Thanks,
    Sadaf

    this is the false forum for you. Try it in the database forum e.g.

  • When comparing database tables with lob columns via "Database diff" in different environments indexes are shown as different

    When using "Database diff" selecting other schemas only for compare own objects are shown too!Hi!
    For tables with lob columns (clob, blob, etc.) indexes with system names are automatically created per lob column.
    If I am on different database instances (eg. dev/test) these system names can differ and are shown as differences, but these is a false positive.
    Unfortunately there is now way to influence the index names.
    Any chance to fix this in sql developer?
    Best regards
    Torsten

    Only the Sql Dev team can respond to that question.
    Such indexes should ONLY be created by Oracle and should NOT be part of any DDL that you, the user, maintains outside the database since they will be created by Oracle when the table is created and will be named at that time.
    It is up to the Sql Dev team to decide whether to deal with that issue and how to deal with it.

  • How can we reduce compares Database size in express edition

    Hi,
    for client we use SQL server express edition. express edition has limitation of 10GB of database size.
    please help me how can we reduce/compares DB size.
    Regards,
    Manish

    Data or page compression feature is not available in express edition so you cannot use this feature to help you.
    You might be lucky to reclaim space from shrink operation but eventually data file will grow again. So your best bet is using licensed version.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

  • Interface Illustrator / Oracle (or comparable database)

    We handle a big amount of huge Illustrator-Files. Some of our drawings have a size of 3.5 x 4.5 meters and contain several hundredthousand objects. We are looking for an interface to store this data on a server and to allow workgroups to load just a part of the drawing, to modify it and to save it back to the server.
    We are cartographers. But to make it a bit more clear just imagine an architect drawing a skyscraper with Illustrator in one big file. Imagine this architect would like to allow one workgroup to make changes in the drawing of the the basement and at the same time one workgroup makes changes to the drawing of the penthouse.
    There are interfaces available to connect AutoCAD or ArchiCAD-Files to Oracle. We are looking for an interface to connect Illustrator to Oracle (or something comparable).
    Kind regards,
    Tim Kober
    P.S.: Sorry for crossposting to "Illustrator Feature Requests" and "Illustrator Developers SDK" forum, but it seems to me, this forum here is the better place for my topic.

    I am working on a project to transfer data from Illustrator to MySQL Database. Give me at [email protected] more detailed info about your Illustrator-Files, then I'll let you know if any breakthrough.

  • Comparing database table with one value

    hi,
    i need to compare a value with table record.
    how can i compare?
    please help me.
    Thank you

    I guess your question doesn't fully present your
    doubt.. JDBC is the obvious answer for accessing the
    database and taking the result set.. Post back if
    this is not what you wanted..It's too obvious and like many others the OP might not ever visit this thread.

  • Compare database password verification both  database and Linux

    Hi Friends,
    oracle11g2 apply database profile with password verification function in Password Management. But some DBA claims apply linux shell script to verify oracle account password during database connection.
    Please let me know which methods (database profile with verification function; linux shell script) is best?
    each methods benefit and disadvantage in security control? or more information
    Thanks
    newdba

    Oradb wrote:
    If consultant does this task for us. which methods is best and reason?It doesn't matter who is implementing it.
    If a shell script is enforcing password complexity, you would have to guarantee that no application ever did a password change without calling the script. That seems highly unlikely. Someone will want to change their password using SQL*Plus. Someone will want to change their password via TOAD or some other GUI. Someone will want to change their password using some other front end. A password verification function in the database will be invoked in all of these cases. A shell script will not. Unless you have an exceedingly expensive consultant that is an expert in shell scripting who has no experience whatsoever with PL/SQL and unless you can guarantee that no one today or in the future will want to use any of the established APIs to change their password rather than calling the shell script, use a password verification function.
    Of course, if you want to get really technical, you could create a password verification function that, in turn, calls out to an operating system shell script. That would be a hugely overcomplicated architecture but it can be done.
    Justin

  • Access 2010 checking if a user has opened a zipped rather than expanded database

    Is there a property or method that can be used to detect/ check if a user has opened a zipped copy of a database?
    I distribute a zipped copy of a database and expect users to extract it before using it but some times a user simply opens the zipped copy and later encounters problems. I would like to display a message notifying the user that they must first expand the
    zipped file before opening the database.
    phil kelly

    Maybe this will help.
    Option Compare Database
    Option Explicit
    'See MSDN for more constants: http://msdn2.microsoft.com/en-us/library/ms839432.aspx
    Const CSIDL_APPDATA = &H16
    Const CSIDL_DESKTOP = &H0
    Const CSIDL_PROGRAMS = &H2
    Const CSIDL_CONTROLS = &H3
    Const CSIDL_PRINTERS = &H4
    Const CSIDL_PERSONAL = &H5
    Const CSIDL_FAVORITES = &H6
    Const CSIDL_STARTUP = &H7
    Const CSIDL_RECENT = &H8
    Const CSIDL_SENDTO = &H9
    Const CSIDL_BITBUCKET = &HA
    Const CSIDL_STARTMENU = &HB
    Const CSIDL_DESKTOPDIRECTORY = &H10
    Const CSIDL_DRIVES = &H11
    Const CSIDL_NETWORK = &H12
    Const CSIDL_NETHOOD = &H13
    Const CSIDL_FONTS = &H14
    Const CSIDL_TEMPLATES = &H15
    Const MAX_PATH = 260
    Private Type SHITEMID
    cb As Long
    abID As Byte
    End Type
    Private Type ITEMIDLIST
    mkid As SHITEMID
    End Type
    Private Declare Function SHGetSpecialFolderLocation Lib "shell32.dll" (ByVal hwndOwner As Long, ByVal nFolder As Long, pidl As ITEMIDLIST) As Long
    Private Declare Function SHGetPathFromIDList Lib "shell32.dll" Alias "SHGetPathFromIDListA" (ByVal pidl As Long, ByVal pszPath As String) As Long
    Public Function GetProgramFilesFolder() As String
    Const PROGRAM_FILES = &H26&
    Dim objShell As Object
    Dim objFolder As Object
    Dim objFolderItem As Object
    Set objShell = CreateObject("Shell.Application")
    Set objFolder = objShell.Namespace(PROGRAM_FILES)
    Set objFolderItem = objFolder.Self
    Debug.Print objFolderItem.Path
    End Function
    Private Function GetSpecialfolder(CSIDL As Long) As String
    Dim r As Long
    Dim IDL As ITEMIDLIST
    Dim sPath As String
    'Get the special folder
    r = SHGetSpecialFolderLocation(100, CSIDL, IDL)
    If r = 0 Then
    'Create a buffer
    sPath$ = Space$(512)
    'Get the sPath from the IDList
    r = SHGetPathFromIDList(ByVal IDL.mkid.cb, ByVal sPath$)
    'Remove the unnecessary chr$(0)'s
    GetSpecialfolder = Left$(sPath, InStr(sPath, Chr$(0)) - 1)
    Exit Function
    End If
    GetSpecialfolder = ""
    End Function
    Public Sub PrintSpecFolderPaths()
    'KPD-Team 1998
    'URL: http://www.allapi.net/
    'E-Mail: [email protected]
    'Print the folders to the form
    Debug.Print "Start menu folder: " & GetSpecialfolder(CSIDL_STARTMENU)
    Debug.Print "Favorites folder: " & GetSpecialfolder(CSIDL_FAVORITES)
    Debug.Print "Programs folder: " & GetSpecialfolder(CSIDL_PROGRAMS)
    Debug.Print "Desktop folder: " & GetSpecialfolder(CSIDL_DESKTOP)
    Debug.Print "My Docs folder: " & GetSpecialfolder(CSIDL_PERSONAL)
    End Sub
    Bill Mosca
    www.thatlldoit.com
    http://tech.groups.yahoo.com/group/MS_Access_Professionals

  • "RUN-TIME ERROR '3078': The Microsoft Access database engine cannot find the input table or query 'name'. Make sure it exists and that its name is spelled correctly.

     When I run the code below I get the following error:"RUN-TIME ERROR '3078': The Microsoft Access database engine cannot find the input table or query 'False'. Make sure it exists and that its name is spelled correctly. Note that I do not call
    anything by the name of "false" anywhere in this code.
    The subject code (the underscored line of code is highlighted in the debugger when the error occurs):
    Option Compare Database
    Private Sub JobAssign_Click()
    MatLotListAvail_openform
    End Sub
    Function MatLotListAvail_openform()
    Dim dbsAPIShopManager2010 As DAO.Database
    Dim rstMaterialLotJobJoint As DAO.Recordset
    Dim strSQL As String
    Set dbsAPIShopManager2010 = CurrentDb
    strSQL = "SELECT * FROM MaterialLotJobJoint WHERE JobID" = "tempvars!JobID" And "MatLotID" = "tempvars!MatLotID"
    Set rstMaterialLotJobJoint = dbsAPIShopManager2010.OpenRecordset(strSQL, dbOpenDynaset)
    If rstMaterialLotJobJoint.EOF Then
    DoCmd.OpenForm "JobAssignMatConf", acNormal, "", "", acEdit, acNormal
    Forms!JobAssignMatConf!PartapiIDVH = TempVars!PartapiID
    Forms!JobAssignMatConf!JobapiIDVH = TempVars!JobapiID
    Forms!JobAssignMatConf!JobIDVH = TempVars!JobID
    Forms!JobAssignMatConf!MaterialLotIDVH = TempVars!MatLotID
    Forms!JobAssignMatConf!Desc = TempVars!MatDesc
    Forms!JobAssignMatConf!recdate = TempVars!recdate
    DoCmd.Close acForm, "MaterialLotListAvailable"
    Else: MsgBox "This material lot has already been assigned to this job."
    DoCmd.Close acForm, "MaterialLotListAvailable"
    End If
    End Function

    I think the SQL statement should be
    strSQL = "SELECT * FROM MaterialLotJobJoint WHERE JobID=" & _
    tempvars!JobID & " AND MatLotID=" & tempvars!MatLotID
    This assumes thatJobID and MatLotID are number fields.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Trouble sorting a database

    My program is supposed to sort a database based upon whatever key is supplied by the user. The database has 4 parts to each entry, so say the user were to enter the key as 1, the database would sort according to the first part of the entry.
    As my program stands now i have key set to 1 without any user input...however I am having trouble with my sort method.
    I appreciate anyone willing to take a look
    import java.io.*;
    import java.util.*;
    public class Prog8
         final static int BIG = 16;
         final static int MAX = 4;
         static int count = 0;//# of records
         public static void main(String[] asd)
              DataBase[] dv = new DataBase[BIG];
              readArray(dv);
              System.out.println("before sort");
              printArray(dv);
              System.out.println();
              sort(dv, 2);
              System.out.println("after sort");
              printArray(dv);          
         public static void readArray(DataBase[] dv)
              String line;
              FileStringReader f = new FileStringReader("db.txt");
              DataBase db;//must be instantiated in the loop
              do
                   line = f.readLine();
                   if(line != null && line.trim().length() != 0)
                        db = new DataBase();
                        readRecord(line, db);
                        dv[count] = db;
                        System.out.println(line+ "|"+count);
                        count++;
              }while( line != null);                    
              System.out.println("final count "+ count);     
         public static void readRecord(String line, DataBase db)
              int j = 0;
              StringTokenizer toke = new StringTokenizer(line);
              while(toke.hasMoreTokens() )
                   db.item[j] = toke.nextToken();
                   j++;
         public static void printRecord( DataBase db)
              for(int k = 0; k < MAX; k++)
                   System.out.print(db.item[k] + " ");
              System.out.println();
         public static void printArray(DataBase[] dv)
              for(int j = 0; j < count; j++)
    //               System.out.println("j = "+j);
                   printRecord(dv[j] );
         public static void sort(Comparable[] x, int key)
         boolean sorted = false;
         int n = x.length;
         Comparable Database;
         while(!sorted)
              n--;
              sorted = true;
              for(int j = 0; j < n; j++)
                   if(x[j].item[key].compareTo(x[j+1].item[key])>0)
                        Database = x[j];
                        x[j] = x[j+ 1];
                        x[j+1] = Database;
                        sorted = false;
    class Database
         final int MAX = 4;
    String[] item = new String[MAX];
    my database is:
    marin gil 269972639 34
    abrams rita 005456788 17
    nottobe tobe 029209330 19
    backus jim 379228370 23
    lucky lady 039470923 57
    canada oh 437983890 46
    caliper surgical 457474709 18
    dante ron 090229292 29
    english rum 457090290 35
    goto state 507348278 19
    home hume 387928783 23
    identity crie 236982373 56
    jackson andy 109290029 36
    korn cob 329480928 25
    faulty tower 439287983 12
    abrams sol 098337377 54
    Message was edited by:
    calvinisz

    Hi calvin. Please try to enclose your posted code with tags.                                                                                                                                                                                               

  • How to compare oracle homes

    Hi,
    I'm familiar and use the comparison tool for servers/os and it works good. Also used the feature to compare databases. I'm interested in comparing oracle_homes betwee 2 boxes, what's different?
    Any ideas how to do it?
    Thanks

    From the java console, you can use change manager. I haven't taken a look closely at 10gR3...apparently, it's supposed to be there.

  • Database Entry Comparison

    My company has a SQL database that serves as the analytics
    collection for our internal search engine. I am creating an
    analytics dashboard. One of the things I want to find out is a
    listing of brand new searches/entries that are new within the last
    month. Anyone have any tips on how to accomplish this?
    Thanks,
    ~Clay

    Allow me to resurrect this to see if any of you cangive me
    direction.
    I have a database that records searches via our enterprise
    search engine. There are four analytics I wish to generate...
    1) Brand new searches in the last month - top ten
    2) Reoccurring searches - top ten
    3) Ascending searches (those whose count is increasing) - top
    ten
    4) Descending searches (those whos count is decreasing) - top
    ten
    I am looking for tips on how to compare database entries like
    this. For example, in the first one, I need db entries that occurr
    this month, but not last month.
    Has anyone ever done this?
    Any help is appreciated.

  • Claims debacle (error) with Term Store: "Could not retrieve a valid windows identity" for all sites in a particular web app.

    When I pull up the Term store in CA or any MySite collection, it works.
    When I do so in any other site collection (HNSCs, incidentally), It doesn't return any term stores.
    My ULS log immediately before and after the "/_vti_bin/taxonomyinternalservice.json/CheckPermission" POST on termstore .aspx triggers the WCF call:
    Claims Authentication af30y Verbose Claims Windows Sign-In: Successfully signed-in the the user 'contoso\domainUser' for request url 'https://sp13-root-prd.contoso.com/_vti_bin/taxonomyinternalservice.json/CheckPermission'.
    Claims Authentication af30q Verbose Updating header 'LOGON_USER' with value '0#.w|contoso\domainUser' for the request url 'https://sp13-root-prd.contoso.com/_vti_bin/taxonomyinternalservice.json/CheckPermission'.
    Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|contoso\domainUser, ClaimsCount=77
    Logging Correlation Data xmnv Medium Site=/
    Topology e5mc Medium WcfSendRequest: RemoteAddress: 'http://CONTOSOFE3:32843/00e6d55691824965ac223f1d1cfae6d2/MetadataWebService.svc' Channel: 'Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges2' MessageId: 'urn:uuid:590e916c-c89a-4f89-9819-a82c97fabcaa'
    Claims Authentication bz7l Medium SPSecurityContext: Could not retrieve a valid windows identity for username 'contoso\domainUser' with UPN '[email protected]'. UPN is required when Kerberos constrained delegation is used. Exception: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: WTS0003: The caller is not authorized to access the service. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.UnauthorizedAccessException: WTS0003: The caller is not authorized to access the service. at Microsoft.IdentityModel.WindowsTokenService.CallerSecurity.CheckCaller(WindowsIdentity callerIdentity) at Microsoft.IdentityModel.WindowsTokenService.S4UServiceContract.PerformLogon(Func`1 logonOperation, Int32 pid) at SyncInvokeUpnLogon(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet))..
    Claims Authentication g220 Unexpected No windows identity for contoso\domainUser.
    The "The caller is not authorized to access the service." message seems pertinent.
    Both web apps are using only NTLM auth.
    The url for both web apps ends in the same contoso.com domain. 
    I get the same errors no matter what account I use, including the install account.
    Things I've tried:
    Deleting and building a new HNSC root web app and site. Error happens in all sites in all web apps except the PBSC hosting MySites.
    Giving the root site app pool identity full control of the metadata service app (even though the MySite identitiy doesn't have it)
    Giving the root site app pool identity full permissions on the metadata service app.
    Comparing database and web app config permissions between dev (where everything works perfectly) and prod (where it does not).
    Made sure IIS auth settings on both sites are identical
    Both sites are using the same SSL certificate (though the call to the web service appears to be http)
    Reprovisioned the metadata service app with a new database and new app pool identity.
    Made sure C2WT is running. Tried it with the service stopped as well.
    Web.configs are identical between working and non-working apps.
    I'm stumped but still Googling. I'm hoping to avoid having to call Micrososft. Any help would be appreciated!
    UPDATE:
    Interestingly, when I restored the web application from backup (via CA), I ended up with 3 identical "Windows Authentication" authentication providers assigned to the problem web app. Since there was more than one, I was directed to the provider-chooser
    page when visiting the site. Upon choosing 1 of the 3, I was authenticated, and *poof*, no more authentication errors and the term store loaded term sets as expected.
    Of course, 3 providers was not an ideal state, so I grabbed the one that worked (#1) via get-spauthenticationprovider, and assigned it to the web app via set-spwebapplication, and my problem returned.
    I am currently updating the farm to SP1 from June 2013 CU. Fingers crossed.
    Update:
    The update to SP1 went smoothly, but did not resolve the issue. Also related (I believe) are the random authentication errors when trying to upload images to some libraries, and 401-errors on the accessdenied.aspx page itself.
    Update:
    The problem is resolved, seemingly after making 4 changes. I'm trying to narrow down which change was the cure, if any:
    I installed SP1 on all 6 servers, rebooted and upgraded. This appeared to have no effect.
    Removed an old login from SQL that no longer existed in AD because of this ULS error:
    System.Runtime.InteropServices.COMException: The user or group contoso\svc_xxxxxxxxx' is unknown., StackTrace:    at Microsoft.SharePoint.Utilities.SPUtility.GetFullNameFromLoginEx(String loginName, Boolean&
    bIsDL)
    This login was the identity of the application pool that used to run the web app in question.
    This login was the schema owner of a schema named after itself on every SharePoint database so I changed the schema owner to dbo but left the schema attached.
    The problem may have surfaced initially when the app pool identity was changed in CA, but went unnoticed?
    Note that the web app had been deleted and recreated many times with a new identity and pool to no avail, but the URL remained the same throughout each attempted fix. Relevant?
    Grasping at straws, I changed the app pool identity for this web app to the same one that runs the MySite web app pool as per this only slightly related problem: http://www.planetsharepoint.org/m/preview.php?id=372&rid=34764&author=Vlad+Catrinescu
    I changed the authentication method from NTLM to Negotiate.
    I am rolling back #3 and #4 to see if the issue resurfaces.
    Update:
    It doesn't appear to have been the NTLM/Negotiate setting. Web app is currently set to NTLM and all is well. No strange accessdenies, and term Store is still manageable from all sites.
    Update: Sorry for the delay. I am administering 6 farms these days. Will update as soon as the final phase of rollbacks happens.
    I think I can. I think I can.

    maybe that web app was accidentally created with classic auth?
    here's an example of how to create claims based, with classic, and then "doing 2013" claims
    #Create the example web application, as mentioned above, either with gui, and pick later, or
    New-SPWebApplication-ApplicationPool$applicationPool-ApplicationPoolAccount$serviceAcct-Name$WebApp-Port
    5050
    -databaseName$contentDB-securesocketslayer
    #If doing for 2013
    New-SPWebApplication-ApplicationPool$applicationPool-ApplicationPoolAccount$serviceAcct-Name$WebApp-Port
    5050
    -AuthenticationProvider(new-spauthenticationprovider)
    -databaseName$contentDB-secureSocketsLayer

Maybe you are looking for