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.