How to migrate sql server image type to oracle BLOB

In SQL Server table I have Image data type field. How to migrate image type field to oracle BOLB type field. I am using SQL server DTS to transfer the data.
If we map, will it care ?
Thanks,
Venkataraman L

Hi you might want to post your question in General Forum.
General Database Discussions
There's very few users visit this forum.

Similar Messages

  • How to migrate SQL Server image data type to Oracle 8 BLOB data type?

    Hi,
    I have to migrate data from sql server to Oracle 10 g.
    I am unable to migrate image data type from sql server to blob data type in oracle.
    Iam using Oracle Heterogenous Services to migrate the data,Using Merge statement and database link.
    I am getting the following error-
    ERROR at line 7:
    ORA-00932: inconsistent datatypes: expected BLOB got LONG BINARY
    Can any one suggest me how to migrate Image datatype to BLOB???

    Hi you might want to post your question in General Forum.
    General Database Discussions
    There's very few users visit this forum.

  • SQL Server image column to Oracle BLOB

    Has anyone ever successful moved SQL Server (2000) image data to an Oracle BLOB.
    My first attempts are given me
    java.lang.NumberFormatException: For input string: "4294967295"
    errors when selecting from the source. Using "LKM SQL to Oracle" module. Is there something else I should be using?
    Thanks,
    -John

    I did, and also Bug 6870772... which suggests it's a bug not fixed in 10.1.3.5.
    Still curious if ANYONE in forum-land is doing this successfully, with built-in KMs.
    Am I out of luck?
    -John

  • Migrating SQL Server 7.0 to Oracle 8i in Different Operating Systems

    I am migrating SQL Server 7.0 Databases on NT to Oracle 8i on Sun 2.6. Is there is any other way other then Migration Workbench.
    If Mig Workbench is OK. What are the steps to do Migration.
    null

    Hi,
    You can perform this action with the Oracle Migration Workbench. Just install the Workbench on the same machine as your SQL Server database.
    You can then configure the workbench to point to the oracle database on your Sun machine.
    You can use the Oracle database on your Sun machine for both your destination database (the database to which you migrate your SQL Server schema and data) and workbench repository.
    In order to do this you will need to configure a tnsnames.ora entry. The tool that will do this configuration for you should be started up at the end of the workbench installation. It is a fairly straightfoward process.
    You then need to create a user in your oracle database that will store the workbench repository.
    Once you have comleted these steps you will be able to migrate SQL Server on NT to Oracle on Sun.
    It is exactly the same process as migrating to Oracle on NT except you are pointing the Workbench to Oracle on a Sun box.
    Regards
    John

  • Migrate SQL Server 7.0 to Oracle 8i - Any known issues??

    Hi,
    I am in the process of migrating SQL Server database to Oracle 8i for testing purpose. When I do migrate SQL Server database to Oracle 8i, am I doing any harm to the exiting SQL Server database? Would the users be able to use SQL Server database as usual?? Are there any known issues in this regard?
    Please reply.
    Thanks.
    Ramesh

    The Migration Workbench copys the information it requires from the source database and stores it in the Migration Workbench Repository, which is separate from the Source database. So, to answer your question, yes, the users can continue to use the SQL Server database. The data move may cause some system performance degradation. It may also be an idea to replicate the SQL Server database, in case any complication should arise.
    Hope this helps
    Dan

  • Migration SQL Server 6.5 to Oracle 8.0.5

    I am migrating from SQL Server 6.5 to Oracle 8.0.5 using
    migration Workbench Ver. 1.2.2. The stored procedures are not
    migrated properly where temporary tables are used to store the
    intermediate results of a query on SQL Server 6.5 side. I want
    to look at the coding to create a temporary table with sessionid
    as part of table to make it unique for the session and the user
    on the oracle side using DBMS_SQL package. Any body can give me
    the coding ?
    null

    Surendra kumar (guest) wrote:
    : Oracle Migration Workbench Team wrote:
    : : Surendra,
    : : It seems like the workbench is trying to use 8i temporary
    : tables,
    : : which is the default, this option can be switched off.
    : : Note that there is an option on the Procedures, Triggers and
    : : Views to generate 8i temporary tables, switch this off if
    you
    : : want to work with 8.0 and have an additional sessionid
    column.
    : : This option can be set on all procedures (click on the
    : procedures
    : : category on the SQLServer model pane), or on a per procedure
    : : basis (click on the procedure in the left hand SQLServer
    model
    : : pane).
    : : Hope this solves your problem,
    : : Turloch
    : : Oracle Migration Workbench Team
    : : Surendra Kumar (guest) wrote:
    : : : I am migrating from SQL Server 6.5 to Oracle 8.0.5
    using
    : : : migration Workbench Ver. 1.2.2. The stored procedures are
    : not
    : : : migrated properly where temporary tables are used to store
    : the
    : : : intermediate results of a query on SQL Server 6.5 side. I
    : want
    : : : to look at the coding to create a temporary table with
    : : sessionid
    : : : as part of table to make it unique for the session and the
    : user
    : : : on the oracle side using DBMS_SQL package. Any body can
    give
    : me
    : : : the coding ?
    : : Oracle Technology Network
    : : http://technet.oracle.com
    I have used the correct option and the Migration Workbench is
    not creating the DDL statements correctly for the creation of
    table. Whatever may be the problem I want use DBMS_SQL for
    creation of unique table names with session id as part of the
    table name. I need a sample script to use session id as part of
    table name and to vary the name of the table dynamically in
    DBMS_SQL. It is not accepting the variable name for table name
    in create table statement.
    null

  • How to Migrate VM Server pool to Other Oracle VM Manager

    Hi,
    I want to move oracle server pool from One Oracle VM Manager to other VM manager.
    Can any one help me on how to migrate vm server pool to other VM Manager.
    Thanks & Regards
    YJR

    Hi,
    unfortunately I don't know of an easy supported way.
    The process itself is pretty similar to migrating serverpools to Enterprise Manager as described in this note:
    Migrating from Oracle VM Manager to Enterprise Manager Grid Control (Doc ID 807091.1)
    With the exception that you simply register the new pool in a new manager and then have to rediscover all VMs.
    So overall it is a simple "delete serverpool" and "create serverpool" with additional import of virtual machines.
    If during this steps a problem arise, you still can deconfigure everything and reregister with the new manager (with the help of cleanup.py).
    Regards
    Sebastian

  • Migrating SQL Server 6.5 to Oracle 8

    Hi,
    I am currently converting some stored procedures from SQL Server 6.5 to Oracle 8 (PL/SQL). I am having trouble converting some nested sql statements such as the following to work in Oracle.
    Example :
    SELECT antall=COUNT(*), ulest=(SELECT ulest=COUNT(*) FROM soknad s, annonse
    a WHERE a.kundeid=13817 AND s.annonseid=a.id and lest != '1') FROM soknad s,
    annonse a WHERE a.kundeid=13817 AND s.annonseid=a.id
    The Select is first getting a count on the two tables for a particular id, the second field in the statement has a nested select which does a similar count but has a further condition on it.
    It could be done using two SELECT statements like this -
    SELECT COUNT(*) AS antall
    FROM soknad s, annonse a
    WHERE a.kundeid = 13817
    AND s.annonseid = a.id
    SELECT COUNT(*)
    FROM soknad s, annonse a
    WHERE a.kundeid=13817
    AND s.annonseid=a.id
    AND lest != '1'
    which may be workable but I would like to keep it as similar to the original as much as possible.
    Any ideas would be great!
    Thanks,
    Brad

    I have since found out subqueries in the select list are not supported by Oracle.
    Brad
    null

  • How to migrate sql server 2000 user defined function returns table

    Hi,
    How do I capture the SQL Server 200 user defined function that returns table? Is this supported in the current version of Oracle Migration Workbench? I am using the latest version - Release 9.2.0.1.0 with SQL SERVER 2000 plug-in.
    I was able to capture the SQL Server 2000 user defined function that returns string and smalldatetime but not the functions return table during the migrate data source stage.
    Thanks in Advance,
    Susan

    Susan,
    This is not currently supported. The next release of the Oracle Migration Workbench (due very soon), will do a better job of catching this mad reporting an error. We are looking into a suitable mapping and have created bug # 2355073 - TABLE DEFINITIONS NOT ACCEPTED FOR TABLE FUNCTIONS to track this issue.
    Once possible solution we are looking into is using the object type to emulate. Here is an example from the bug:
    Original table
    SQL> create table tabela (a number, b number, c number, d number);
    SQL> insert some values...
    SQL> select * from tabela;
    A B C D
    1 1 1 1
    2 2 2 2
    3 3 3 3
    4 4 4 4
    SQL Server 2000 code
    CREATE FUNCTION FUNCRETORNATABELA()
    RETURNS TABLE
    AS
    RETURN SELECT A,B,C,D FROM TABELA
    SELECT A,B,C,D
    FROM FUNCRETORNATABELA()
    ORDER BY A
    Oracle code (workaround)
    SQL> create or replace type MyObjType as object (
    2 a number, b number, c number, d number);
    3 /
    Type created.
    SQL> create or replace type MyTabType as table of MyObjType;
    2 /
    Type created.
    SQL> create or replace function teste return Mytabtype pipelined as
    2 aa MyObjType := MyObjType(null, null, null, null);
    3 cursor c1 is select a,b,c,d from tabela;
    4 begin
    5 open c1;
    6 loop
    7 fetch c1 into aa.a, aa.b, aa.c, aa.d;
    8 exit when c1%NOTFOUND;
    9 pipe row (aa);
    10 end loop;
    11 close c1;
    12 return;
    13 end;
    14 /
    Function created.
    SQL> select * from table(teste);
    A B C D
    1 1 1 1
    2 2 2 2
    3 3 3 3
    4 4 4 4
    SQL> select a, c from table(teste) order by c desc;
    A C
    4 4
    3 3
    2 2
    1 1
    Donal

  • How to load a SQL Server Image datatype into Oracle

    I am trying to use the follwing procedure to transfer image datatypes from SQL Server into Oracle:
    DECLARE
       v_update_string   VARCHAR2 (200)
          := 'select face from multiMax.dbo.CardHolderFaceTable where cardid = 246979';
       v_result          VARCHAR2 (32767)          := NULL;
       CURSOR sql_server_conn
       IS
          SELECT connection_name, user_name,
                 securedata_pkg.decrypt_char (PASSWORD) PASSWORD
            FROM xxper.xxper_sql_server;
       s_rec             sql_server_conn%ROWTYPE;
    BEGIN
       OPEN sql_server_conn;
       FETCH sql_server_conn
        INTO s_rec;
       CLOSE sql_server_conn;
       v_result :=
          xxper_sql_server_utils.runsqlserverquery (s_rec.connection_name,
                                                    s_rec.user_name,
                                                    s_rec.PASSWORD,
                                                    v_update_string
       DBMS_OUTPUT.put_line (v_result);
       INSERT INTO scott_blob
            VALUES (v_result);
    EXCEPTION
       WHEN OTHERS
       THEN
          DBMS_OUTPUT.put_line (SQLERRM);
    END;This gives me 'ORA-06502: PL/SQL: numeric or value error: host bind array too small'
    I can change to another column on the SQL Server side and transfer fine, just not with Image datatypes.
    Not sure why this is happening, does anyone have any advice? Sorry, can't seem to post with my formatting intact.
    Edited by: user7726970 on Jun 8, 2009 4:53 PM
    Update, removing the 'DBMS_OUTPUT.put_line (v_result);' takes care of that error but no data is transferred. Confused.
    Edited by: user7726970 on Jun 8, 2009 5:14 PM

    hi,
    thank you for the response.
    when i call the sp using DBMS_HS_PASSTHROUGH, without parameters it works successfully, but with parameters it gives the following error
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC SQL Server Driver]Invalid parameter number[Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index (SQL State: S1093; SQL Code: 0)
    my code is,
    declare
    c INTEGER;
    nr INTEGER;
    begin
    c := DBMS_HS_PASSTHROUGH.OPEN_CURSOR@hsa;
    DBMS_HS_PASSTHROUGH.PARSE@hsa(c, 'Create_Receipt(?,?)');
    DBMS_HS_PASSTHROUGH.BIND_VARIABLE@hsa(c,1,'abc');
    DBMS_HS_PASSTHROUGH.BIND_VARIABLE@hsa(c,2,'xyz');
    nr:=DBMS_HS_PASSTHROUGH.EXECUTE_NON_QUERY@hsa(c);
    DBMS_HS_PASSTHROUGH.CLOSE_CURSOR@hsa(c);
    end;
    Create_Receipt is the sp which requires two parameters.
    please give me a solution
    thanking you
    sreejith

  • Migration SQL Server 7.0 to Oracle 8i

    Hi,
    I am trying to migrate a SQL Server 7.0 database to Oracle 8i using the latest version of the Migration Workbench tool. The source model is normally generated (I see my tables and other objects) but nothing is generated in the Oracle Model... What would be an explanation for this issue and how could I fix it ?
    Thanks in advance.
    Fabien

    Looks like the capture has gone OK but have you gone through the mapping phase?

  • How to convert SQL server stored procedures to Oracle 11g

    Hi Experts,
    In SQL server 30 stored procedures are there how to convert all the stored procedure
    from SQL server to Oracle 11g.
    Please help me,
    Thanks.

    ramya_162 wrote:
    In SQL server 30 stored procedures are there how to convert all the stored procedure
    from SQL server to Oracle 11g.
    The single most fundamental concept you need to understand (grok in its fullness) is:
    ORACLE IS NOT SQL-SERVER
    There is very little, to NOTHING, in common between T-SQL (a language extension to SQL) and PL/SQL (integration of SQL with the language Ada, part of ALGOL family of languages that includes Pascal and C++).
    So taking a T-SQL procedure and porting it as is to PL/SQL is plain stupid.
    Why?
    Oracle sucks at trying to be SQL-Server.
    So how do you migrate from SQL-Server to Oracle?
    By taking the REQUIREMENTS that the T-SQL procedures address, and addressing these requirements using Oracle SQL and PL/SQL.

  • Migrate sql server dump file to Oracle database on a network

    I have a sql server dump file provided to me by DBA's. I have to migrate this dump file to Oracle database on a network. Please suggest me the steps to do this.

    5c1ab566-05d1-4cc9-894a-fd1fe724c752 wrote:
    That would be a text file with around 100 records. I have migrate those records to oracle database. The firewall constraints doesn't allow me to create a link to that database. Will Migration workbench would be apt for this case. How can i capture the database offline in this case ?
    regardless of the tool/technique you use, those bits have to get from machine running sqlserver to the machine running Oracle. Either over the network (through the firewall) or via 'sneakernet.'   What, exactly, are the firewall constraints?
    If the export is a simple text file (character delimited fields?  fixed length fields?) and only 100 records ... Migration Workbench may be overkill,  perhaps a simple sqlldr job.  But you still have to get the bits from 'there' to 'here'.
    ============================================================================
    BTW, it would be really helpful if you would go to your profile and give yourself a recognizable name.  It doesn't have to be your real name, just something that looks like a real name.  Who says my name is really Ed Stevens?  But at least when people see that on a message they have a recognizable identity.  Unlike the system generated name of 'ed0f625b-6857-4956-9b66-da280b7cf3a2', which is like going to the pub with a bag over your head.

  • Migration SQL Server 6.5 to Oracle 8i

    Dear Sir,
    I download the Oracle Migration Workbench already. I install
    that software under Misrosoft Window 95 4.00.950 B. After
    Installation, I try to run the migration utilities and I got some
    error message, the message is
    "Class not found:
    oracle.mtg.migrationUI.MigC:\oracle\ora81\omwb\bin "
    Could u tell me, what happen ? and If I want to migration from
    SQL Server to Oracle, How, Could u let me know about the step of
    migration ?
    Regards
    Pongrat P.
    null

    I have just downloaded OMWB from net and was facing the same
    problem what Pongrat has faced. Thnaks for ready solution
    available. I have done the same as mentioned in this mail and
    worked.
    Rajesh Chug
    Oracle Migration Workbench Team wrote:
    : Pongrat,
    : You have come across a line length problem(see below)
    : There is some documentation included with the workbench, and
    : there is more downloadable from OTN. There is even a quick
    tour
    : for the workbench in the OTN->Technology->Migration section.
    : Hope that helps,
    : Turloch
    : Oracle Migration Workbench Team
    : The line in the omwb.bat file has gotten too long, you can
    remove
    : some bits of it that we are not useing yet, ie informix and
    db2
    : plugin classpath references. Paths differ but if for example
    you
    : have a classpath entry in the relevent jre line like:
    : C:\Program Files\Oracle\jre\1.1.7\lib\rt.jar;C:\Program
    : Files\Oracle\jre\1.1.7
    \lib\i18n.jar;C:\ORA81c\Omwb\jlib;C:\ORA81c
    \Omwb\plugins\SQLServer6.jar;C:\ORA81c\Omwb\plugins\Sybase.jar;C:
    \ORA81c\Omwb\plugins\MSAccess.jar;C:\ORA81c\Omwb\plugins\SQLAnywh
    ere.jar;C:\ORA81c\Omwb\plugins\SQLServer7.jar;C:\ORA81c\Omwb\jlib
    : \omwb-
    1_2_2_2.jar;C:\ORA81c\Omwb\jlib\oem204.jar;C:\ORA81c\Omwb\j
    lib\OemCorbaVisi.jar;C:\ORA81c\Omwb\jlib\vbj30.jar;C:\ORA81c\jlib
    : \ewt-3_1_11.jar;C:\ORA81c\jlib\share-
    1_0_6.jar;C:\ORA81c\jlib\hel
    : p-3_0_7.jar;C:\ORA81c\jlib\oracle_ice-
    4_03_3.jar;C:\ORA81c\Omwb\j
    : lib\ewtcompat-opt-3_1_11.zip;C:\ORA81c\Omwb\jlib\kodiak-opt-
    1_0_3
    : .zip;C:\ORA81c\jdbc\lib\classes111.zip
    : The entries:
    C:\ORA81c\Omwb\plugins\MSAccess.jar;C:\ORA81c\Omwb\plugins\SQLAny
    : where.jar;C:\ORA81c\Omwb\plugins\SQLServer7.jar;
    : can be removed, if you are not using sqlserver7 plugin
    (currently
    : in beta test), or MSAccess plugin (about to go to beta),
    : SQLAnywhere plugin (in development). This should shorten the
    path
    : enough, if not your could copy the jar files to somewhere with
    a
    : shorter path eg c:\omwb and change the classpath argument
    above
    : to point to the smaller path length copies.
    : Pongrat (guest) wrote:
    : : Dear Sir,
    : : I download the Oracle Migration Workbench already. I
    install
    : : that software under Misrosoft Window 95 4.00.950 B. After
    : : Installation, I try to run the migration utilities and I got
    : some
    : : error message, the message is
    : : "Class not found:
    : : oracle.mtg.migrationUI.MigC:\oracle\ora81\omwb\bin "
    : : Could u tell me, what happen ? and If I want to migration
    from
    : : SQL Server to Oracle, How, Could u let me know about the
    step
    : of
    : : migration ?
    : : Regards
    : : Pongrat P.
    : Oracle Technology Network
    : http://technet.oracle.com
    null

  • Error migrating SQL Server 2000 database to Oracle.

    Hi,
    I am new in SQL Developer.
    I read most of the help manuals available on the net.
    I am able to create connections to both SQL Server and Oracle database.
    I am also able to create the migration repository on the Oracle database.
    SQL server connection - TestSQL
    Oracle database connection - TestOracle
    Migration Repository - Migration_Repository.
    Here is the problem am facing:
    When I start Migrate to Oracle wizard, by right clicking the TestSQL database, I followed all the required steps and enter the necessary information. -
    It starts creating the project - say, TEST but after that it gave the following error:
    Migration actions have failed. Check the migration report for more details. : ORA-01400: cannot insert null into ("MIGRATIONS"."MD_PROJECT_ID").
    Please help.

    Thanks for your reply.
    You are correct, there were some permission missing on the migration repository user.
    I have given permissions and it worked fine.
    but I can say that required permission mentioned in other posts and blogs on the Internet are not sufficient.
    One has to provide more admin priviligies to this user.

Maybe you are looking for