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 2012 Forums
 SSIS and Import/Export (2012)
 Convert .xlsx to .txt

Author  Topic 

jstikal
Starting Member

19 Posts

Posted - 2014-07-03 : 15:27:51
I need to generate a .txt file via a SSRS report. My thought was to export the report as .xlsx then build a SSIS package to convert the file. In theory I thought this would work but I'm unsure how to implement SSIS to convert the file. Any assistance would be greatly appreciated.

Thank you!

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2014-07-03 : 15:35:42
SSRS supports csv files, right? Csv files can be opened as text files.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

jstikal
Starting Member

19 Posts

Posted - 2014-07-03 : 16:28:00
I see SSRS only exports as CSV (comma delimited) or CSV (Tab delimited), I actually need tab delimited.



quote:
Originally posted by tkizer

SSRS supports csv files, right? Csv files can be opened as text files.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/

Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2014-07-03 : 16:34:06
But it supports that?

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

jstikal
Starting Member

19 Posts

Posted - 2014-07-03 : 17:12:08
Apologies, I must have missed something. Here are the available file options in the SSRS subscription:

XML
CSV(comma delimited)
PDF
Excel 2003
Excel
TIFF
Word
CSV(pipe delimited)

quote:
Originally posted by tkizer

But it supports that?

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/

Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2014-07-05 : 16:49:53
Ah, you said it support tab delimited and that you wanted tab delimited. I didn't have an SSRS available to verify. I don't have a solution via SSRS, but you can achieve the same via other methods, such as SSIS, bcp, etc.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

jstikal
Starting Member

19 Posts

Posted - 2014-07-07 : 15:55:46
Hello Tara,

Thank you so much for the help. I used the following as the resolution.

http://seanmkrause.com/2012/10/09/sql-server-2008-r2-tab-exports/

Thank you for your time!!

quote:
Originally posted by tkizer

Ah, you said it support tab delimited and that you wanted tab delimited. I didn't have an SSRS available to verify. I don't have a solution via SSRS, but you can achieve the same via other methods, such as SSIS, bcp, etc.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/

[url][/url][url][/url][url][/url]
Go to Top of Page
   

- Advertisement -