Sql Developer MSSql Migration, Online data move, image to long raw mapping

Hello,
my task is to migrate a MSSql Server Database to Oracle 10.2.0.4 with SQL Developer Version 2.1.1.64
and JTDS JDBC Driver oracle.sqldeveloper.thirdparty.drivers.sqlserver 11.1.1.58.17.
Capture, convert and online data move works except data mapping from MSSql image to Oracle long raw dataype.
I need to map MsSql image to oracle blob, to achieve online data move!
is Sql Developer online migration MsSql image to oracle long raw possible?
I know that long raw is outdated, but i'm dba and not responsible for the software part.
What options should i try? offline data move? can MS Bulk Copy Program export image data and SQL*Loader import into long raw?
Any experience or tipp?
Thanks
Michael

Hi user12132314 ,
I do not see any 'long raw' options on our current SQLServer 2005 data type mapping. (Raw is a separate 2000 byte data type).
The usual route for SQLDeveloper is to go to Blob.
Online - this is simple & automated.
Offline - this actually goes via hex output in bcp to sqlldr, read in as CLOB which is then encoded to blob. (This is automated)
(Online 'Copy to Oracle' option, right click on table, may be of use if advanced features not included in the select such as defaults are not required, it copies over a select * from table, including blobs)
To move you from blob to long raw after migration can be done (easily enough if Oracle database >=10g so the stream does not have to be in smaller 'chunks')
http://asktom.oracle.com/pls/asktom/f?p=100:11:3938270166267830::::P11_QUESTION_ID:702825000306
I can look into this if you want to go down this route.
Note however that long raw has drawbacks and blob is preferred, see
Oracle® Database SQL Language Reference
11g Release 2 (11.2)
Part Number E17118-04
Data Types
LONG Data Type
for example one restriction is:
A table can contain only one LONG column.
-Turloch
SQLDeveloper Team

Similar Messages

  • SQL Developer not migrating Sybase data

    Hi,
    I am trying to migrate data using the SQL developer tool from a Sybase database to Oracle 11g. When using the Migration Repository, I am able to recreate the schema but am not able to export the database content. (i.e. Not able to do the Data Move). I tried doing a Offline migration but the generated datamove files does not have any content. Anyone aware of any issue with the data migration tool with SQL developer ?
    I have tied exporting data from the table directly to generate SQL inserts but even this is not helping. Any suggestions ?
    Regards,
    Nelson

    Hi Nelson,
        Could you detail the exact steps you followed and what options you chose at each of the panels in the migration steps ? this will help to see where you may be having problems.
    Regards,
    Mike

  • SQL developer online data move

    Hi,
    I am using SQL developer 2.1 to migrate tables from Sybase 12 database to oracle 11g.
    I have used online data move option for moving sybase data into oracle tables, but even after data move is completed not all rows have been moved from sybase tables to corresponding oracle tables. Some rows are missing but still there is no error messege being displyed, how to find out what's going wrong.
    Is there any log file that is being generated in case of oracle sql developer?
    Please help me with this.

    Hi Mandark,
    This is a weakness of SQL Developers online datamove.
    It doesn't have logging and you cannot tweak the data move itself.
    It very basic SELECT * FROM -> INSERT INTO ... under the covers.
    If some rows are failing to be inserted,but some rows are being inserted, in the same table.
    Then my guess is that the data in some rows doesn't "fit" into the target row/column.
    And the datatype mapping used to convert the tables/columns was not good enough.
    Ex: Sybase column of VARCHAR(10000) mapped to Oracle VARCHAR2(4000).
    Some data which is greater than 4000 chars.
    Which causes the insert to fail for those rows with >4000 chars. But ok for other rows.
    The solution (in this example) is to map Sybase VARCHAR(100000) to Oracle CLOB.
    You can specify the data type mapping in the Convert page of the migration wizard.
    Another workaround is to use Copy To Oracle.
    http://dermotoneill.blogspot.com/2010/11/copy-to-oracle.html
    This is a very simple data move feature again. But it works slightly differently than Online Data Move.
    It has no logging or tweaking either, but may do the job "online" for you.
    You should temporarily turn off any check constraints, triggers, keys on each table you want to move data with using this method.
    If all those fail, then the only sure fire way would be to use Offline Data Move.
    Regards,
    Dermot
    SQL Developer Team.

  • SQL Developer 4.0 EA3: Data Miner Repository Migration Issue

    If you are attempting to migrate a existing Data Miner repository using SQL Developer 4.0 EA3, please review the following Data Miner forum posting.
    Thanks, Mark
    Data Miner Extension in SQL Developer 4.0 EA3 Release: EA3 Repository Migration Failure

    Hi Gustavo,
    It appears your Service SFTP user was not created correctly. Please contact support and mention the fact that your Service SFTP user appears on Security/Users tab and not on Security/SFTP Users tab.
    Vlad

  • How to get the exact sql developer which used for data migration?

    Hi all,
    Hope doing well,
    Sir i seen a link for data migration that is : http://www.oracle.com/technetwork/developer-tools/sql-developer/sql-server-connection-viewlet-swf-089886.html
    in this link when they are connecting to sql database so after clicking on new connection four tab is showing that is oracle, access, my sql, sql server.
    i downloaded latest version of sql developer which version is: 3.02.09.30 when i opened this i am not getting those option.
    and one more thing i am not getting miragation menu name in menu items.
    please help me.
    thanks and regards

    Hi,
    To connect to non-Oracle databases from SQL*Developer youneed to download the relevant JDBC driver.
    This is detailed in the documentation in the User Guide -
    http://docs.oracle.com/cd/E35137_01/appdev.32/e35117.pdf
    in the section -
    Database: Third Party JDBC Drivers
    The Third Party JDBC Drivers pane specifies drivers to be used for connections to third-party (non-Oracle) databases, such as IBM DB2, MySQL, Microsoft SQL Server, or Sybase Adaptive Server. (You do not need to add a driver for connections to Microsoft Access databases.) To add a driver, click Add Entry and select the path for the driver:
    ■For IBM DB2: the db2jcc.jar and db2jcc_license_cu.jar files, which are available from IBM
    ■For MySQL: a file with a name similar to mysql-connector-java-5.0.4-bin.jar, in a directory under the one into which you unzipped the download for the MySQL driver
    ■For Microsoft SQL Server or Sybase Adaptive Server: jtds-1.2.jar, which is included in the jtds-1.2-dist.zip download
    ■For Teradata: tdgssconfig.jar and terajdbc4.jar, which are included (along with a readme.txt file) in the TeraJDBC__indep_indep.12.00.00.110.zip or TeraJDBC__indep_indep.12.00.00.110.tar download
    To find a specific third-party JDBC driver, see the appropriate website (for example, http://www.mysql.com for the MySQL Connector/J JDBC driver for MySQL, http://jtds.sourceforge.net/ for the jTDS driver for Microsoft SQL Server and Sybase Adaptive Server, or search at http://www.teradata.com/ for the JDBC driver for Teradata). For MySQL, use the MySQL 5.0 driver, not 5.1 or later, with SQL Developer release 1.5.
    You must specify a third-party JDBC driver or install a driver using the Check for Updates feature before you can create a database connection to a third-party database of that associated type. (See the tabs for creating connections to third-party databases in the Create/Edit/Select Database Connection dialog box.)
    Regards,
    Mike

  • SQL Developer Quick Migrate error

    I am attempting to migrate my databases from SQL Server 2000 to Oracle 11g. I am attempting to use the quick migrate feature of Oracle SQL Developer and receiving an error, the same error for every database during the build stage. The error is as follows. Any ideas as to resolve this error?
    Error starting at line 2 in command:
    CREATE TABLE EMPLOYEE (
    Error at Command Line:2 Column:23
    Error report:
    SQL Error: ORA-00904: : invalid identifier
    00904. 00000 - "%s: invalid identifier"
    *Cause:
    *Action:
    Commit
    Oracle 11g on Windows XP and version 1.2.1.32.13 of sql developer
    Brian

    Hi Brian,
    There are 2 ways to migrate your database to Oracle using SQL Developer.
    1)Normal Migration
    *This is the standard way of migrating a database
    2)Quick Migrate
    *Quick Migrate is basically the "Normal Migration" with all the defaults chosen and each phase capture/convert/generate  and data move performed for you.
    *Requires very little intervention and tries to complete the entire migration in 1 go.
    *Suitable for only small databases and trying out the tool
    *Does not allow you to modify anything during the migration
    "What do you mean perform the capture of the SQL Server DB then convert and generate? "
    I would suggest having a look at this viewlet. A SQL Server Migration ("Northwind") is performed.
    http://www.oracle.com/technology/tech/migration/workbench/viewlets/sqlserver.html
    The steps are outlined in the doc here
    http://download.oracle.com/docs/cd/E10405_01/doc/appdev.120/e10406/migration.htm
    You can find more viewlets here
    http://www.oracle.com/technology/tech/migration/workbench/files/sdmwb_viewlets.html
    And the main SQL Developer Migration Workbench OTN page (which links to everything) here
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    So once, you capture/convert and generate your script to create your Oracle database. You should be able to identify the exact problem with the DDL.
    Regards,
    Dermot.

  • SQL Developer - problems with the Data Modeller part

    Hi SQL Developer users,
    I can open the Data Modeler pane, but I can't insert any object into the logical model or into the relational model. Any ideas about what I'm doing wrong? Do I need specific privileges to the database, or do I need to install SQL Developer in a different way?
    Thanks,
    Csisz

    Hi Csisz,
    as Ivaylo wrote - it's Data Modeler Viewer into SQL Developer.
    I can't insert any object into the logical model or into the relational modelYou can drag tables from SQL Developer browser and drop them on relational model diagram. If you keep Ctrl key pressed then all child tables also will be imported and shown on diagram.
    Philip

  • SQL Developer 1.5 - Exporting Data

    Hi,
    I am using SQL Developer 1.5 and trying to run query and asving the data to to file but having following problems.
    1) How to save data as pipe or other delimitted data in text file?
    2) when i am saving as text file, its taking longer but when its done, it shows 0 kb.
    Appreciated your help!
    Thanks,
    poratips

    This issue has been fix in version 2.1 that is YET TO BE RELEASED. There are no known work arounds for this issue in 1.5.

  • SQL Developer 3.2 - Exporting data with TIMESTAMP datatype

    Hi,
    We have users that are attempting to export data with the Timestamp format to Excel (xls format) using SQL Developer 3.2.  When attempting to sort the Timestamp in either asc or desc order, Excel is having issues sorting correctly.  I suggested that the user just do all the sorting within their SQL Developer session but they require the ability to slice and dice in Excel.
    This is definitely not an issue with Excel as the users have previously exported Timestamp data from Toad and been able to sort without issue.  Any thoughts as to what might resolve this issue? 
    Thanks.

    We're not formatting timestamps in Oracle as numbers/dates in Excel. They'll need to properly format the Excel column/cells to get it to sort the way they want vs being treated as simple strings.

  • Sql developer: question about exporting data

    Hi,
    we're recently working with sql-developer. i've got a question about how we can export query results to txt/csv files for use in other applications.
    First a problem: if we start a query that looks like this:
    select * from
    select * from A where start_date = &date
    ) a,
    select * from B where start_date = &date
    ) b
    where a.name = b.name
    Sql-developer asks twice to input a value for the variable 'date', although it's the same variable and it's supposed to have the same value.
    We solve this by making a script:
    first we define the variable, then we put the query.
    When we start the script, the query runs ok and sql developer asks to input the value for the variable once.
    But now the result of the query is shown in the script output. The script output seems to be limited in number of lines and difficult to export.
    So my question is: what's the best way to export query results to txt/csv files, avoiding the problem mentioned above?
    i hope there is a solution where we can use a single query or script.
    Thanks in advance!

    Using bind variables like ":date" should solve the problem of being asked twice for the same thing.
    Executing the query normally (F9), gives you the export options you require through the context menu inside the Results grid.
    Regards,
    K.

  • SQL Developer MSSQL 2012 to Oracle 11GR2 issues

    I have an instance of SQL that I want to migrate over to Oracle 11G R2 as a POC.  I was playing with the SQL Developer tool and was able to connect to both of my instances.  However during the "Migrate to Oracle" function I am getting an error.  With the SQL Dev 3.2.2 I was using jdk1.6.0_45 and jtds-1.2.jar.  So I decided to install SQL Developer 4 to see if there's any other issues.  With SQL Dev 4, I was using jdk1.7.0_25 and jtds-1.3.1.jar, which also errored out.  Now the question is... how do I migrate?  On the Step 4 of 10, "Source Database", when I choose the SQL instance and click next I get the following error:
    java.lang.NullPointerException
    at oracle.dbtools.migration.capture.CaptureCmd.getListOfOnlineSourceDatabases(CaptureCmd.java:1250)
    at oracle.dbtools.migration.capture.MSSqlServerDatabaseListProvider.getAvailableOnlineDatabaseList(MSSqlServerDatabaseListProvider.java:61)
    at oracle.dbtools.migration.capture.DatabaseProviderRegistry.getAvailableDBListOnline(DatabaseProviderRegistry.java:41)
    at oracle.dbtools.migration.workbench.core.ui.quickmigrate.QMWizard$ContextHelper.getAvailableDBListOnline(QMWizard.java:369)
    at oracle.dbtools.migration.workbench.core.ui.quickmigrate.CapturePageMigration.initPageState(CapturePageMigration.java:307)
    at oracle.dbtools.migration.workbench.core.ui.quickmigrate.CapturePageMigration.onEntry(CapturePageMigration.java:78)
    at oracle.ide.wizard.FSMWizard.gotoPanel(FSMWizard.java:765)
    at oracle.ide.wizard.FSMWizard.setSelectedPage(FSMWizard.java:481)
    at oracle.bali.ewt.wizard.BaseWizard.selectPage(BaseWizard.java:1966)
    at oracle.ide.wizard.FSMWizard.selectPage(FSMWizard.java:465)
    at oracle.ide.wizard.FSMWizard.doNext(FSMWizard.java:340)
    at oracle.bali.ewt.wizard.BaseWizard$Action$1.run(BaseWizard.java:4033)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
    at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
    at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
    at java.awt.Dialog.show(Dialog.java:1082)
    at java.awt.Component.show(Component.java:1651)
    at java.awt.Component.setVisible(Component.java:1603)
    at java.awt.Window.setVisible(Window.java:1014)
    at java.awt.Dialog.setVisible(Dialog.java:1005)
    at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
    at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
    at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:51)
    at oracle.dbtools.migration.workbench.core.ui.quickmigrate.QMWizard.launch(QMWizard.java:1444)
    at oracle.dbtools.migration.workbench.core.QMLauncher.launch(QMLauncher.java:40)
    at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:196)
    at oracle.ide.controller.IdeAction$ControllerDelegatingController.handleEvent(IdeAction.java:1482)
    at oracle.ide.controller.IdeAction.performAction(IdeAction.java:663)
    at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:1153)
    at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:618)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
    at java.awt.Component.processMouseEvent(Component.java:6505)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
    at java.awt.Component.processEvent(Component.java:6270)
    at java.awt.Container.processEvent(Container.java:2229)
    at java.awt.Component.dispatchEventImpl(Component.java:4861)
    at java.awt.Container.dispatchEventImpl(Container.java:2287)
    at java.awt.Component.dispatchEvent(Component.java:4687)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
    at java.awt.Container.dispatchEventImpl(Container.java:2273)
    at java.awt.Window.dispatchEventImpl(Window.java:2719)
    at java.awt.Component.dispatchEvent(Component.java:4687)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    at java.awt.EventQueue$4.run(EventQueue.java:708)
    at java.awt.EventQueue$4.run(EventQueue.java:706)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
    at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

    Harri,
    Have a look at SQLines tools at http://www.sqlines.com/sql-server-to-oracle
    Dmitry

  • SQL Developer to migrate SybaseIQ to Oracle

    Hello all,
    Is SQL Developer compatible for database migration from SybaseIQ 15.4 to Oracle 11gR2?

    Hi,
       SQL*Developer only supports Sybase Adaptive Server for migrations but not Sybase IQ.
    The following URl shows the supported versions -
    Supported Migration Platforms
    Regards,
    Mike

  • Can you use SQL Developer against non Oracle data bases?

    If so, then how do you define the connection for non Oracle data bases?

    Look, SQL Developer has got to be a 'gateway' into Oracle DBs from other databases. JDBC allows simple introspection and execution of SQL commands. So the 'explain' button won't be available, or some of the DDL stuff, big deal! Let them get a taste of what they are missing by not having an Oracle database.
    If we can get non-Oracle developers (especially MS SQL Server) to use SQL Developer it will expose them to the superiority of the Oracle DB server.
    If they have heterogenous services installed they are already an Oracle customer -- we have little additional DB server sale opportunity there. SQL Developer is a really sweet tool and it could be a real draw into the DB server sales.
    SQL Developer must be easily usable by non-Oracle customers in order to help us sell the DB server to them!

  • Sql developer error -No more data to read from socket

    Hi
    I have installed SQL Developer 10.5.5 on my mac os x.5
    and oracle data base is 10.2
    when i am making a new connection from sql developer i am getting this error
    NO MORE DATA TO READ FROM SCOKET
    I tried searching blogs but no luck yet.
    can any one help me....
    Thanks a lot!

    That's typically an error on the database side. When I see it it I know the database is down and once I bring it up, then all is good again. Once the database is up and running, you then start SQL Developer and create a new connection? What type of connection are you creating?
    Sue

  • SQL Developer Quick Migration wizard does not list the connections

    Hi,
    I have downloaded SQL Developer 2.1 and installed it in a different folder with the option to import connection definitions from the previous version (1.5). However, when using [Quick Migration], the connections do not appear in the dropdown. Even if a new one is created...
    Does anyone know if there is a workaround ?....
    Thank you.

    Hi Boris,
    I see the confusion.
    SQL Developer "Migration" features relate to non Oracle databases, like Sybase, Microsoft SQL Server, DB2, ...
    So Quick Migrate allows you to choose a non Oracle database (connection) to migrate to Oracle.
    Moving from Oracle 10g to Oracle 11g is really a Upgrade, although sometimes the word migration is used to confuse everyone :)
    If you a upgrading an Oracle Application to Oracle 11g then there would be a specific process, check otn for this.
    If you are upgrading your own Oracle database to Oracle 11g, then there are a number of ways.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/toc.htm
    http://kubilaykara.blogspot.com/2008/02/upgrade-oracle-10g-database-to-oracle.html
    SQL Developer itself has a Database Copy and Database Export.
    Have a read of the doc to see which one suits.
    Regards,
    Dermot.
    SQL Developer Team

Maybe you are looking for

  • Windows 7 on Mac Mini 2009

    Hi I did install Win 7 64 usisng bootcamp app on my SL installation. Win 7 works fine, but the Boot Camp driver from my SL DVD wont install. It quits with an requester saying: 'boot camp x64 is unsuported on this computer model' I checked sveral time

  • Chinese characters in Jdeveloper 11g

    I use Jdev 11g to create ADF application to access the BPM standalone 10g. The userID is in Chinese characters and using it can login BPM. In Jdeveloper 11g, if I use the following code, it shows error and change the Chinese characters to mess code:

  • HT204291 Problem with AirPlay logo

    The AirPlay logo doesn't appear in the menu bar on our iPad. Any suggestions to solve this are most welcome. Thank you.

  • Editable graphics with java?

    hello , I have to create a gui where the user can view an image of the local network. think this would work with a jpg, but the problem is that it should be possible to edit the machines to change their names and also to change the network-graphic -

  • Webservices in the Developer Suite

    Hello, I have an outstanding question relating to the Webservice Plugable data source (WSPDS) for Oracle Reports. Unfortunately it hasn't recieved a lot of attention. As the WSPDS is a SOA (related) plugin, perhaps members of the SOA Integration foru