views:

2556

answers:

2

I am reading in CSV file and translating it to a SQl Table. The kicker is that one of the columns in the table is a type ID that needs to be set to a constant (in this case 2). I am not sure how to do this.

A: 

Look into the derived column transformation. Your formula will just be a constant.

jms
+4  A: 

You can use a Derived Column Transformation in which you'll create a new output column and set its value to 2. You can then use that column when outputting to SQL.

Farinha