I'm having a problem trying to get an xml file created. The problem seems to be around external/output data types.
I have a dataflow component that uses a connection to SQL to return some XML.
SELECT street_name AS STREET
from theSTREETS
FOR XML PATH(''),
ROOT('STREETS')
This then goes to a flatfile destination on the file system.
I am getting a validation warning saying....
Warning 1 Validation warning. {2DA71E9E-49BD-47AF-9F63-C29B6CFB5429} XMLOutput file [19]: The external columns for component "XMLOutput file" (19) are out of synchronization with the data source columns. The external column "XML_F52E2B61-18A1-11d1-B105-00805F49916B"
needs to be updated. Package.dtsx 0 0
At the moment (because I'm not 100% sure what I am doing!) I am going to the advanced editor/input and output properties of the source and destination and trying to flick between data types in order to make the errors/warning go away but nothing is working.