MySQL to Oracle Migration offline: scripts incorrectly generated for tables

Hello

I used SQL Developer 3.0.4 to migrate Mysql to Oracle databases.

I have the following errors on the charger (oracle_ctl.sh) scripts to run:

SQL * Loader-2026: the charge was dropped because SQL Loader cannot continue.
SQL * Loader-500: could not open the file (data / framework_perdadepacotes_diari.txt)


The "framework_perdadepacotes_horario.txt" dump file is generated by mysqlsdump with the original mysql table name and ".txt" sufix:
-excerpt from unload_script.sh
mysqldump-u $username - p $server h $ t socket=/u01/mysqlmulti/mysql2/mysqld2.sock port password data = 3312 fields terminated by = "< EOFD >" fields escaped by = ""-lines terminated by = "< EORD >" "dxdb" "framework_perdadepacotes_horario" "

but sql loader controlfile makes reference to the file by using the new name of the oracle table (in this case, that the new name is truncated to 30 characters):
--
load data
INFILE ' data / framework_perdadepacotes_diari.txt ".
"str"< EORD >"
in the dxdb.framework_perdadepacotes_diari table


Another instance of the same problem, but in this case the table name starts wth "_":
-of unload_script.sh
mysqldump-h $server u $username - p$ password t data fields terminated by = "< EOFD >" fields escaped by = ""-lines terminated by = "< EORD >" "netdb" "_Clientes" "

file name generated by mysqldump: "_Clientes.txt."
CTL file:
load data
INFILE ' data / CLIENTES_1.txt ".
"str"< EORD >"
in the CLIENTES_1 table

Is this a bug, or are we supposed to manually fix the scripts for these cases?

Thank you

Edited by: user12099785 11/10/2011 06:11

Currently, you have to fix manually because there was no bug recorded for this question. I have now filed the bug and it will be if all goes well fixed in one of the next versions to come.

Tags: Database

