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 2005 Forums
 Transact-SQL (2005)
 Tab Delimited Output file

Author  Topic 

adam_hh
Starting Member

6 Posts

Posted - 2007-06-15 : 10:47:37
I'm trying to create a tab delimited output file using TSQL. Can Anyone show me the light? I have the SQL written, just can't figure out how to put the tab delimiter between the fields.

Thank You!!

nr
SQLTeam MVY

12543 Posts

Posted - 2007-06-15 : 11:01:34
see
http://www.simple-talk.com/sql/database-administration/creating-csv-files-using-bcp-and-stored-procedures/

Use can also use tab as the column delimiter in a bcp.


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -