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

SSIS 2008 converts date to DT_WSTR

$
0
0

Hi,

I am using an oledb source with the following select 

SELECT [EmployeeKey]
      ,[EmployeeBK]
      ,[SuperiorEmployeeBK]
      ,[Name]
      ,[FirstName]
      ,[DateOfBirth]
      ,[EntryDate]
      ,[EndOfProbationDate]
      ,[SeparationDate]
  FROM [dbo].[DimEmployeeCurrent]

The table looks like this

[DimEmployeeCurrent](
	[EmployeeKey] [int] NOT NULL,
	[EmployeeBK] [int] NULL,
	[SuperiorEmployeeBK] [int] NULL,
	[Name] [nvarchar](50) NULL,
	[FirstName] [nvarchar](50) NULL,
	[DateOfBirth] [date] NULL,
	[EntryDate] [date] NULL,
	[EndOfProbationDate] [date] NULL,
	[SeparationDate] [date] NULL,
)

SSIS now converts the date columns to datatype DT_WSTR. Why?

Thanks

Andi


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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