Hello all,
We have a requirement wherein we need to transfer contents of few tables (SQLServer) into an CSV file and then from the CSV file we need to insert into Oracle using sqlldr utility provided by oracle.
We used SSIS to transfer the contents of SQLTable(s) to CSV file. Now when we run the sqlldr utility to copy the contents of the CSV, we are facing few issues
1)There are 2 columns in the SQLServer tables having a value of true or false (Data type is bit). We need to convert this into numeric 1 (for True) and numeric 0 (For False).
2)We have a date column in the sql table. Most of the records have a format YYYY-MM-DD HH:MI24:SS. But there are few records which have a format YYYY-MM-DD HH:MI24:SS.SSSSSSSSS (milliseconds value is the difference).
Now I would like to know how we can do the data transformation using SSIS for the above mentioned scenarios 1) and 2). The transformation has to be done before the csv file is created.
Could you please assist us on this as we need the solution for this ASAP. Your assistance at the earliest would be greatly appreciated.
Thanks and Regards,
Vijay
We have a requirement wherein we need to transfer contents of few tables (SQLServer) into an CSV file and then from the CSV file we need to insert into Oracle using sqlldr utility provided by oracle.
We used SSIS to transfer the contents of SQLTable(s) to CSV file. Now when we run the sqlldr utility to copy the contents of the CSV, we are facing few issues
1)There are 2 columns in the SQLServer tables having a value of true or false (Data type is bit). We need to convert this into numeric 1 (for True) and numeric 0 (For False).
2)We have a date column in the sql table. Most of the records have a format YYYY-MM-DD HH:MI24:SS. But there are few records which have a format YYYY-MM-DD HH:MI24:SS.SSSSSSSSS (milliseconds value is the difference).
Now I would like to know how we can do the data transformation using SSIS for the above mentioned scenarios 1) and 2). The transformation has to be done before the csv file is created.
Could you please assist us on this as we need the solution for this ASAP. Your assistance at the earliest would be greatly appreciated.
Thanks and Regards,
Vijay