Need to copy CMS data base from MySQL to oracle

Hi,
Right now our CMS data base is My SQL and we are planning to use oracle db as CMS data base. For that we will copy all CMS tables from My SQL to oracle. But I am not sure whether we can copy My SQL db to oracle db using copy option of script cmsdbsetup.sh.
Below are my environment details:
============================================
Product: BO XI R3.1
OS: Linux
CMS DB: My SQL
Aplication server: Aapche-Tomcat
============================================
Let me know whether I can copy CMS My SQL data base into Oracle data base using copy option of cmsdbsetup.sh script.
Thanks,
Swapnil Rodge.

hillelhalevi wrote:
I don't have TOAD nor any other tool for querying the database.  I'm wondering how I can load a large data set from an Oracle table onto my desktop using Excel or Access or some other tool using ODBC or not using ODBC if that's possible.  I need results to be in a .csv file or something similar. Speed is what is important here.  I'm looking to load more than 1 million but less than 10 million records at once.   Thanks.
Use Oracle's free Sql Developer
http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
You can just issue a query like this
SELECT /*csv*/ * FROM SCOTT.EMP
Then just save the results to a file
See this article by Jeff Smith for other options
http://www.thatjeffsmith.com/archive/2012/05/formatting-query-results-to-csv-in-oracle-sql-developer/

