Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Flat file Format using SSIS

Author  Topic 

ssde_best4u
Starting Member

1 Post

Posted - 2013-10-18 : 03:28:36
Hi everyone,

I am using the BIDS 2008 to generate a flatfile, but i need to format the flat file output like below:

The below output i got in the txt file

Name Age Phone Address city
jon 12 3435 usa qq
mike 34 6767 uk fvgf

But i need the output like below:

Name Jon age 12 city qq

Address: usa
-----------------
Name mike age 34 city fvqf

Address: uk

--------------
Company address:test.


if any body have any idea.please guide me

Thanks In advance

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-10-18 : 10:36:50
the format that you're asking for is not easy to generate using simple data flow task.
best thing would be to use bcp queryout option with format file to specify the custom format

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -