How do I fix ‘Invalid character value for cast specification’ on a date column in flat file?

I was ultimately able to resolve the solution by setting the column type in the flat file connection to be of type “database date [DT_DBDATE]” Apparently the differences between these date formats are as follow: DT_DATE A date structure that consists of year, month, day, and hour. DT_DBDATE A date structure that consists of year, … Read more

Arithmetic overflow error converting expression to data type datetime. (while displaying date time..)

You issue is that you’re trying to convert the numeric to a datetime, and this just isn’t working. You need to turn your numeric into a string first: SQL Fiddle with demo. When you try and convert a numeric type to a datetime, SQL Server tries to add the numeric value as the number of days to the date 01-Jan-1900. In your … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)