SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SSIS and Import/Export (2008)
 Flat file Format using SSIS
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ssde_best4u
Starting Member

1 Posts

Posted - 10/18/2013 :  03:28:36  Show Profile  Reply with Quote
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

India
52325 Posts

Posted - 10/18/2013 :  10:36:50  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000