Migrate Database from MySQL to Apache Derby

Hello all,
Does anyone know how to migrate a database in MySQL to Apache Derby? Will ij do this, and if so, how do I go about doing it? If not, is there a way to do so?
Thanks in advance! -- BTR

Errr... Apache Derby is a database implemented in Java?
Sorry, I'll go somewhere else.

Similar Messages

  • How to migrate  database from oracle10g to mysql

    how to migrate database from oracle10g to mysql

    Assuming you're actually using any of the features of Oracle at present, this will be an impossible task, since MySql has such narrower set of supported SQL.

  • Migrating Data from MySQL to SQL Server 2012

    Hi all,
    I'm Migrating a database from MySQL to SQL Server 2012, using SSMA for MySQL v5.2.1258.  I've got the schema migrated over and have resolved any migration issues (stored procedures / views), but when it comes to migrating over the data I'm just hitting
    a wall.
    None of the data is migrating and when the migration report is displayed every table has a red x against it's Status.  The Output box has the following:
    Data migration operation has finished.
    0 table(s) successfully migrated. 
    0 table(s) partially migrated. 
    64 table(s) failed to migrate.
    I've seen on the forum that someone else was having the same problem
    (http://social.msdn.microsoft.com/Forums/en-US/sqlservermigration/thread/b835f4b3-3d93-42a4-9b6b-d21d3dfd8dab/)
    I've set the project settings mode to default, still getting the same error and tried using both Client Side Data Migration and Server Side migration, with both giving the same result.  I've tried going through the step-by-step blog as well.
    I am doing something really stupid?  There are 64 tables, so don't really want to try doing exports from each table and importing it into the new database.
    Hope someone can help.
    Cheers
    Alex

    Hello,
    I don’t have suggestions for you, but you can try contacting the SQL Server Migration Assistant (SSMA) Team via e-mail ([email protected])
    to see if they can provide a solution on this scenario.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How To Migrate Databases From Windows 2003 32 bit to windows 2003 64 bit?

    Hi,
    How To Migrate Databases From Windows 2003 32 bit to windows 2003 64 bit?
    Db Version: 10.2.0.2
    Thanks,
    Yusuf

    Also see MOS Doc 403522.1 (How to Migrate Oracle 10.2 32bit to 10.2 64bit on Microsoft Windows)
    HTH
    Srini

  • Migrating database from PostgreSql to Oracle 10g

    Hi
    can anybody help me by providing steps to migrating database from PostgreSql to Oracle 10g. its very urgent requirement. so please let me know if anyone know about this setps.
    thanks in advance.
    jayesh
    cignex technology pvt ltd

    NPD wrote:
    Hi Guys,
    Can one migrate database from sql2005 to Oracle.
    Thanx.You can use [Oracle Migration Tool |http://www.oracle.com/technology/tech/migration/workbench/index.html]
    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/]

  • Migrating database from sql2005 to Oracle 9i

    Hi Guys,
    Can one migrate database from sql2005 to Oracle.
    Thanx.

    NPD wrote:
    Hi Guys,
    Can one migrate database from sql2005 to Oracle.
    Thanx.You can use [Oracle Migration Tool |http://www.oracle.com/technology/tech/migration/workbench/index.html]
    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/]

  • Migrating database from 10g to 11g

    Hi gurus,
    how we can migrate the database from 10gr2 to 11gr2 using rman.
    thank you!

    Pl see these MOS Docs
    Upgrading Database Version Online Using Streams and RMAN [ID 782444.1]
    RMAN Restore of Backups as Part of a Database Upgrade [ID 790559.1]
    The recommended method is to use DBUA as outlined in the link posted above
    HTH
    Srini

  • Migrating Database from Oracle 8.0.5 for NT to Oracle 8.1.7 for Unix.

    Hello!
    Please help me in Migrating Database(Including Data,Stored
    Procdures, Views, Indexes,Forms, Triggers etc.) from Oracle 8.0.5 for NT to Oracle 8.1.7 for Unix.

    Check the installation option that you chose.
    Not all of the options will install a database.
    P.S.
    I have a similar problem on NT.
    Where I am able to access the database after the 8i Enterprise
    Install. I can not access the database from a Developer or
    Designer Installation. I am trying to run these tools locally.
    How do I configure NET8 to access the local 8i Database?
    Any ideas??
    Regards, Jim
    Emeka (guest) wrote:
    : I just installed the Oracle 8 Enterprise Edition for windows NT
    : and i can't find the Oracle database to support the tables.
    Also
    : the username and password of scott and tiger didn't work for
    the
    : SQL Plus.ERROR' ORA-12203: TNS: unable to connect to
    destination'
    : was the message when i try getting into SQL. Could someone
    please
    : tell me how to install the database and how to get the user
    name
    : and password for the SQL Plus.
    null

  • How to migrate database from oracle9i on solaris to windows Itanium?

    How step I can do?
    I try to use export tool of oracle 9i export full database from solaris.
    by use command:
    export ORACLE_SID=dbtest
    export NLS_LANG=AMERICAN_AMERICA.TH8TISASCII
    exp system/password@dbtest full=y file= /u02/dump/dbtestfull.dmp log=/u02/dump/exp_dbtest.log
    My result is "Export terminated successfully without warnings."
    I had ftp dump file in binary mode from solaris to windows.
    create same database name on widnows (dbca --general purpose) set oracle_sid and NLS_lang
    and then import database by use command:
    imp system/password@dbtest file=e:\dumpfile\dbtestfull.dmp log=e:\dumpfile\imp_dbtestfull.log full=y
    I got error:
    "CREATE TABLESPACE "DRSYS" BLOCKSIZE 8192 DATAFILE '/u01/app/oracle/oradata"
    "/dbtest/drsys01.dbf' SIZE 20971520 AUTOEXTEND ON NEXT 655360 MAXSIZE"
    " 32767M EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT NOLOGGING "
    "SEGMENT SPACE MANAGEMENT AUTO"
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLESPACE "EXAMPLE" BLOCKSIZE 8192 DATAFILE '/u01/app/oracle/orada"
    "ta/dbtest/example01.dbf' SIZE 156631040 AUTOEXTEND ON NEXT 655360 MA"
    "XSIZE 32767M EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT NOLOG"
    "GING SEGMENT SPACE MANAGEMENT AUTO"
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLESPACE "INDX" BLOCKSIZE 8192 DATAFILE '/u01/app/oracle/oradata/"
    "dbtest/indx01.dbf' SIZE 26214400 AUTOEXTEND ON NEXT 1310720 MAXSIZE "
    "32767M EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT NOLOGGING S"
    "EGMENT SPACE MANAGEMENT AUTO"
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLESPACE "ODM" BLOCKSIZE 8192 DATAFILE '/u01/app/oracle/oradata/d"
    "btest/odm01.dbf' SIZE 20971520 AUTOEXTEND ON NEXT 655360 MAXSIZE 327"
    "67M EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT NOLOGGING SEGM"
    "ENT SPACE MANAGEMENT AUTO"
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLESPACE "TOOLS" BLOCKSIZE 8192 DATAFILE '/u01/app/oracle/oradata"
    "/dbtest/tools01.dbf' SIZE 10485760 AUTOEXTEND ON NEXT 327680 MAXSIZE"
    " 32767M EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT NOLOGGING "
    "SEGMENT SPACE MANAGEMENT AUTO"
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLESPACE "USERS" BLOCKSIZE 8192 DATAFILE '/u01/app/oracle/oradata"
    "/dbtest/users01.dbf' SIZE 26214400 AUTOEXTEND ON NEXT 1310720 MAXSIZ"
    "E 32767M EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT NOLOGGING"
    " SEGMENT SPACE MANAGEMENT AUTO"
    IMP-00015: following statement failed because the object already exists:
    "CREATE TABLESPACE "XDB" BLOCKSIZE 8192 DATAFILE '/u01/app/oracle/oradata/d"
    "btest/xdb01.dbf' SIZE 39976960 AUTOEXTEND ON NEXT 655360 MAXSIZE 327"
    "67M EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT NOLOGGING SEGM"
    "ENT SPACE MANAGEMENT AUTO"
    IMP-00017: following statement failed with ORACLE error 1119:
    "CREATE TABLESPACE "TESTTBS" BLOCKSIZE 8192 DATAFILE '/u01/app/oracle/orada"
    "ta/dbtest/testtbs.dbf' SIZE 33554432 AUTOEXTEND ON NEXT 33554432 MAX"
    "SIZE 2048M EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT NOLOGGI"
    "NG"
    IMP-00003: ORACLE error 1119 encountered
    ORA-01119: error in creating database file '/u01/app/oracle/oradata/dbtest/testt
    bs.dbf'
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "OUTLN" IDENTIFIED BY VALUES '4A3BA55E08595C81' TEMPORARY TABLE"
    "SPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "DBSNMP" IDENTIFIED BY VALUES 'E066D214D5421CCC' TEMPORARY TABL"
    "ESPACE "TEMP""
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "WMSYS" IDENTIFIED BY VALUES '7C9BA362F8314299' TEMPORARY TABLE"
    "SPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "ANONYMOUS" IDENTIFIED BY VALUES 'anonymous' DEFAULT TABLESPACE"
    " "XDB" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "WKSYS" IDENTIFIED BY VALUES '69ED49EE1851900D' DEFAULT TABLESP"
    "ACE "DRSYS" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "WKPROXY" IDENTIFIED BY VALUES 'B97545C4DD2ABE54' DEFAULT TABLE"
    "SPACE "DRSYS" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "ODM" IDENTIFIED BY VALUES 'C252E8FA117AF049' DEFAULT TABLESPAC"
    "E "ODM" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "ODM_MTR" IDENTIFIED BY VALUES 'A7A32CD03D3CE8D5' DEFAULT TABLE"
    "SPACE "ODM" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "OLAPSYS" IDENTIFIED BY VALUES '3FB8EF9DB538647C' DEFAULT TABLE"
    "SPACE "CWMLITE" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "HR" IDENTIFIED BY VALUES '6399F3B38EDF3288' DEFAULT TABLESPACE"
    " "EXAMPLE" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "OE" IDENTIFIED BY VALUES '9C30855E7E0CB02D' DEFAULT TABLESPACE"
    " "EXAMPLE" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "PM" IDENTIFIED BY VALUES '72E382A52E89575A' DEFAULT TABLESPACE"
    " "EXAMPLE" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "SH" IDENTIFIED BY VALUES '9793B3777CD3BD1A' DEFAULT TABLESPACE"
    " "EXAMPLE" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "QS_ADM" IDENTIFIED BY VALUES '991CDDAD5C5C32CA' DEFAULT TABLES"
    "PACE "EXAMPLE" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "QS" IDENTIFIED BY VALUES '8B09C6075BDF2DC4' DEFAULT TABLESPACE"
    " "EXAMPLE" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "QS_WS" IDENTIFIED BY VALUES '24ACF617DD7D8F2F' DEFAULT TABLESP"
    "ACE "EXAMPLE" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "QS_ES" IDENTIFIED BY VALUES 'E6A6FA4BB042E3C2' DEFAULT TABLESP"
    "ACE "EXAMPLE" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "QS_OS" IDENTIFIED BY VALUES 'FF09F3EB14AE5C26' DEFAULT TABLESP"
    "ACE "EXAMPLE" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "QS_CBADM" IDENTIFIED BY VALUES '7C632AFB71F8D305' DEFAULT TABL"
    "ESPACE "EXAMPLE" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "QS_CB" IDENTIFIED BY VALUES 'CF9CFACF5AE24964' DEFAULT TABLESP"
    "ACE "EXAMPLE" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "QS_CS" IDENTIFIED BY VALUES '91A00922D8C0F146' DEFAULT TABLESP"
    "ACE "EXAMPLE" TEMPORARY TABLESPACE "TEMP" PASSWORD EXPIRE ACCOUNT LOCK"
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "SCOTT" IDENTIFIED BY VALUES 'F894844C34402B67' TEMPORARY TABLE"
    "SPACE "TEMP""
    IMP-00015: following statement failed because the object already exists:
    "CREATE USER "APITHA" IDENTIFIED BY VALUES '71B848C6F0AAC4F6' DEFAULT TABLES"
    "PACE "TESTTBS" TEMPORARY TABLESPACE "TEMP""
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "SELECT_CATALOG_ROLE""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "SELECT_CATALOG_ROLE" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "EXECUTE_CATALOG_ROLE""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "EXECUTE_CATALOG_ROLE" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "DELETE_CATALOG_ROLE""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "DELETE_CATALOG_ROLE" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "RECOVERY_CATALOG_OWNER""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "RECOVERY_CATALOG_OWNER" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "GATHER_SYSTEM_STATISTICS""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "GATHER_SYSTEM_STATISTICS" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "LOGSTDBY_ADMINISTRATOR""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "LOGSTDBY_ADMINISTRATOR" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "AQ_ADMINISTRATOR_ROLE""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "AQ_ADMINISTRATOR_ROLE" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "AQ_USER_ROLE""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "AQ_USER_ROLE" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "GLOBAL_AQ_USER_ROLE" IDENTIFIED GLOBALLY "
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "OEM_MONITOR""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "OEM_MONITOR" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "HS_ADMIN_ROLE""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "HS_ADMIN_ROLE" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "WKUSER""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "WKUSER" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "WM_ADMIN_ROLE""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "WM_ADMIN_ROLE" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "JAVAUSERPRIV""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "JAVAUSERPRIV" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "JAVAIDPRIV""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "JAVAIDPRIV" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "JAVASYSPRIV""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "JAVASYSPRIV" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "JAVADEBUGPRIV""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "JAVADEBUGPRIV" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "EJBCLIENT""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "EJBCLIENT" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "JAVA_ADMIN""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "JAVA_ADMIN" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "JAVA_DEPLOY""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "JAVA_DEPLOY" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "CTXAPP""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "CTXAPP" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "XDBADMIN""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "XDBADMIN" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "AUTHENTICATEDUSER""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "AUTHENTICATEDUSER" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "OLAP_DBA""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "OLAP_DBA" FROM SYSTEM"
    IMP-00015: following statement failed because the object already exists:
    "CREATE ROLE "SALES_HISTORY_ROLE""
    IMP-00015: following statement failed because the object already exists:
    "REVOKE "SALES_HISTORY_ROLE" FROM SYSTEM"
    IMP-00017: following statement failed with ORACLE error 3113:
    "BEGIN "
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.CREATE_EVALUATIO"
    "N_CONTEXT_OBJ, 'SYS',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.CREATE_EVALUATIO"
    "N_CONTEXT_OBJ, 'DBA',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.CREATE_EVALUATIO"
    "N_CONTEXT_OBJ, 'AQ_ADMINISTRATOR_ROLE',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.CREATE_EVALUATIO"
    "N_CONTEXT_OBJ, 'MDSYS',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.CREATE_EVALUATIO"
    "N_CONTEXT_OBJ, 'CTXSYS',FALSE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.CREATE_EVALUATIO"
    "N_CONTEXT_OBJ, 'WKSYS',FALSE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.CREATE_ANY_EVALU"
    "ATION_CONTEXT, 'SYS',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.CREATE_ANY_EVALU"
    "ATION_CONTEXT, 'DBA',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.CREATE_ANY_EVALU"
    "ATION_CONTEXT, 'MDSYS',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.CREATE_ANY_EVALU"
    "ATION_CONTEXT, 'CTXSYS',FALSE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.CREATE_ANY_EVALU"
    "ATION_CONTEXT, 'WKSYS',FALSE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.ALTER_ANY_EVALUA"
    "TION_CONTEXT, 'SYS',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.ALTER_ANY_EVALUA"
    "TION_CONTEXT, 'DBA',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.ALTER_ANY_EVALUA"
    "TION_CONTEXT, 'MDSYS',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.ALTER_ANY_EVALUA"
    "TION_CONTEXT, 'CTXSYS',FALSE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.ALTER_ANY_EVALUA"
    "TION_CONTEXT, 'WKSYS',FALSE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.DROP_ANY_EVALUAT"
    "ION_CONTEXT, 'SYS',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.DROP_ANY_EVALUAT"
    "ION_CONTEXT, 'DBA',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.DROP_ANY_EVALUAT"
    "ION_CONTEXT, 'MDSYS',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.DROP_ANY_EVALUAT"
    "ION_CONTEXT, 'CTXSYS',FALSE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.DROP_ANY_EVALUAT"
    "ION_CONTEXT, 'WKSYS',FALSE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.EXECUTE_ANY_EVAL"
    "UATION_CONTEXT, 'SYS',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.EXECUTE_ANY_EVAL"
    "UATION_CONTEXT, 'DBA',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.EXECUTE_ANY_EVAL"
    "UATION_CONTEXT, 'MDSYS',TRUE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.EXECUTE_ANY_EVAL"
    "UATION_CONTEXT, 'CTXSYS',FALSE);"
    "SYS.DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(SYS.DBMS_RULE_ADM.EXECUTE_ANY_EVAL"
    "UATION_CONTEXT, 'WKSYS',FALSE);"
    "COMMIT; END;"
    IMP-00003: ORACLE error 3113 encountered
    ORA-03113: end-of-file on communication channel
    IMP-00003: ORACLE error 3114 encountered
    ORA-03114: not connected to ORACLE
    How to solve this problem?
    I want to migrate whole database, it'can be?

    Hi
    I was able to find only two types of error in this.
    1)
    IMP-00015: following statement failed because the object already exists:Use ignore=y along with import because the tablespace for which it failed already exist in the database. So with ignore=y it would ignore the objects which already exist and would go to next step.
    2)
    IMP-00003: ORACLE error 1119 encounteredThis is because full export do include tablespace defination also. Since the tablespaces which it is trying to create does not exist in the system and the source database from where the exp dump was taken was Unix flavour so the file structure between them was different and as a result it was not able to create it.
    Suggestion.: Manually create the tablespace at your desired location. And then run the imp again with ignore=y
    Regards
    Anurag

  • Migrated database from 2008 R2 to 2012 getting wrong decimal precisions

    Migrated SQL Server database from 2008R2 to 2012 using backup and restore option
    When I do aggregate sum on both the databases 2008 and 2012 decimal precision is coming different. Because of this measure value in SSAS cube browser is calculated wrongly compared to 2008 R2 vs 2012
    select SUM(rate) from [InfoDB]
    2008 R2 Result
    3029520.583895
    2012 Result
    3029520.58389499
    Rate column is float data type Length 8, Precision 53, Scale is null
    Please suggest if any work around for this.

    Hello,
    Does changing the underlying data to decimal possible? Instead of using float. Please try that.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Migrating database from solaris to linux

    I am not sure if there is a migration section here. However, I would like to migrate a 9.2.0.8 database from Solaris to linux and upgrade it to 11g. I reckon that both platforms have different endian format and using rman convert+transportable database and so on will be work if I can upgrade the database to 10 or 11g.
    My question is that since the database is small around 35GB, can I use just exp/imp? If yes but can someone outline what will be needed to take care of the endian format and other hidden hints.
    I believe someone must have done this ------> 9i to 10g or 9i to 11g across platform.
    Thanks.

    It just depends on what how you define 'large'. Generally speaking exp/imp is slow when compared to Data Pump or transportable tablespaces (but both cannot be used in your case).
    I don't think that 16 GB is large but you have to test in your environment how much time import is going to take: import needs always more time than export.

  • Migration databases from one server to another

    Hi All
    I want to migrate our 8 production databases from one server to another server. these are in RAC .Details are below
    OLD SERVER: -
    OS: REDHAT LINUX 3
    ORACLE: ORACLE 10gR1
    FILE SYSTEM : OCFS
    STORAGE: SAN
    Its a RAC databases
    NEW SERVER: -
    OS: REDHAT LINUX 5
    ORACLE: ORACLE 11g R2
    FILE SYSTEM:ASM
    STORAGE:SAN ( fresh one)
    Its also RAC DATABASES
    So please tell me the best method to migrate 8 databases from old server to another server . all databases size are not more than 50 GB.
    All servers details are above .please let me know if you require any other details
    please reply soon we have to do it on urgent basis

    Since all your databases are small (< 50G), I would recommend using expdp/impdp - http://download.oracle.com/docs/cd/E11882_01/server.112/e17222/expimp.htm - as this will provide several advantages as listed in the document.
    Different Upgrade Methods For Upgrading Your Database (Doc ID 419550.1)
    HTH
    Srini

  • Migrate database from IBM DB2 to ORACLE

    Hi oracle professionals,
    Currently database resides in IBM DB2...
    We need to migrate Database to oracle ...
    Thanks in advance
    Pawan

    Hi,
    Kindly refer
    Oracle SQL*Developer - which is free to use and download -
    http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html
    Oracle Database Migration Technology -
    http://www.oracle.com/technetwork/database/migration/index-084442.html
    Migrating from IBM DB2 LUW to Oracle -
    http://www.oracle.com/technetwork/database/migration/db2-084087.html
    IBM DB2/400 V4R3 & V4R5 can be migrated using the original Migration Workbench v10.1.0.4 available from here -
    http://www.oracle.com/technetwork/topics/index-095746.html
    Also article
    Migrating From IBM DB2 UDB to Oracle (Doc ID 1148493.1)
    Thanks,
    Krishna

  • Just installed 10g Exp, can I use the "Bank" database from MySQL?

    So I installed MySQL, PHP, and Apache, separately. I was using a "Learning SQL 2005" book that instructed me to create a play "bank" database, and run the code to create/populate tables. I used the bank database for a while to learn and it was great.
    Now I installed Oracle Database 10g Express Edition and I uninstalled MySQL, PHP, and Apache. Is it possible to use this bank database that I was using with MySQL?
    When I go to the Database Home Page and go into the SQL Commands section and type "use bank;", it says "ORA-00900: invalid SQL statement".
    When I type "create database bank;", it says "ORA-01501: CREATE DATABASE failed ORA-01100: database already mounted".
    Also, since the SQL statements that I used to create the database in MySQL is just ANSI SQL, I can use these same statements to create a database in Oracle, right?
    Thanks for your help!

    Unfortunately every RDBMs ANSI SQL isn't quite ANSI SQL. You'll find datatypes in mysql that have no direct equivelant, and quite a few items that just won't work in oracle (or ms sqlserver, or ... the list goes on)
    Like the "create database" statement, to the oracle engine its an entirely different operation. There is no need to create a database, that's taken care of with the install. And the "use <database>" command doesn't have an oracle equivalent.
    Start by creating a database user with resource and connection privileges, and try the mysql create table statements. It'll take some work- changing up the DDLs to work will take a bit of trial and error but its one way to learn.
    $ sqlplus /nolog
    SQL> connect system
    ... Password ...
    ... Connected ...
    SQL> create user <username> identified by <password>;
    SQL> grant resource, create session to <username>;
    SQL> connect <username>
    ... password ...
    SQL> create table ...

  • Migrating database from server (OS: IBM AIX 5.1 Oracle: 9.2.0.4) to server

    Dear All,
    In order to migrate one database from server (OS: IBM AIX 5.1 Oracle: 9.2.0.4) to another server (OS: IBM AIX 5.3 Oracle: 9.2.0.6)
    I am performing the cold backup and taking the below files backup.
    Datafiles
    Redologfiles
    Archive log file
    Backup of control file from trace
    I just wanted to know
    a) Is there any other files do I need to take backup which may be required to bring the database up on another server?
    b) Upper version of OS and oracle can create any issue or do I need to perform any extra activities?
    I know after restoration the above files to the destination server, what procedure I would require to follow.
    I have doubt with version of OS and oracle.
    Request your advice on this.
    Regards,

    I dont think higher version especially 5.1-5.3 will make any difference but oracle 9.2.0.4 will definitely will have an issue. If i am not wrong you need to startup the database with startup MIGRATE option after moving all the files to the new server
    May be password file (missed out, but you can always create one)
    Init.ora file
    make note on Entries in ORATAB

Maybe you are looking for

  • Inventory Audit Report

    We used the Inventory Audit Report to determine inventory value ending in a specific period.  It seems to work okay but it lists every single item in our inventory. We are looking for more of a summary report.  The only option we have for this is by

  • How to change Font in 11i

    Hi All, I want to change the font of Reports and Screens of Oracle Finanical 11i. Is there any environment which I can set? Regards, Sikandar Hayat Awan

  • Find the Database where user defined function is ??

    Hi,   I have one user defined function , but i couldn't find where the function is and where the function is using.. anyone pls help me to overcome this one. Thanks

  • Queue issue

    Hello, Does anyone have idea about below issue: We are handling high volume of messages, our queues get blocked in smq2 and then we have to either delete queues and re-register or bounce the server back. All optimizations on mapping side (splitting m

  • Adding Form Numbers

    Is there a way to add a unique number to the forms widget so that each time a form is submitted and I receive the email I automatically get a number like Form number 0001 has been submitted? Also is there a way to send the person who submitted the fo