I need to load data from source table to Flat file detination(txt). For example i have employee table with eid, ename, salary as column names.
I want to load those columns data into Flat file destination(txt) as test(eid), test(ename),test(salary)..
Ie.., output format has to be like this in my destination(txt)
test(1),test(satish),test(20000)
test(2),test(ram),test(30000)
test(3),test(rahul),test(40000)
You can use Derived Column transformation for example.
Create a Data Flow task as shown in the first picture.
In Derived Column transformation settings you should convert your columns in the format you want to output. Don’t forget to cast your non-string columns.
In Flat File Destination delete all the unnesccessary columns (
eid, ename, salary). Only output columns will redirected to the file.And here’s your desired output.