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

The OLE DB provider used by the OLE DB adapter cannot convert between types "DT_DBTIMESTAMP" and "DT_I4" for date column.

$
0
0

Hi,

I have this OLEDB Source and I am getting the data using sqlcommand

this is my sqlcommand query. I am Not at all converting the birthdate column to int. 

SELECT    
	customer_id, 
	client_id, 
	social_id, 
	provider_id, 
	lead_id, 
	type_gender_code, 
    type_customer_code, 
    type_transaction_code, 
    lead_type_code, 
    first_name, 
    prefix_name, 
    middle_name, 
    last_name, 
    suffix_name, 
    birth_date , 
    address1, 
    address2, 
    city, 
    state, 
    country, 
    zip, 
    facebook_id, 
    twitter_id, 
    email_address, 
    phone_number, 
    dms_link_name, 
    password, 
    user_name, 
    profile_image_url, 
    screen_name, 
    age, 
    [annual salary], 
    is_deleted, 
    dnc_status, 
    cast(isnull(distance_from_dealer,0) as int) as distance_from_dealer 
   
FROM            
	cdc.customer_customer_CT

how to know which one caused this error.

Thanks for any help .


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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