Greetings, I have source data from SQL Server which is defined as money and I have been asked to format that to excel as currency/money. It seems SSIS does not want to do this. It comes thru the pipeline correctly as a dt_cy data type but when it gets
to the OLEDB Destination, it changes the currency column to a dt_wstr data type. Data conversion or derived column transform seem pointless as it is the correct data type from the oledb source, but I tried them also, did not work. I tried modifing the
advanced editor properties for this column changing to dt_cy, it allows that but when it writes the worksheet it is formatted as text. This is not a one time run, it will be automated so I can't manually format the worksheet. I have a sql script to create
the worksheet as follows:
CREATE TABLE `DataSummary` (
`total_cost` currency ,
`column2` varchar (6) ,
`platform_name` varchar (255) ,
`platform_description` varchar (255))
a screenshot of the oledb destination with the input and output column in question highlighted. the input total_cost is defined here as dt_cy, and output is dt_wstr. How can I force that definition in this column to currency? Running SQL 2008 R2.
↧
Excel OleDB Destination forcing currency/money source to text dt_wstr
↧