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

SSIS Data Flow Task Not Showing all data in destination

$
0
0

Hello Community,

I was working in an SSIS package that is using Dynami Connection, so I am using the following query to extract some information from the database to create a small report:

SELECT @@SERVERNAME
   END ServerName
  ,d.[name] AS DatabaseName
  ,SUSER_SNAME(d.owner_sid) AS 'Owner'
  ,(SELECT COUNT(1) FROM sys.master_files WHERE DB_NAME(database_id) = d.name AND type_desc = 'rows') AS DataFiles
  ,(SELECT SUM((size*8)/1024) FROM sys.master_files WHERE DB_NAME(database_id) = d.name AND type_desc = 'rows') AS DataMB
  ,(SELECT COUNT(1) FROM sys.master_files WHERE DB_NAME(database_id) = d.name AND type_desc = 'log') AS LogFiles
  ,(SELECT SUM((size*8)/1024) FROM sys.master_files WHERE DB_NAME(database_id) = d.name AND type_desc = 'log') AS LogMB
  ,d.[compatibility_level] As CompatibilityLevel
  ,d.collation_name AS Collation
  ,d.user_access_desc AS UserAccess
  ,d.is_read_only AS IsReadOnly
  ,d.is_auto_close_on AS IsAutoCloseOn
  ,d.is_auto_shrink_on AS IsAutoShrink 
  ,d.is_in_standby As IsStandBy
  ,d.state_desc AS [State]
  ,d.recovery_model_desc AS RecoveryModel
  ,d.create_date AS CreatedDate
FROM sys.databases d

So basically, is a simple query, the SSIS will change the instances connection in order to extract the data, but when I execute my SSIS it load some null values, for example:

But, if I execute the querty in a Server that is showing me null values, it would display the data as expected. I thought the ssis mapping was wrong, but they are ok, and the table is not showing me a all the rows of a column in NULL, only some. Do you know about some issue relate to this, or I am missing somethin?

Thanks


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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