acclimate
asked on
SSIS explicit data type in xsd
Hi Experts,
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
xmlns:dt="urn:schemas-micr osoft-com: xml:dataty pes"
<xs:element name="ItemURL" type="xs:string" dt:type="varchar" minOccurs="0"/>
Can I do something like dt:type="varchar"?
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
xmlns:dt="urn:schemas-micr
<xs:element name="ItemURL" type="xs:string" dt:type="varchar" minOccurs="0"/>
Can I do something like dt:type="varchar"?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.