Similar Messages

  • Data transfer from MySQL to Oracle Urgent!

    Hi All,
    We have a table in MySQL database and we need to transfer a subset of its data over to Oracle table. The table in MySQL is big, so we created a temp table trying to do it several times. The question is, we set the the primary key column in both MySQL temp table and Oracle table ( a varchar column), when we transfered the data over using "insert into table_name select * from table_name@hsdobc", Oracle always gave the "Null value for not Null column" error, and it's only existed for one row no matter how many rows we want to transfer, but MySQL temp table has no such null value for the primary key column, it's very strange. Anyone knows what the problem might be? Thanks very much in advance.

    Hi, thanks for your answer. I checked the MySQL table again, and found that in both the original table and the temp table, there is a row with the primary key column value "null". Don't know what happened? Probably it's a MySQL bug.
    It's not Primary Key NULL value. If your new Oracle Table has ANY column defined
    NOT NULL and while inserting you have at least one value in one row of coming data is NULL - It will fail. You need either to drop NOT NULL constraint for that
    column(s), or provide value for it.
    Also you can drop that NOT NULL constraint, Insert your data as is,
    Update your data to get rid off all NULLs and put NOT NULL constraint back on.
    ALTER TABLE MY_NEW_TABLE MODIFY MY_NEW_COLUMN NULL;
    UPDATE MY_NEW_TABLE SET MY_NEW_COLUMN = 'Some_Value';
    ALTER TABLE MY_NEW_TABLE MODIFY MY_NEW_COLUMN NOT NULL;

  • How to handle DATE type problems in migrating from mysql to oracle.?

    Hi,
    I'm migrating only the data from mysql to oracle with the help of sql loader.But with this type i cannot able to insert the date values from mysql to oracle.In mysql i have defined date as "DATETIME" type and in oracle it is in TimeStamp.Whenever i'm inserting the values thru CTL file ,i'm getting an error invalid date format entered.How to solve this problem?
    Thanks in Advance
    JAI

    you need to supply a mask to the timestamp entry. see http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_field_list.htm#i1006714 for details on datatypes within the ctl file
    B

  • Get data from a Data Base in MySQL

    Hi guys,
    I'm developing an app for my exam at school. In this app I need to query my Data Base to get my data and to create a table.
    The purpose of my app is to create a list of songs that a DJ has played during a concert and automatically create a table with the song titles, artist name and date of the concert. All of these information are already stored in the Data Base.
    I created an interface in Xcode where the user types in the DJ name and the date. I want to query the Data Base with these information and create a table that can be view directly on the iPhone. I think that I can send the text contained in the text field to a PHP page and then the PHP page does the query.
    Is it possible doing this? Can you help me with the code?
    If you need any explanation just ask me.
    Thank you very much!
    Angelo

    Thanks for the reply, I found the problem, i was returning no.sentDate in the form YYYY-MM-DD and method getTime doesn't like so it was returning null, so what I have done was cast(no.sentDate as datetime) and also store the difference of the dates as a long variable as I need the difference between the dates not the day of the month.
    My code now looks like this:
    conWorkPartyID = con.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
    String sWorkOrderID = "select co.orderPartyid, no.workOrderListPartyid, wl.workOrdListDesc, cast(no.sentDate as datetime) as newDate from contractorOrders as co "+
    "left join newOrders as no on no.orderPartyid = co.orderPartyid "+
    "left join workOrderList as wl on wl.workOrderListPartyID = no.workOrderListPartyid "+
    "where co.flagSentToContractor = 0 and co.contractorPartyid =" + sCompany;
    cWorkPartyID = conWorkPartyID.executeQuery(sWorkOrderID);
    while(cWorkPartyID.next()){              
    Object x = cWorkPartyID.getObject("co.orderPartyid");
    Object y = cWorkPartyID.getObject("no.workOrderListPartyid");
    Object z = cWorkPartyID.getObject("wl.workOrdListDesc");
    Date dateTest = cWorkPartyID.getDate("newDate");
    Date Now = new Date();
    System.out.println("dateTest is: " + dateTest.getTime());
    long dif = ((Now.getTime() - dateTest.getTime())/86400000);// milliseconds to days
    System.out.println("Order PartyID that require your attention is : "+ x + " and workOrderPartyid: " + y +" and WorkOrderListDesc: "
    + z + " and the sent date is: "+ dateTest + "and the difference between the insertDate and the today is in days: "
    + dif);
    cWorkPartyID.close();
    Any other suggestions are welcome.
    Thanks for answering so soon.
    Good night!

  • Copy data from mysql to oracle database help?

    Im an sql newb and trying to understand how I can automatically copy data from one dtabase to another systems database on the same server.
    We have two differnt applications, but both share customer information, but one is on a win server, while the other is on oracle.
    Each time a customer contacts us via online chat (win server, mysql), we want to copy their entire chat transcript into our CRM's (oracle) customer account. So the folks that use the CRM can see the past chat histories. I hope this makes sense.
    Where can i look to get started on this?
    Thanks

    You could look at Heterogeneous Services (see the forum here Heterogeneous Connectivity but if you want to push data from mysql to oracle you might be better looking at it from the mssql side. I don't know what they offer.
    It might be simpler to do it at the client end. ie cut and paste from the online chat application into a new utility which inserts into the oracle database.
    Incidentally, this forum is specifically for the SQLDeveloper tool. You might get more general help in the "database - general" or "sql and pl/sql" forums

  • We need to copy planning..etc from simulation version 002 to version 000,

    Hi experts,
    Our simulation Version is 002 and Active Version is 000
    We need to copy planning..etc  from version 002 to version 000, how to do. Explain me  elaborate
    Regards,
    moon

    Hi Moon,
                   There are two things in Copy Version Management.
    1) Copy the master and transaction data from active to simulation version.
    Transaction - /SAPAPO/VERCOP in this you can not copy from Simulation to Active.
    2) Merge the Planning Versions.
    Transaction - /SAPAPO/VERMER in which you can copy the planning area keyfigures from simulation version to Active Version.
    Regards,
    Saurabh

  • Importing music, artwork and data base from external hard drive

    I purchased a MacBook to use primarily as a music server. I have an external hard drive with over 300GB of music files ripped from CDs in Apple Lossless with a computer using Windows XP. I also have another external hard drive formatted for the Mac. My goal is to attach both drives to the MacBook via USB and transfer the music files, album art, and iTunes data base from the Windows system hard drive to the new Mac formatted hard drive. Then I am going to reformat the Windows system hard drive to the Mac format and use it as a back up for the other hard drive. Has anyone ever done something similar? If so, I would appreciate some guidance. If possible, I want to do the above so that the file names and artwork from the Windows itunes system do not get changed or left out when making the transfer to the Mac system. All music files will still be in ALAC. Thanks to all for your help.

    Lots of programs out there from which to choose. In the meantime, don't access the drive.
       18 Free Data Recovery Software Tools
    -Jerry

  • My wife just got the new macbook air. What cable do I need to copy music and photos from my 2007 macbook to the new macbook air?

    my wife just got the new macbook air. What cable do I need to copy music and photos from my 2007 macbook to the new macbook air?

    Try doing it without a cable!
    Use AirDrop, described here:
    http://support.apple.com/kb/HT4783
    UPDATE - Oh, sorry, I see the article points out the MacBook is too old for AirDrop.
    Message was edited by: sberman

  • I need to copy all my texts from my iPhone 5 to my new iPhone 6

    I have just bought the new iPhone 6 and I need to copy all my texts  from my iPhone 5

    You need to restore your iPhone 6 from the backup you made of your iPhone 5.

  • Need to check the data flow from R/3 to BW server.

    Hi BI experts,
    This query is regarding need to check the data flow from R/3 to BW server.
    As of now I have some set of reports which I would need to take up in BW. The requirement is  to go through the list of transaction codes for reports in R/3 and find out if there are already  any existing objects in BW system which I can use for these reports.
    So, can u plz help me.

    Depends what are your Tcode or Reports users run in R/3 and they want the same in BW.Then in BI Content we have Out of the box Delivered reports.You can activate those Load data and use it.
    Gimme T-codes you have I can send you Standard reports in BI or Cube you can get these from.
    ~AK

  • Migrating from MySQL to Oracle 11g

    can u tell me the steps to migrating database from MySQL to Oracle using SQL Developer?
    I have installed Oracle 11g(11.1.0.6.0) in server and SQl Developer in my local system.
    I connected to MySQL and Oracle in SQL Developer and tried to MIgrate everything in MySQL to Oracle using Quick Migrate option.
    it took one and half day but didn't work at last...
    is there any pre tasks that i need to do before migrating to oracle from MySQL?
    and also when i export the MySQL data to Oracle using SQL Developer,it is giving data type mismatch errors like (date, boolean etc...).
    please give a reply what i need to do and any refferences also very much appreciated.

    hi Turloch ,
    I followed the steps mentioned above.
    When I right click my MySQL server db Connection and click "Capture MySQL server", it just shows a dialog with "Close" enabled.
    after clicking the close button, it gives following error messages.
    oracle.dbtools.metadata.persistence.PersistableObject.doInsert(PersistableObject.java:238)
    the same error is coming no of times.
    Kindly help me in this regard.

  • Best practice for loading from mysql into oracle?

    Hi!
    We're planning migrating our software from mysql to oracle. Therefore we need a migration path for moving the customer's data from mysql to oracle. The installation and the data migration/transfer have to run onto different customer's enviroments. So migration ways like installing the oracle gateway and connect for example via ODBC to mysql are no option because the installation process gets more complicated... Also the installation with preconfigured oracle database has to fit on a 4,6 GB dvd...
    I would prefer the following:
    - spool mysql table data into flat files
    - create oracle external tables on the flat files
    - load data with insert into from external tables
    Are there other "easy" ways of doing migrations or what do you think about the prefered way above?
    Thanks
    Markus

    Hi!
    Didn't anyone have this requirement for migrations? I have tested with the mysql select into file clause. Seems to work for simple data types - we're now testing with blobs...
    Markus

  • Out of memory error in migrating from mysql to oracle

    Hi,
    I'm trying migrate from mysql to oracle9i. The hardware and software requirements are matching or even much higher than mentioned in the documentation. I have installed OMWB is properly(hope so). When I try to migrate the desired database from mysql to oracle, the repository, the Oracle model are created successfully. But while migrating data, say for around 35000 rows insertion everything works pretty fine. But after sometime, the migration stops and no error or anything appears in the screen.And in the Errorlog I get "OutOfMemoryError".
    I tried to migrate single table also. But I still get this problem after sometime. The tables may contain from 10 - 130000 rows...
    I even tried to change the %JRE..% memory value to 64M or 128M in the omwb.bat file and the O/s is Microsoft Windows XP, RAM 256MB.
    Any help is much appreciated.
    Thanks in advance.

    Hi Viji,
    did the message in the error.log provide any extra information? For example, was the OutOfMemory error prefixed with a string
    like "cannot create new native thread" ? My suggestion to workaround the problem would have been to increase the JVM heap size to 128
    but this appears to have been unsuccessful for you. Can you send a mail to the Migration Workbench support services
    ([email protected]) explaining the problem, and attach the full error.log file please ? (please also copy me on the mail).
    In the meantime, you can workaround this by migrating the schema only (there is a switch on step 3 of the migration wizard asking:
    "Do you want to migrate the table data to Oracle?" - just select the "No" option). When the schema has migrated, you can then use the
    offline data loading facility to migrate the data. This uses data extraction scripts and SDQL*Loader to migrate the data to the target
    Oracle database.You can learn more about the offline data loading facility from the plugins referenceguide (from the Help menu in
    the Migration Workbench).
    I hope this helps,
    Tom.

  • How to load date field from a remote Oracle DB with DB Connect

    Hi,
    Does any one have experience extracting Date field from a remote Oracle database through DB Connect to BW?  I am experiencing data format issue.  The extracted data shows '04-Oct-0' for '10/4/05'.  It works fine if I create a view in Oracle database to preformat the data to '20051004'.  But, I am not allowed to create view in Remote DB.
    Any suggestion is very appreciated.
    Regards,
    Frank

    You have to change it to a varchar2 field. YYYYMMDD. I do not know of any other option.

  • Translating SQL from MYSQL to ORACLE with more than one outer join.

    I will translate the following sqlquery from MYSQL to ORACLE:
    SELECT ticket.ticket_no,ticket.ticket_dato,ticket.ticket_subject,ticket.customer_id,customer_name,ticket.ticket_own_read, ticket.department_id, department.department_name, priority_name, tickstat_name, tickettype_name
    FROM customer, ticket left join department
    on ticket.department_id = department.department_id left join priority on ticket.priority_id = priority.priority_id
    left join ticketstatus on ticket.tickstat_id = ticketstatus.tickstat_id
    left join tickettype on ticket.tickettype_id = tickettype.tickettype_id
    where ticket.customer_id = customer.customer_id and customer.owner_id =
    #session.owner_id#
    I have tried in ORACLE with:
    SELECT ticket.ticket_no,ticket.ticket_dato,ticket.ticket_subject,ticket.customer_id,customer_name,ticket.ticket_own_read, ticket.department_id, department.department_name, priority_name, tickstat_name, tickettype_name
    FROM customer, ticket ,department, priority, ticketstatus, tickettype
    where
    ticket.department_id(+) = department.department_id and
    ticket.priority_id(+) = priority.priority_id and
    ticket.tickstat_id(+) = ticketstatus.tickstat_id and
    ticket.tickettype_id(+) = tickettype.tickettype_id and
    ticket.customer_id = customer.customer_id and customer.owner_id = #session.owner_id#
    I get an error:
    MERANT][ODBC Oracle driver][Oracle]ORA-01417: a table may be outer joined to at most one other table
    How do I translate the code to ORACLE?

    I think that your syntax is wrong. The (+) operator should be on the right hand table column, not the left hand table column if you want all rows on the left hand table column. If this syntax is really what you want, you can create underlying views for each join condiction.

