SSIS explicit data type in xsd
Posted on 2009-07-16
Is it possible to explicitly name the data type in the xsd file to sql server data types? I have an xml source that I am putting through a lookup in SSIS. The lookup is reporting that the data type don't match with the table. The attribute in the xml file is a url with data type string, I've changed the table column data type to varchar(max), nvarchar(max), and text with no effect.
I'm now trying to set the data type in the xsd file by using the namespace
<xs:element name="ItemURL" type="xs:string" dt:type="varchar" minOccurs="0"/>
Can I do something like dt:type="varchar"?