Similar Questions

  • Oracle Migration Workbench error

    I am migrating and to access the Oracle (version 10.2.0.3) with Oracle Migration Workbench 2000 database.
    Migration Workbench generated the file < AccessDB_Name > .sql.
    When I run the file on the Oracle database under the pre-created Oracle account I get the following error:


    SQL > show user
    The USER is 'SCO_RECCLUB '.
    SQL > SQL REM This script was generated by the Oracle Migration Workbench
    SQL > REM exporter for Microsoft Access on 2008-10-22 10:27:03
    SQL > REM release: 10.2.0.2.0
    SQL > REM Version: Microsoft Access 2000
    SQL > REM not change this file as any changes will invalidate the export
    SQL > REM and later migration of your Microsoft Access database
    SQL >
    SQL > set define off
    SQL > set verify off
    SQL > set serveroutput size 1000000
    SQL > set off comments
    SQL > WHEN SQLERROR EXIT SQL. SQLCODE ROLLBACK
    SQL >
    SQL > start
    2
    WWV_MIG_ACC_LOAD 3. () INS_WWV_MIG_ACCESS
    p_dbid 4 = > 1,
    5 p_dbname = > "rclub_be"
    "6 p_dbsize = > ' 2338 KB."
    7 p_dbpathname = > 'C:\Rec C DB\rclub_be.mdb.
    8 p_dbuser = > "rclub_be"
    9 p_dbpassword = > ' ',
    10 p_isappdb = > 1,
    11 p_isattacheddb = > 0,
    p_convertdb 12 = > 1,
    p_jetversion 13 = > 4.0,
    14 p_accessversion = > 'MS Access 2000',
    15 p_build = > 211,
    p_collatingorder 16 = > 1033,
    p_querytimeout 17 = > 60,
    p_startupform 18 = > NULL,
    19 p_startupshowstatusbar = 0 >
    (20);
    21
    22 end;
    23.
    Start
    *
    ERROR on line 1:
    ORA-02291: integrity (FLOWS_030100.WWV_MIG_ACC_FK) violated constraint - found parent key
    ORA-06512: at "FLOWS_030100.WWV_MIG_ACC_LOAD", line 120
    ORA-06512: at line 3 level


    Disconnected from the database to Oracle 10 g Enterprise Edition Release 10.2.0.3.0 - 64 bit Production
    With partitioning, OLAP and Data Mining options

    I don't know how to proceed with migration or if it is even possible at this stage. Any help or an explanation of the above error message would be very appreciated.

    Thank you for your help

    Paul

    Hi Paul,.

    The file .sql you sponsor, which is generated by the tool export to MS Access, is required for the migration of your Access to Oracle Application Express application. The exporter tool can generate two files:

    * an XML file containing the schema of your database MS Access database information. This file is required by Oracle SQL Developer Migration Workbench to migrate your Access database to Oracle.
    * a SQL script that contains the application for your MS Access application information. This file is used only by the application "Application migration" in Oracle Application Express 3.0 or later versions.

    I would recommend that you do the following:

    1. run the exporter tool again and make sure that you select the option "export for Oracle SQL Developer. This option causes the generation of an XML file, .xml.
    2. run Oracle SQL Developer and create a repository of Migration
    3. with the help of Migration > Capture Microsoft Access exported XML menu option, download the XML file generated in step 1. This will generate a model of capture of the Access database.
    4. create a model of the Oracle, by right-clicking the captured model.
    5 generate the DDL statements to create your migrated schema by right clicking on your template Converted & by selecting the menu option 'generate '. This will result in the generation of a SQL script containing DDL statements that you need to run in order to build your newly migrated schema.
    6. run the SQL script containing your DDL statements, to create your new migrated schema.

    I also recommend to consult the online documentation for [MS Access Migration | http://download.oracle.com/docs/cd/E12151_01/doc.150/e12154/intro_access.htm#BGBIDDGI], in order to better understand the migration process. I hope this helps.

    Kind regards
    Hilary

  • How to import the selected tables from MySQL to Oracle

    Hello world:

    How can I import tables from MySQL to Oracle? I have more than 180 tables in my DB (MySQL), but I copy only 12 of them to ORACLE... rigth now I do it manually, using SQL Developer (rigth clicking on the picture icon and copy to Oracle) but now I need to do this automatically every 4 hours...

    I read on the dblink option, but I don't know if this is the best for this case...

    I appreciate all help.

    Best regards
    Jack

    Hi Jack,

    I think that with a db-link you can define an automated task (PL/SQL + programmer).
    We use a db-link to Oracle's RDBMS to MySQL. So we have no experience.
    We have created the db-link like http://www.pythian.com/news/1554/how-to-access-mysql-from-oracle-with-odbc-and-sql/

    Heike cordially

  • Migration - MySQL to Oracle - do not generate data files

    Hello

    I have been using the SQL Developer migration Assistant to move data from a MySQL 5 database to an Oracle 11 g server.
    I used it successfully a couple of times and its has all worked.

    However, I am currently having a problem whereby there is no offline data file generated. Control files and all other scripts generated don't... just no data file.
    It worked before, so I'm a bit puzzled as to why no logner work.

    I looked at newspapers of migration information and there is no errors shown - datamove is marked as success.
    I tried deleting and recreating rhe repository migration and checked all grants and privs.

    Is there an error message then it would be something to continue but have tried several times and checked everything I can think.

    I also tried the approach of migration command-line... same thing. Everything works fine... no errors... but only the table creation and control script files are generated.
    The schema of the source is very simple and there is only the tables to migrate... no procedure or anything else.

    Can anyone suggest anything?

    Thank you very much
    Mike

    Hi Mike,.

    I'm so clear.
    You use SQL Developer 3.0?
    You walked through the migration wizard and choose Move Offline mode data.
    The generation of DDL files are created as are the scripts to move data.
    But no data (DAT) file is created and no data has been entered in the Oracle target tables.

    With offline data move, Developer SQL generates (saved in your project, under the DataMove dir directory) 2 sets of scripts.
    (a) a set of scripts to unload data from MySQL to DAT files.
    (b) a set of scripts to load data from the DAT files in the Oracle target tables.
    These scripts must be run by hand, specifying the details for the source databases MySQL and Oracle target.

    "no offline data file generated. Control files and all other scripts generated don't... just no data file. »
    «.. . but only the creation and control file table scripts are generated. »

    What you mean
    (1) the DAT files are not generated automatically. This should, if we need to run the scripts yourself
    (2) after manually running the scripts that the DAT are not present, or that the DAT files are present, but the data does not load in Oracle tables.
    (3) the scripts to move data in offline mode does not get generated

    Kind regards
    Dermot
    SQL development team.

  • Migration from MySQL to Oracle SQL does not

    Hello everyone,

    I am new to Oracle SQL, but since our MySQL database is more and get more slowly, I would like to test the performance of Oracle SQL.

    So, I downloaded the current Oracle Linux distro and installed Oracle Database 11 g Express Edition.

    I connected with Oracle SQL Developer and started to migrate the MySQL database by following each step of this tutorial.

    I had to abandon all the privileges of the user migration (otherwise the creation and the deleteion of the migration repository did not) and I have disabled the migration of constraints to make migration work.

    Then I proceeded through all of the steps of the tutorial and ended with a "successful migration.

    The last step of the tutorial, it was to connect to the db migrated (using a combination of username/password generated name), it was not possible.

    What do I already checked?

    • Logged on as user system, I see that there is no new user created for the migrated db
    • Looking at the overview in the migration repository I see 3 phases, not knowing if the third displays an error or if it is not necessary at all (I got 58 tables in the db of the source)
      • Capture of 58/58
      • Convert 58/58
      • Compile 0/58

    From here, I don't know where to look for additional errors.

    I still can't use the migrated db and so I can't go forward with my tests.

    I missed something?

    I would appreciate your help.

    Astaldo

    Astaldo salvation,

    First, you must use SQL Developer 4.0.2 If you aren't already. It is available for free on OTN

    http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/downloads/index-098778.html

    There are two ways to convert tables from MySQL to Oracle.

    1) copy to Oracle

    (2) migration to Oracle.

    Copy to Oracle is the simplest method. It does not imply the creation of a repository of migration.  But it only migrates data without constraints or default values or indexes and tables. The set of data to move should be reasonably low as it is moved on JDBC.

    It may suit your purpose to try to Oracle.

    http://dermotoneill.blogspot.co.UK/2010/11/copy-to-Oracle.html

    Migrate Oracle requires the implementation of a migration repository. But he migrate the default settings, constraints, and indexes and can also provide scripts offline data move that can manage the circulation of large data sets.

    Here is a small script to create a new MIGRATIONREPO user, and grant the correct privileges.

    CREATE USER MIGRATIONREPO IDENTIFIED BY oracle.

    ALTER USER MIGRATIONREPO QUOTA UNLIMITED ON USERS;

    GRANT CONNECT, RESOURCE, CREATE VIEW, CREATE MATERIALIZED VIEW to MIGRATIONREPO;

    Then using SQL Developer, create a connection to MIGRATIONREPO, right-click on the connection and choose "associate the Migration repository.

    I hope you have success best creation of migration with the privileges of theses repository.

    Migration Wizard step 8: target database

    Choose Offline Mode.

    This will present you with a build script that you can inspect before the race.

    The build script must be run using the SQL Developer worksheet and choose free user sufficiently privileged in Oracle generally SYSTEM.

    Note that if you would rather work with the repository you must currently you can browse your browser of Migration.

    Access converted database objects, right-click and select "generate the target".

    This will again open the Migration Wizard in step 8. Allowing you to choose Offline Mode so that you can review the build script.

    Hope this helps,

    Kind regards

    Dermot.

    SQL development team.

  • Access 2003-&gt; Oracle 10 g: fixed error of migration, SQL script

    I recently migrated an Access 2003 to SQL using Oracle SQL developer Oracle database, and the process went well, with the exception of some migration errors.

    The errors I had have largely brought on 3 main groups:

    (i) "doesn't have to convert' errors:
    Failed to convert view Q345_Delete_NR > filename. Q345 - Delete NR: unexpected node in the AST: EXEC_PARAM_LIST: column of the row-1-1

    (II) 'limitation of translation mistakes:
    Limitation of the translation "cannot convert to display" met on view filename. Q326 - update column of NA column_name line 0 0

    (III) "parse errors":
    oracle.dbtools.migration.parser.ext.ExtStringTemplate.setValue(ExtStringTemplate.java:106)

    I know that these can be fixed, but I'm unable to understand what they mean. I would be grateful for some advice on what this means and how do I address to them.

    Finally, I would like to watch the complete SQL script for the database migrated - please someone let me know how to consider this in a single sheet? I would like to create a stored procedure from this one.

    Thank you.

    Published by: 803242 on October 19, 2010 16:23

    As you have an Oracle database you currently have support for this database and this is quite enough to save a service request for the SQL Migration Workbench developer.
    Saving a service request will allow us to examine the migration of more detailed SQL Dev and then we can improve the product.

    (The stored procedures, you need to manually extract the instructions in the script generated) that you intend to do) and then put it in a procedure.

  • How to migrate from MySQL to Oracle stored procedure

    Hi all

    I've migrated mysql 5.1.42 - enterprise-gpl-advanced DB for oracle sqldeveloper 3.1.07 tool.

    DB objects migrate successfully except stored procedures.

    I checked .sql and files... Capture process not captured SQL stored procedures.

    Could you please suggest where I can check correct error or how to fix this.

    Thanks in advance.

    Hello

    SQL * Developer version you use is an old and you must use the latest version available from this link.

    Oracle SQL Developer

    However, even the v4 version does not support the migration of procedures stored as stated in this link - MySQL

    http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/supportedmigplatforms-086703.html

    You will need to manually convert the MySQL in Oracle format, stored procedures since even the "Scratch Editor" under "tools - migration '-doesn't have an option for MySQL conversion.

    The documentation includes details of the difference between MySQL and Oracle stored procedures-

    Oracle SQL Developer information for the migration of MySQL®

    in chapter Triggers and procedures stored

    Kind regards

    Mike

  • Migration to SQL SERVER 2008 for questions of Oracle 10 g.

    Hello

    I'm trying to migrate from SQL Server 2008 to Oracle 10 g and I end up with a few problems that I wanted to ask you some info about it.
    First of all, I followed a tutorial
    http://St-curriculum.Oracle.com/OBE/DB/hol08/sqldev_migration/MSSQLServer/migrate_microsoft_sqlserver_otn.htm
    and and in the latest version of Oracle SQL developer, I downloaded, I found not the Output of the Script of Capture of database load option.
    My first question is how can I add either this option or y at - it a new way to load the script to capture?
    Can I use the migration wizard and after all, I had the full message of migrating the application.
    When I tried to open my connectionss, he told me version 11.2 is necessary. Does this mean that developer Oracle SQL 3 only
    perform the migration of oracle 11g? And if I tried the previous versions, it does not support SQL server 2008.
    What should I do in this case?

    Thank you!

    The output of the Script Capture charge of database can be found in the tools of-> Migration section.

    You have already discovered the "create data base Capture Scripts" in tools-> Migration menu and you have run the script that generated the DAT files.
    Now click on tools-> option-> Migration migrate, choose your repository, add a project, and then on the next page you must choose between ONLINE and offline mode. When you use the DAT files, please choose the offline mode and add the * ocp file with the subdirectories that contains the DAT files.

    SQL Developer is able to connect to Oracle 10.2 db as well. Can you please be more specific about the second question and provide more details the steps that you did?

  • Import MYSQL to Oracle Blob

    Our team is planning to migrate from mysql to oracle. They provided a file in text format which produce using the mysqldump utility, and I can find the sql statement in this file. But I do not see file contain some raw data associated with characters of blob. Can I import data from text/number, but how can I import data blob in oracle using the sql statement or tool. Any idea

    Use SQL * Developer.

    Here is a nice HOWTO move data from MySQL to ORACLE.

    Migration of MySQL

    MK

  • UNIX_TIMESTAMP and FROM_UNIXTIME from MySQL to ORACLE functions

    Hi all

    I'm migrating some functions and stored procedures in MySQL to ORACLE, and I the next instruction

    Set valuedat = FROM_UNIXTIME (valor + UNIX_TIMESTAMP ('2000-1-01 00:00:00 '));

    Since MySQL.

    Look, I found that:

    UNIX_TIMESTAMP ('2000-1-01 00:00:00 ')

    can be equivalent to the following query:

    SELECT (to_date (January 1, 2000 "," MON-DD-YYYY')-to_date('01-jan-1970','DD-MON-YYYY')) * (86400) as dt FROM dual;

    but testing the numbers is not the same

    Please can someone help me!

    Specifically, I need to know how to build the equivalent in oracle for FROM_UNIXTIME and UNIX_TIMESTAMP functions

    Thank you and best regards!

    CRGM

    Hello

    These are functions that I built to solve the original requirement, thanks for all your comments.

    ************************************************************************************************************************************

    CREATE OR REPLACE FUNCTION FROM_UNIXTIME

    (

    TIMESTAMP_ NUMBER

    ) AS OF DATE OF RETURN

    NUMBER OF SECONDS_PER_DAY: = 86400;

    MASK (50 CHAR) VARCHAR2: = 'DD-Mon-YYYY HH24:MI:SS ";

    DATE OF REF_DATE;

    BEGIN

    REF_DATE: = TO_DATE ('01 - ENE - 1970 00:00:00 ', MASK);

    RETURN REF_DATE + (TIMESTAMP_/SECONDS_PER_DAY);

    END FROM_UNIXTIME;

    **********************************************************************************************************************************

    CREATE OR REPLACE FUNCTION UNIX_TIMESTAMP

    (

    DATE_ IN DATE

    ) RETURN AS NUMBER

    NUMBER OF SECONDS_PER_DAY: = 86400;

    NUMBER OF DIFF_BETWEEN_DATES;

    MASK (50 CHAR) VARCHAR2: = 'DD-Mon-YYYY HH24:MI:SS ";

    DATE OF REF_DATE;

    BEGIN

    REF_DATE: = TO_DATE ('01 - ENE - 1970 00:00:00 ', MASK);

    DIFF_BETWEEN_DATES: = TO_DATE (TO_CHAR (SYS_EXTRACT_UTC (DATE_), MASK), MASK)

    -REF_DATE;

    RETURN DIFF_BETWEEN_DATES * SECONDS_PER_DAY;

    END UNIX_TIMESTAMP;

    ******************************************************************************************************************************

    Concerning

  • Script to generate the sys files os trail audit report

    Hello

    We have a large database, where 1000 bone trail files are generated every day.   Except sys, we get all the information lo - Gin of dba_audit_trail.

    But the listener wants the audit information sys too.

    It is very difficult to manually move all the files in the operating system. I tried to make a script to generate a report. But I do not succeed until now.

    If you have any of you have used or by using a similar script to generate a report of os audit .aud file sys. Please provide that.

    Also let me if there is another way to collect audit sys information easily.

    Thanks and greetings

    Marou

    Hi berang,.

    I wrote an article (http://www.dbarj.com.br/en/2014/10/retrieve-oracle-sysdba-audit-os-files-inside-table/) explaining exactly how to do it using the external Table with preprocessor function.

    Why don't you take a look and fit the need? I hope you enjoy.

    Kind regards

    Rodrigo

  • VCenter DB from SQL 2005 to Oracle Migration

    Hi all

    I am a student if the vCenter DB to SQL 2005 Standard to Oracle migration is possible.

    I already read a lot of documentation and found no clue on that goal.

    Anyone done any? Is it possible and functional?

    Thanks in advance.

    Hello

    There is a thread on the homepage with the same question.

    http://communities.VMware.com/thread/308260?TSTART=0

    So yes it is possible.  But I recommend cool vCenter from a facility.  Either by moving your hosts on manually recreate your pools of files/resources etc, either using a script PowerCLI.  This way you will not end up with a bribery scheme.

  • shell script to generate the redologs

    I'm working on RMAN in the test environment.

    because there in no generation of redo or very minor redo generation. I want to write a shell script that runs through cron tasks after a certain time and generate recovery logs. What I want to do to test the RMAN backup of the archivelogs mechanism and also the confirmation of the removal of the archivelogs by rman;

    write a script, but it does not redo logs


    #! / bin/sh
    export ORACLE_HOME=/opt/dev/oracle/db/tech_st/11.1.0
    CD $ORACLE_HOME
    . ./TEST_testing.env

    sqlplus / as sysdba

    SQL 'alter system switch logfile;

    /

    output


    When I run the sqlplus script is connected but alter system switch logfile does not run.


    Please guide me. can I run the sql via such script commands or not. In addition, take a look at script as well.

    Published by: user13376823 on February 16, 2011 17:06

    Do you mean that you need to switch redo logs so that the archives are generated?

    If Yes... Why reinvent the wheel?

    Oracle already has a parameter (ARCHIVE_LAG_TARGET) for this purpose.

  • Conversion of a query GROUP_CONCAT of MySQL to Oracle

    Hi all
    We migrated our MySQL to Oracle database and we are facing the GROUP_CONCAT in MySQL built-in function.
    I went through the WM CONCAT, COLLECT AND other built-in aggregates Oracle packages. Our problem is the following:
    Table A (emp_number, emp_firstname, emp_lastname, Emp_status) and table B (emp_reporting_mode, emp_sub_mode, emp_sup_mode); Emp_sup_mode here is the employee
    These tables are not related, and we have these data
    Table A
    emp_number emp_firstname emp_lastname Emp_status
    5 BEN STA000 Raoul
    Nadine 6 YAYA NULL
    1 Hermann LONDJI STA001
    STAT00 ONANA honors 14

    Table B
    emp_reporting_mode emp_sup_mode emp_sub_mode
    1-6-1
    1-14-5
    The emp_sup_mode represents the emp_number and emp_sub_mode the emp_number subordinate supervisor. MySQl was able to use the GROUP_CONCAT to concatenate this.
    as such and should exit the emp_firstname and the emp_lastname of the contractor where the supervisor code is equivalent to the number of the employee. Here, we can see Nadine YAYA (emp_number 6) is the prime contractor to Hermann LONDJI (emp_number 1) and Honoré ONANA (emp_number 14) is the architect of Raoul ESSOME (emp_number 5).
    Thanks for any input. Other methods and rather global functions of similar id and cos.
    with a as (
               select 5 emp_number,'Raoul' emp_firstname,'ESSOME' emp_lastname,'STA000' emp_status from dual union all
               select 6,'Nadine','YAYA',NULL from dual union all
               select 1,'Hermann','LONDJI','STA001' from dual union all
               select 14,'Honore','ONANA','STAT00' from dual
              ),
         b as (
               select 1 emp_reporting_mode,6 emp_sup_mode,1 emp_sub_mode from dual union all
               select 1,14,5 from dual
              )
    select  a1.emp_number,
            a1.emp_firstname,
            a1.emp_lastname,
            a2.emp_firstname || ' ' || a2.emp_lastname supervisor
      from  b,
            a a1,
            a a2
      where a1.emp_number = b.emp_sub_mode(+)
        and a2.emp_number(+) = b.emp_sup_mode
    /
    
    EMP_NUMBER EMP_FIR EMP_LA SUPERVISOR
    ---------- ------- ------ --------------
             1 Hermann LONDJI Nadine YAYA
             5 Raoul   ESSOME Honore ONANA
            14 Honore  ONANA
             6 Nadine  YAYA
    
    SQL> 
    

    SY.

  • Link to database for MySQL with Oracle Express

    Hello Oracle Community,

    I made a post on this topic already in the section general, but here is the best place for my question. My goal is to access a mysql to oracle server. Some info about my system and what I've done so far:

    Windows Vista 64-bit
    Oracle Express 10.2

    -installed 32-bit DNS ODBC driver for the database mysql, tested and it succeeded, the name is CHANCE
    -created a new file in the folder admin/hs initLuck.ora, prameters are: HS_FDS_CONNECT_INFO = CHANCE HS_FDS_TRACE_LEVEL = OFF
    -new section in the listener.ora: (SID_DESC = (SID_NAME = CHANCE) (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server) (PROGRAM = hsodbc))
    -new section in my tnsnames.ora: CHANCE = (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = GOGAPC01001)(PORT = 1521)) (CONNECT_DATA = (SID = CHANCE)) (HS = OK))
    -inexplicable the listener
    -Do a bit of luck, success of tnsping
    -created a link of database: CREATE DATABASE LINK LUCK24 CONNECT TO 'user' IDENTIFIED BY 'password' USING 'LUCK24 ';
    -tried to do a simple select statement: SELECT COUNT (*) FROM customers@LUCK;

    and there I get an error message:

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
    [Generic connectivity using ODBC] [Microsoft] [ODBC driver manager] Der Datenquellenname wurde nicht found, und're wurde kein Standardtreiber angegeben (SQL State: IM002;) SQL Code: 0)
    ORA-02063: preceding 2 lines of LUCK24

    can anyone help?

    Ikrischer

    Ikrischer,
    On which platform do you have installed the drivers 32 bit and HSODBC? He was on a Windows 32-bit platform? It is not supported to run the 32-bit software on a Windows 64-bit platform.
    There were some problems with versions 10.2.0.3 and earlier that are similar to those you typo - problems with bigint and select count. These are laid down in the 10.2.0.4 group of patches, so you should apply to your ORACLE_HOME 10.2 directories and see if the problem still occurs.
    However, as already said HSODBC 10.2 is now desupported you need to find to install 11.1.0.6 DG4ODBC and then apply the 11.1.0.7 patch group which also solves the problem.
    If you have access to My Oracle Support then see this note.

    Select columns MySQL Bigint use HSODBC returns an incorrect value when you use ODBC MySQL Connector (Doc ID 401086.1)

    Kind regards
    Mike

Maybe you are looking for