Maybe you are looking for

  • Customizing the code inspector with check for two executable statements in same line

    Hi Everyone, I have a reuirement to customize the code inspector.I need to create a check 'Two executable statements should not be in the same line'. While doing so i am facing one problem as in internal table it is capturing the report as word by wo

  • Transport COPA new value field

    Hello SAP Experts, I have created a new COPA value field. Now i would like to transport the same to Test (Acceptance or Quality) server, can you kindly let me know how can i proceed with this. Your inputs are highly appreciable in this regard. Many t

  • Kernel panics, spinning wheel and restart dialogs on startup

    That's it! Time for a little help from you guys and gurus before I chuck my iMac out the window. Configuration info: iMac G5 PowerMac8,1 PowerPC G5 (3.0) CPU's 1 1.8 GHz L2-cache 512 K Memory: 2 GB 600 MHz Boot ROM-version: 5.2.2f4 System: System: Ma

  • STD Process code for PR

    Hi...Is there an SAp std process code that uses the FM - IDOC_INPUT_PREQCR PR creation regards, Arvind R

  • PC user with obvious (or not) questions about iChat AV

    Hi, I apologize in advance if this had been discussed or is blantantly obvious to old and new mac users, but I couldn't find it in the forums. I'm going to buy a new macbook in the next few months, but I was wondering if iChat cost anything to get so