This is a discussion on How to map data within the Informix forums, part of the Database Server Software category; --> Hi everybody! I'm working on a migration from Informix to SQL Server... I'm doing it through DTS and ODBC. ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi everybody! I'm working on a migration from Informix to SQL Server... I'm doing it through DTS and ODBC. What I'm doing is using the DTS, my data origin is tha Informix database and mi target is the SQL Server database that I just created, this is via IBM Informix ODBC and I copy the tables... but the results are something like this: --INFORMIX-- create table r_cap_dbt_uni ( num_db smallint , cve_uni char (8) , fecha_mens datetime YEAR to MONTH , valor float , primary key ( num_db, cve_uni, fecha_mens ) , foreign key ( num_db ) references cat_db_tec ( num_db ) ); -- SQL SERVER -- create table r_cap_dbt_uni ( num_db smallint , cve_uni char (8) , *********************************************** fecha_mens smalldatetime , valor float , *********************************************** primary key ( num_db, cve_uni, fecha_mens ) , foreign key ( num_db ) references cat_db_tec ( num_db ) ); as you can see the float and datetime year to month data types change like the example before.... I changed the "float" datatype manually to "decimal" datatype... but I don't know what to do with the "datetime year to month" Informix datatype, I mean, I dn't know why the DTS changes this datatype to "smalldatetime"... how can I map this? what's the process? Thank you very much! Rodolfo |
| Thread Tools | |
| Display Modes | |
|
|