Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS export to Excel shows success but no output is sent to excel

$
0
0

 

Can someone please help me??

 

I'm running simple t-sql command  and exporting output to excel.  The execution results indicate it's writing rows to excel but the spreadsheet is empty after package successfully completes.  I was originally looping through a table containing both valid and invalid sql servers so I eliminated the invalid ones just to see if those failures were part of the problem, however I got same results when all  connections were successful.

 

I changed the Source Output Output Columns to the supported datatypes  of double precision point float (RT_8) and unicode string (DT_STR) 255.  I  was not able to change Source Output External Columns (I could change and save but when I went back to verify, they had been reset to default (??).

 

This is beyond frustrating. I had this working several days ago until I started fiddling with re-directing rows upon error, which I eliminated for troubleshooting purposes.

 

Here's the t-sql command (intentionally written for SQL 2000 compatability)

 

SELECT CONVERT(nvarchar(20),serverproperty('servername')) as instance 
,d.name as dbname,
sum((convert(bigint, (Size) * 8)) /1024) as 'dbsize in MB'
 FROM master..sysaltfiles af join master..sysdatabases as d on af.dbid=d.dbid  
group by d.name

 

Oh - this works fine when I send output to a table in the database. 


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>