I'm trying export data from a sql server table to an Excel file using SSIS.
1. Is there a way to get the package to override the file every time it runs?
2. Apparently SSIS does not allow implicit conversion. For some reason I keep on getting an error that I cannot convert between unicode and non unicode string data types.
To resolve this I tried two things:
1. changed all the datatypes on the export columns from string [DT_STR] to Unicode string [DT_WSTR]. which in itself is a pain in the neck b/c you have to change each field manually.
2. I added a "data conversion" transformation as an intermediary btw SQL and Excel to convert all of the data types.
Both options failed..
Does anyone know how to resolve this issue?
thanks
sam
1. Is there a way to get the package to override the file every time it runs?
2. Apparently SSIS does not allow implicit conversion. For some reason I keep on getting an error that I cannot convert between unicode and non unicode string data types.
To resolve this I tried two things:
1. changed all the datatypes on the export columns from string [DT_STR] to Unicode string [DT_WSTR]. which in itself is a pain in the neck b/c you have to change each field manually.
2. I added a "data conversion" transformation as an intermediary btw SQL and Excel to convert all of the data types.
Both options failed..
Does anyone know how to resolve this issue?
thanks
sam