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
 General SQL Server Forums
 New to SQL Server Programming
 Output txt file in certain format

Author  Topic 

jtwork
Yak Posting Veteran

82 Posts

Posted - 2007-10-25 : 09:56:33
Using sql server

I want to create a txt file from a table i have. I have the data in the correct formats but i want to include some padding around my selected four columns.

Im not sure about the best way to go about this?

X002548
Not Just a Number

15586 Posts

Posted - 2007-10-25 : 11:15:31
bcp the data out with a format file


Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page
   

- Advertisement -