You have to consider 2 points:
1st
When using ISNULL(M.ActiveLEDZones, '') [ActiveLEDZones__c] in your query, this function will not take the original column data length varchar(5), it will take the longest length found in this query which can cause a similar issue, try using a CAST function to precise the column data length.
CAST(ISNULL(M.ActiveLEDZones, '') AS VARCHAR(5)) [ActiveLEDZones__c]
Additional Testing
use the following queries to create table and check the created table structure:
SELECT
ISNULL(M.ActiveLEDZones, '') [ActiveLEDZones__c]
, M.Weight [Weight__c]
, M.WeightStand [WeightStand__c]
, M.wifi [WIFI__c]
INTO tblTemp_1
FROM [dbo].[ModelComparison] M
WHERE CAST(M.CreateDate AS DATE) >= '2012-01-01'
AND the following
SELECT
CAST(ISNULL(M.ActiveLEDZones, '') AS VARCHAR(5)) [ActiveLEDZones__c]
, M.Weight [Weight__c]
, M.WeightStand [WeightStand__c]
, M.wifi [WIFI__c]
INTO tblTemp_2
FROM [dbo].[ModelComparison] M
WHERE CAST(M.CreateDate AS DATE) >= '2012-01-01'
you will see that tblTemp_1 [ActiveLEDZones__c] column differs from tblTemp_1
[ActiveLEDZones__c]
2nd
You can use CAST(ISNULL(M.ActiveLEDZones, '') AS NVARCHAR(5)) instead of ISNULL(M.ActiveLEDZones, '') so the source column will be readed as Nvarchar(5) and there is no need to use Data Conversion Componenent
the query will be
SELECT
CAST(ISNULL(M.ActiveLEDZones, '') AS NVARCHAR(5)) [ActiveLEDZones__c]
, M.Weight [Weight__c]
, M.WeightStand [WeightStand__c]
, M.wifi [WIFI__c]
FROM [dbo].[ModelComparison] M
WHERE CAST(M.CreateDate AS DATE) >= '2012-01-01'
ActiveLEDZones__cfromvarchar(5)tonvarchar(5)? - Evaldas BuinauskasCreateDatecolumn in the source table? - Tab Alleman