WHEN MIGRATING SQLSERVER REPOSITORY TO ORACLE MODEL USING OraMigWrkBnch

I have captured the the SQLServer database to the omwb repository and migrated it to the Oracle Model. Some of the views,
triggers and stored procedures are not migrated and the followind messages are provided.
Has somebody done this before and got the same messages?, does someone know how to solve this problem(s)?, is there a
standard way?
Please help, anyone.
VIEW
[1] Error occured on line 1:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 1, column 106. Encountered:
from
TRIGGERS
[2] Error occured on line 9:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 9, column 10. Encountered: of
[3] Error occured on line 17:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 17, column 3. Encountered:
update
[4] Error occured on line 183:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 183, column 5. Encountered:
cross
[5] Error occured on line 7:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 7, column 1. Encountered:
create
STORED PROCEDURES
[6] Error occured on line 26:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 26, column 5. Encountered:
update
[7] Error occured on line 163:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 163, column 17. Encountered:
where
[8] Error occured on line 66:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 66, column 47. Encountered:
@ac_any_type_code
[9] Error occured on line 69:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 69, column 28. Encountered: =
[10] Error occured on line 70:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 70, column 7. Encountered: (
[11] Error occured on line 9:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 9, column 1. Encountered:
[12] Error occured on line 64:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 64, column 5. Encountered:
delete
[13] Error occured on line 60:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 60, column 35. Encountered:
as
[14] Error occured on line 1:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 1, column 55. Encountered:
create
[15] Error occured on line 65:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 65, column 7. Encountered:
from
[16] Error occured on line 56:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 56, column 51. Encountered: +
[17] Error occured on line 112:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 112, column 1. Encountered:
null
[18] Error occured on line 27:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 27, column 3. Encountered:
select
[19] Error occured on line 74:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 74, column 10. Encountered:
and
[20] Error occured on line 19:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 19, column 6. Encountered: ,
[21] Error occured on line 194:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 194, column 10. Encountered:
exists
[22] Error occured on line 269:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 269, column 9. Encountered:
declare
[23] Error occured on line 49:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 49, column 7. Encountered:
order
[24] Error occured on line 244:oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 244, column 41. Encountered:
rtrim

The following trigger created:
CREATE OR REPLACE TRIGGER tr_prs16_ins
AFTER INSERT
ON progress_state_16
FOR EACH ROW
DECLARE
/* COMMENT */
BEGIN
     BEGIN
               INSERT INTO logtable
                    SELECT :NEW.code, sf_language.code,
RPAD(CASE WHEN fg1.id IS null THEN '' ELSE RTRIM(fg1.id) END ||
CASE WHEN pg1.id IS null THEN '' ELSE ': ' || RTRIM(pg1.id) END ||
CASE WHEN fg2.id IS null THEN '' ELSE ', ' || RTRIM(fg2.id) END ||
CASE WHEN pg2.id IS null THEN '' ELSE ': ' || RTRIM(pg2.id) END ||
CASE WHEN fg3.id IS null THEN '' ELSE ', ' || RTRIM(fg3.id) END ||
CASE WHEN pg3.id IS null THEN '' ELSE ': ' || RTRIM(pg3.id) END ||
CASE WHEN fg4.id IS null THEN '' ELSE ', ' || RTRIM(fg4.id) END ||
CASE WHEN pg4.id IS null THEN '' ELSE ': ' || RTRIM(pg4.id) END ||
CASE WHEN fg5.id IS null THEN '' ELSE ', ' || RTRIM(fg5.id) END ||
CASE WHEN pg5.id IS null THEN '' ELSE ': ' || RTRIM(pg5.id) END ||
CASE WHEN fg6.id IS null THEN '' ELSE ', ' || RTRIM(fg6.id) END ||
CASE WHEN pg6.id IS null THEN '' ELSE ': ' || RTRIM(pg6.id) END ||
CASE WHEN fg7.id IS null THEN '' ELSE ', ' || RTRIM(fg7.id) END ||
CASE WHEN pg7.id IS null THEN '' ELSE ': ' || RTRIM(pg7.id) END ||
CASE WHEN fg8.id IS null THEN '' ELSE ', ' || RTRIM(fg8.id) END ||
CASE WHEN pg8.id IS null THEN '' ELSE ': ' || RTRIM(pg8.id) END ||
CASE WHEN fg9.id IS null THEN '' ELSE ', ' || RTRIM(fg9.id) END ||
CASE WHEN pg9.id IS null THEN '' ELSE ': ' || RTRIM(pg9.id) END ||
CASE WHEN fg10.id IS null THEN '' ELSE ', ' || RTRIM(fg10.id) END ||
CASE WHEN pg10.id IS null THEN '' ELSE ': ' || RTRIM(pg10.id) END ||
CASE WHEN fg11.id IS null THEN '' ELSE ', ' || RTRIM(fg11.id) END ||
CASE WHEN pg11.id IS null THEN '' ELSE ': ' || RTRIM(pg11.id) END ||
CASE WHEN fg12.id IS null THEN '' ELSE ', ' || RTRIM(fg12.id) END ||
CASE WHEN pg12.id IS null THEN '' ELSE ': ' || RTRIM(pg12.id) END ||
CASE WHEN fg13.id IS null THEN '' ELSE ', ' || RTRIM(fg13.id) END ||
CASE WHEN pg13.id IS null THEN '' ELSE ': ' || RTRIM(pg13.id) END ||
CASE WHEN fg14.id IS null THEN '' ELSE ', ' || RTRIM(fg14.id) END ||
CASE WHEN pg14.id IS null THEN '' ELSE ': ' || RTRIM(pg14.id) END ||
CASE WHEN fg15.id IS null THEN '' ELSE ', ' || RTRIM(fg15.id) END ||
CASE WHEN pg15.id IS null THEN '' ELSE ': ' || RTRIM(pg15.id) END ||
CASE WHEN fg16.id IS null THEN '' ELSE ', ' || RTRIM(fg16.id) END ||
CASE WHEN pg16.id IS null THEN '' ELSE ': ' || RTRIM(pg16.id) END
, 255, ' ')
from dual
left outer join function_group fg1 on fg1.code = :new.function_group_1_code
left outer join function_group fg2 on fg2.code = :new.function_group_2_code
left outer join function_group fg3 on fg3.code = :new.function_group_3_code
left outer join function_group fg4 on fg4.code = :new.function_group_4_code
left outer join function_group fg5 on fg5.code = :new.function_group_5_code
left outer join function_group fg6 on fg6.code = :new.function_group_6_code
left outer join function_group fg7 on fg7.code = :new.function_group_7_code
left outer join function_group fg8 on fg8.code = :new.function_group_8_code
left outer join function_group fg9 on fg9.code = :new.function_group_9_code
left outer join function_group fg10 on fg10.code = :new.function_group_10_code
left outer join function_group fg11 on fg11.code = :new.function_group_11_code
left outer join function_group fg12 on fg12.code = :new.function_group_12_code
left outer join function_group fg13 on fg13.code = :new.function_group_13_code
left outer join function_group fg14 on fg14.code = :new.function_group_14_code
left outer join function_group fg15 on fg15.code = :new.function_group_15_code
left outer join function_group fg16 on fg16.code = :new.function_group_16_code
left outer join progress pg1 on pg1.code = :new.progress_1_code
left outer join progress pg2 on pg2.code = :new.progress_2_code
left outer join progress pg3 on pg3.code = :new.progress_3_code
left outer join progress pg4 on pg4.code = :new.progress_4_code
left outer join progress pg5 on pg5.code = :new.progress_5_code
left outer join progress pg6 on pg6.code = :new.progress_6_code
left outer join progress pg7 on pg7.code = :new.progress_7_code
left outer join progress pg8 on pg8.code = :new.progress_8_code
left outer join progress pg9 on pg9.code = :new.progress_9_code
left outer join progress pg10 on pg10.code = :new.progress_10_code
left outer join progress pg11 on pg11.code = :new.progress_11_code
left outer join progress pg12 on pg12.code = :new.progress_12_code
left outer join progress pg13 on pg13.code = :new.progress_13_code
left outer join progress pg14 on pg14.code = :new.progress_14_code
left outer join progress pg15 on pg15.code = :new.progress_15_code
left outer join progress pg16 on pg16.code = :new.progress_16_code
cross join sf_language
     END;
END TEST_IF;
given the following tables exist:
create table logtable(newcode varchar2(10),
sfcode varchar2(10),
other varchar2(10)
create table sf_language(code varchar2(10),
id varchar2(10));
create table progress(code varchar2(10),
id varchar2(10));
create table function_group(code varchar2(10),
id varchar2(10));
create table progress_state_16 (code varchar2(10),
function_group_1_code varchar2(10),
function_group_2_code varchar2(10),
function_group_3_code varchar2(10),
function_group_4_code varchar2(10),
function_group_5_code varchar2(10),
function_group_6_code varchar2(10),
function_group_7_code varchar2(10),
function_group_8_code varchar2(10),
function_group_9_code varchar2(10),
function_group_10_code varchar2(10),
function_group_11_code varchar2(10),
function_group_12_code varchar2(10),
function_group_13_code varchar2(10),
function_group_14_code varchar2(10),
function_group_15_code varchar2(10),
function_group_16_code varchar2(10),
progress_1_code varchar2(10),
progress_2_code varchar2(10),
progress_3_code varchar2(10),
progress_4_code varchar2(10),
progress_5_code varchar2(10),
progress_6_code varchar2(10),
progress_7_code varchar2(10),
progress_8_code varchar2(10),
progress_9_code varchar2(10),
progress_10_code varchar2(10),
progress_11_code varchar2(10),
progress_12_code varchar2(10),
progress_13_code varchar2(10),
progress_14_code varchar2(10),
progress_15_code varchar2(10),
progress_16_code varchar2(10))
SQL> insert into progress_state_16 values ('1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1');
1 row created.
SQL> select * from logtable;
no rows selected
SQL>
The data to make the select produce a result was not added. I hope your database difficulties are resolved. I hope the fact that the trigger builds gives you more confidence.
Regards,
Turloch
Oracle Migration Workbench Team

Similar Messages

  • Error when parsing SQLServer triggers tot Oracle Model

    After capturing the SQLServer database into the Oracle Migration Work Bench repository (omwb) I have migrated the SQLServer sourccode to the Oracle Model (also in the
    omwb repository). But...
    when migrating SQLServer sourcecode to Oracle9i database some of the triggers are not migrated into the Oracle Model: triggers like :
    ----------->
    create trigger dbo.tr_nev_del_audittable
    on event_spare_memofield
    instead of delete
    as
    begin
    <-----------
    are not migrated.
    Can someone tell me why?
    I am only getting the message:
    Error occured on line 9:
    oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 9, column 10. Encountered: of

    Hi there,
    I'm sure this is still a bug, bug you should change or comment out the offending lines and reparse the triggers. This way, you will get it into the oracle model and can start finsihing off the migration.
    Barry

  • When migrating SQLServer database to Oracle9i

    After capturing the SQLServer database into the Oracle Migration Work Bench repository (omwb) I have migrated the SQLServer sourccode to the Oracle Model (also in the
    omwb repository). But...
    when migrating SQLServer sourcecode to Oracle9i database some of the triggers are not migrated into the Oracle Model: triggers like :
    ----------->
    create trigger dbo.tr_nev_del_audittable
    on event_spare_memofield
    instead of delete
    as
    begin
    <-----------
    are not migrated.
    Can someone tell me why?
    I am only getting the message:
    Error occured on line 9:
    oracle.mtg.sqlserver2k.parser.ParseException: Parse error at line 9, column 10. Encountered: of

    You can rewrite the trigger as a BEFORE (OR AFTER) DELETE trigger on the appropriae table event_spare_memofield/audittable ? Most likely it will be a row-level (FOR EACH ROW) type trigger.
    The instead of type triggers is reserved primarily for views.

  • Exception when migrating SQL 7 to Oracle 8i

    I have a new installation of SQL Server 7. Created a new table called TestTable with one varchar field. Tried to migrate it to oracle. When creating Object Model, the migration fails with these exceptions/errors. Can any one please help debug the problem?
    Thanks.
    EXCEPTION : SQLServer7SourceModelMap.mapPrimaryKeys(): pk_dtproperties, oracle.mtg.migration.MigrationSQLException: ORA-01400: cannot insert NULL into ("SQLUSER1"."
    OM_OBJ_INFO"."OBJ_OWNER") :ORA-01400: cannot insert NULL into ("SQLUSER1"."OM_OBJ_INFO"."OBJ_OWNER")
    EXCEPTION : SQLServer7SourceModelMap.mapRoles(): db_owner, oracle.mtg.migration.MigrationSQLException: oracle.mtg.migration.MigrationSQLException: ORA-01400:
    cannot insert NULL into ("SQLUSER1"."OM_ROLE_USER_INFO"."USER_NAME") :ORA-01400: cannot insert NULL into ("SQLUSER1"."OM_ROLE_USER_INFO"."USER_NAME") :
    oracle.mtg.migration.MigrationSQLException: ORA-01400: cannot insert NULL into ("SQLUSER1"."OM_ROLE_USER_INFO"."USER_NAME") :ORA-01400: cannot insert NULL into (
    "SQLUSER1"."OM_ROLE_USER_INFO"."USER_NAM
    EXCEPTION : SQLServer7SourceModelMap.mapTables(): TestTable, oracle.mtg.migration.MigrationSQLException: ORA-00903: invalid table name :ORA-00903: invalid table name
    EXCEPTION : SQLServer7SourceModelMap.mapTables(): dtproperties, oracle.mtg.migration.MigrationSQLException: ORA-00903: invalid table name :ORA-00903: invalid table
    name
    TestTable : Table. Owner name is NULL. Check that SQL Server 7.0 MASTER database is correctly recovered
    dtproperties : Table. Owner name is NULL. Check that SQL Server 7.0 MASTER database is correctly recovered
    null

    Hi Daniel,
    Just to add to what John said. The Workbench should also generate
    synonyms for users that have access (if they have SELECT
    privilege on the table) to a table.
    Regards
    John
    John (guest) wrote:
    : Daniel (guest) wrote:
    : : I'm having problems using Migration Workbench release
    : 1.2.2.2.0
    : : build (030999)
    : : I'm trying to Migrate an SQL Server 6.5 database to Oracle
    8i.
    : : Capturing the source database and mapping to the Oracle model
    : : appears to work ok. Migrating the contents of the Oracle
    model
    : : to the destination Oracle Database also appears to work ok
    and
    : : the message at the end confirms that the migration completed
    : : successfully.
    : : The problem is that when I load Oracle Administration
    : Assistant
    : : for Windows NT there is no evidence of the new database. In
    : SQL
    : : Plus, I can list migrated tables by prefixing tsa.v to each
    of
    : : the table names. For example in MicrosoftFs ISQL_w, I could
    : type
    : : SELECT * FROM EVENTLOG but in OracleFs SQL*PLUS, I have to
    : type
    : : SELECT * FROM SA.EVENTLOG;
    : Daniel,
    : Ensure that you are the owner of the table(s) in question. If
    : not, you have to qualify the table with the table owner asuming
    : that you have the proper privileges to access the table. For
    : example, if the owner of the table(Oracle user) is SA, and your
    : username is DAN, therefore, to access any table created by SA,
    : you have to qualify SA to the table name(SA.EVENTLOG). On the
    : other hand, if this table is owned by DAN and you logged in as
    : DAN, qualifying DAN with the table name is optional.
    : A workaround will be to create a PUBLIC SYNONYM on the table,
    : thus saving you typing the table owner.
    : I hope this addresses all your questions and concerns.
    : John
    Oracle Technology Network
    http://technet.oracle.com
    null

  • TNS listener problem when migrating access app to oracle

    I am migrating an access 2000 DB and application to oracle 8i. I have done this successfully on my test machine many times. I am working on the customers machine, and the problem is when I go to migrate the access application, it will not connect to oracle b/c of the TNS listener. The workbench tool ask for a username, pwd, and ODBC driver, but there is no place to put the oracle service name. I ran into this problem at home and I appended the service name onto the password with the '@' symbol, which works for oracle anyway. Like this, 'pwd@sname'. It worked at home, but I keep getting an error here that tns could not resolve service name. When migrating the data, there was a field to put the service name in, but not for migrating the application. I have tried variations in the ODBC driver also, but with no luck. Any other ideas?

    Hello,
    Is it possible that odbc driver is nor properly installed? If so you may have to re-instlal the odbc driver. If not try out the following steps:
    * Go to DataSources [On win2k: start -> settings ->control panel ->Adminsitrative tools -> Data Sources (ODBC)]
    * Click Add for the user DSN [say "testDSN"], and select oracle driver here [check if you have oracle 8 driver, if not you may want to install one]
    * In the "Oracle ODBC Driver Configuration" window, give you your oracle databse connection details, click the "Test Connection button", it will ask for username and password, give system's username and password
    * Use this DSN [testDSN] name in the migration work bench
    Thank you and kind regards,
    Srinivas Nandaanam

  • Migration from DB2 to Oracle 10g using free tools

    Dear all,
    Im currently using DB2 database and wish to migrate data over to Oracle 10g express. However, i could not find any free tools or methods to migrate without using tools as i could not use tools like Oracle Migration Workbench as the migration is for certain project which will deal with internal process or commercial purpose.
    Would like to seek everybody's help. Greatly appreciation your response.
    Regards,
    Kee Cheng =)

    nvr4getu wrote:
    Thanks. But have you heard of creating a heterogenous services, create a database link between the 2 database, then transform over to Oracle?I thought you were looking for a free tool. With HS, you'll have to buy the component to install on the DB2 system. Unless something has changed since the last time I worked in a mixed Oracle/DB2 shop.

  • Migration: sqlserver 2000 to oracle - delete cascade [resolved - tank you]

    hi
    no problems on migration... but...
    in the new oracle database, all foreign keys have the "cascade delete" as default...
    but i don't want this default (a stupid human error may be ruinous...)
    can somebody explain me how change this default in a "exception thrown"?
    maybe with an authomatic sql order????
    tank you a lot...
    Giovanni D.
    Message was edited by:
    user535473

    Hi Giovanni,
    Tools> Options> General
    Create Foreign Keys with "ON DELETE CASCADE" option
    Just untick the box and remap from the source to the oracle model.
    Hope this helps
    Dermot.

  • Oracle raise ORA-03113 when connect to a remote oracle server using toad

    Hi there,
    when i use the tool toad connect to a remote oracle server which located in a different city,
    when i submit a query in toad,
    if the query returns many rows of data, it will raise the error ORA-03113:end-of-file on communication channel,
    however if the query returns only a few rows, i won't raise such error,
    however, when i use sqlplus connect to that remote server, it won't raise such error,
    what's the reason is, can any one tell me how to tackle this problem if using the tool toad. thanks/

    hi my oracle vsersion is:
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    my oracle server is 2 nodes rac server,
    and i've tried two different kind version of toad v9.6 and v10.5, and both have the same problem
    once i query a table, if the result returned more than 30 rows, then it will raise that error, if query returns less than 30 rows, it's ok.
    i assume it is a problem concern with network, but i don't know why no such error raise when using sqlplus ?

  • Migrating sqlserver schedulers to oracle

    Gurus
    I am on the verge og migrating some DTS packages from sqlserver to oracle .these DTS packages are written in vb script and they are scheduled as jobs.please help me how will i do this in oracle.please help
    regards
    Nitin

    Gurus
    I am on the verge og migrating some DTS packages from sqlserver to oracle .these DTS packages are written in vb script and they are scheduled as jobs.please help me how will i do this in oracle.please help
    regards
    Nitin

  • # coming when I select data from oracle table using Native SQL

    Hi Gurus,
    I am selecting 'First name' from oracle table directly using native sql. I am fetching 65000 records but 10+ records having '#' at the end of firstname. For eg: John#.
    But oracle team couldn't find '#' in their table for those records. What could be problem?
    or what could be the character in oracle which comes as '#' in abap?
    Pls help...
    Saj

    Thanks for replies.
    My DB NLS_PARAMETER is AL32UTF8. I am able to pullout data with older version of ojdbc jar file. So I think there is no issue regarding NLS setting.
    So please guide me with proper solution as soon as possible.

  • Problem migrating MS Access to  Oracle 8i using Oracle Migration Workbench

    Downloaded Migration Workbench. Ran setup but it says that the Migration Workbench must be installed into an Oracle 9 home. I though it would work with Orachle 8 (according to the documentation). We obly have ORacle 8i here.
    Does anyone know away around this?

    Hi Caroline,
    the workbench just needs to be installed into an Oracle 9i home or a new ORacle Home. It will still work against an Oracle 8i database.
    There is a dedicated Migration Workbench discussion forum available.
    John

  • PCB-I-0556 when migrating from RDB to ORACLE

    Hi Iam triying to compile this Cobol Program using procob 9.2
    But the follwing error occurs
    PCB-I-0556: Unrecoverable error. Fix previous errors and re-precompile
    IDENTIFICATION DIVISION.
    PROGRAM-ID. SQL$LEE_OPE_VAL_PRE.
    AUTHOR. MTY.
    ENVIRONMENT DIVISION.
    DATA DIVISION.
    WORKING-STORAGE SECTION.
    EXEC SQL INCLUDE SQLERR$WS END-EXEC.
    EXEC SQL INCLUDE SQLCA END-EXEC.
    LINKAGE SECTION.
    EXEC SQL INCLUDE SQLVAR$WS END-EXEC.
    EXEC SQL INCLUDE CAVLIB:CAVOPE$REG.TXT END-EXEC.
    PROCEDURE DIVISION USING CAVOPE,SQL-VARIABLES.
    BEGIN-PGM.
    EXEC SQL WHENEVER SQLERROR
    DO PERFORM SQL-ERROR END-EXEC
    EXEC SQL INCLUDE SQLCON$PD END-EXEC
    EXEC SQL
    SELECT
    OPE_MOD,
    OPE_NUM,
    OPE_INT_VEN,
    OPE_INT_COM,
    OPE_VAL,
    OPE_CAN,
    OPE_PRE,
    OPE_EST,
    OPE_HOR,
    OPE_COD_MON,
    OPE_FEC_COL,
    OPE_PRE_CTD,
    OPE_PRE_PZO,
    OPE_FEC_VCT,
    OPE_FEC_FIN_OPE,
    OPE_FEC_PAG_OPE,
    OPE_ETA_OPE,
    OPE_EST_ENT_OPE,
    OPE_USR_ULT_MOD,
    OPE_FEC_ULT_MOD,
    OPE_HOR_ULT_MOD,
    OPE_IND_REP,
    OPE_IND_UNO,
    OPE_FEC_FL1,
    OPE_FEC_FL2,
    OPE_DIA_FL1_FL2,
    OPE_IND_LIQ_VAL,
    OPE_LIQ_FON_CTD,
    OPE_LIQ_FON_PLZ,
    OPE_TIP_LIQ_CTD,
    OPE_TIP_LIQ_PLZ,
    OPE_TIP_HAB_FON,
    OPE_IND_PRO_OPE,
    OPE_IND_PRO_MAS,
    OPE_IND_CMP,
    OPE_IND_OPE_MOD,
    OPE_TIP_CAM,
    OPE_TAS_EFE,
    OPE_FLG_COT,
    OPE_INT_CTD,
    OPE_INT_PLZ,
    OPE_TIP_VEN,
    OPE_FEC_LIM,
    OPE_TAS_CAS,
    OPE_MOD_PAG_INT,
    OPE_FLG_DES,
    OPE_MOD_OPE_ORI,
    OPE_FEC_OPE_ORI,
    OPE_NRO_OPE_ORI,
    OPE_FEC_EMI,
    OPE_FEC_1,
    OPE_IND_1,
    OPE_VAL_NOM
    INTO :CAVOPE
    FROM CAVOPE OPE
    WHERE OPE.OPE_FEC =: OPE_FEC AND
    OPE.OPE_MOD =: OPE_MOD AND
    OPE.OPE_NUM =: OPE_NUM AND
    OPE.OPE_EST <> 9
    ORDER BY OPE.OPE_FEC, OPE.OPE_MOD, OPE.OPE_NUM
    END-EXEC
    EXEC SQL INCLUDE SQLCHEQCLO$PD END-EXEC.

    thank you Mike for your question. I already solved this issue but still wondering why oracle isn't converting the table ddl correctly.
    It was a data setting problem. de decimal in mysql were converted to float. The problem was that default value 0 for example in the mysql table was converteld as Default '0.00' and then I got this error.
    I didn't change the data settings of sql developer but corriged the ddl script and everything worked fine.
    Thank you once again.

  • Warrning about disk location when migrating from VMware to Hyper-V using SCVMM 2012 R2

    Hi
    I have started migrating my servers from a VMware ESXi host 5.1 to a brand new Hyper-V 2012 R2 server using SCVMM wizard. I have completed a couple of migration, but my disks gets converted from SCSI to IDE. I get the warning below. The conversion works
    and there should not be any performance issue because it is all virtual controllers. The thing is that I cannot expand my drives located on an IDE bus, but only on the servers where my drives is located on SCSI bus.
    Is there a way to convert to SCSI controller directly from VMware?
    Thomas | MCP | http://www.techwork.dk

    With Hyper-V, there is two types of Virtual Machines:
    Genration1 VM : This type of VM can work with all Hyper-V versions. It uses legacy hardware, and the BOOT VHD must be connected to an IDE controller
    Genration2 VM: Introduced with Windows Server 2012 R2. It uses only synthetic hardware, and the BOOT VHD is connected to a SCSI controller.
    If you want your VM boot disk to be on an SCSI controller, you can convert your VM from GEN1 to GEN2
    Look Here for more information about VM generations and how to convert them
    http://blogs.technet.com/b/scvmm/archive/2014/03/05/details-on-generation-2-virtual-machines-and-using-them-in-vmm-2012-r2.aspx
    http://blogs.technet.com/b/jhoward/archive/2013/10/24/hyper-v-generation-2-virtual-machines-part-1.aspx
    NB Once converted to GEN2, you will not able to go back to GEN1 (There are ways but they still complicated), so read carefully the PRO and CONS of each type
    Regards, Samir Farhat Infrastructure and Virtualization Consultant || Virtualization, Cloud, Azure ? Follow and Ask here https://buildwindows.wordpress.com

  • 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.

  • Workbench hang's while are creating oracle model of informix BD

    Hi,
    we are testing to migrate informix 9.40 to Oracle 10g and when the migration workbench is Creating Oracle Model it is hang while it is treating one foreing key.
    The Foreing key in informix is:
    alter table "dtmpub00".we_docpalabras add constraint (foreign
    key (codi) references "dtmpub00".we_palabras constraint "dtmpub00".fk_ref_21_15211);
    The columns codi in the two tables are of type informix integer.
    In the BD are others seemed foreings keys that workbench seems that to migrated correctly.
    In the error.log file appears the following error message:
    ** Oracle Migration Workbench
    ** Production
    ** ( Build 20050629 )
    ** OMWB_HOME: C:\Documents and Settings\ut10603.DOMINI_TMB\Escritorio\Migración ORACLE\Migration Workbench 10.1.0\omwb
    ** user language: es
    ** user region: null
    ** user timezone:
    ** file encoding: Cp1252
    ** java version: 1.4.2_04
    ** java vendor: Sun Microsystems Inc.
    ** o.s. arch: x86
    ** o.s. name: Windows XP
    ** o.s. version: 5.1
    ** Classpath:
    ..\lib\boot.jar
    ** Started : Mon Jul 03 12:05:33 CEST 2006
    ** Workbench Repository : Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Repository Connection URL: jdbc:oracle:thin:@neptuno:1521:orcl
    ** The following plugins are installed:
    ** Informix Dynamic Server 9.x Plugin, Production Release 10.1.0.4.0
    ** Microsoft SQLServer 2000 Plugin, Production Release 10.1.0.4.0
    ** Active Plugin : Informix9
    java.util.NoSuchElementException
         at java.util.Vector.firstElement(Unknown Source)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertForeignKey(OracleModelImpl.java:4645)
         at oracle.mtg.informix7.server.Informix7SourceModelMap._mapForeignKeys(Informix7SourceModelMap.java:3640)
         at oracle.mtg.informix7.server.Informix7SourceModelMap.mapSourceModel(Informix7SourceModelMap.java:326)
         at oracle.mtg.informix7.ui.Informix7CaptureWizard.map(Informix7CaptureWizard.java:390)
         at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:457)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:95)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    Any aid will be appreciated.
    Thanks
    José Manuel Rodríguez

    José,
    This looks like a bug. Can you raise a bug with Oracle support, so we can build an appropriate test case to reproduce and fix within development.
    Donal

Maybe you are looking for

  • Switching between Monitors

    Hi, in addition to my previous topic I have one more question. When using the second monitor the primary display of the MacBook is still active (synchronization turned off!). Applications appear only on the second monitor but I oven loose my mouse be

  • What are the steps for upgrading os x 10.5.8 to 10.6.7

    I'm thinking of upgrading from 10.5.8 to 10.6.x.  Can I just install over the top of 10.5.8 or do I need to do something beforehand?  Do I just insert the disk and run? Much obliged.

  • Update opens Windows Explorer instead of download iOS 5...

    When I connect my iPad 2 (4.3.3) to iTunes (10.5), then select Update, it opens Windows Explorer instead of looking for the update from Apple.  How can I get it to download iOS 5?  I am using 32-bit Windows 7 Enterprise.

  • Importing sequence issues

    I have a 60 layer photoshop file. I exported each layer from photoshop into it's own file with a script. The files are all called smooth and a padded numerically such as smooth01.psd smooth02.psd smooth03.psd and so on. I want Motion to import these

  • DIP profile

    Hi I want to configure the DIP profile for project system - costumer order project so please send the details I have tried to create the DIP profile and assigned to doc. type IN in sales B and also assigned WBS in acct. assignment tab when i run DP81