How to create a dummy columns in SSIS 2008

512 Views Asked by At

I have a Flat file (.csv)

ID, Name
1, ABC
2, CDE
3, DEF

I want to the Insert these columns into the target Oracle Table with the sysdate to be inserted into the Load_Dt Column

Create Table Temp1
(Load_Dt Date,
ID Number,
Name Varchar2(10));

Environment:

  • SSIS 2008 R2
  • Oracle 10g
  • Attunity V 1.2
2

There are 2 best solutions below

3
On BEST ANSWER

In the DataFlow Task add a Derived Column Transformation

Add a new column of type DT_DBTIMESTAMP with the expression:

(DT_DBTIMESTAMP)GETDATE()

Read more about Derived Column Transformation in this Microsoft Docs article

0
On

One way to do this is with the Derived Column Transformation.