I want to Extract(Export) 4 tables from SQL SERVER 2008 to a Flat File.
All the four tables are related to each other (through PK & FK relationships).

Tables are
1. Type
2. COA
4. VoucherMaster
5. VoucherDetail

How can i do that ? any help regarding this will be highly appreciated.
I wants to do through SSIS.