IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Export to database. Is varchar(max) as default possible Options · View
Havardo
Posted: Wednesday, July 13, 2016 9:59:47 AM
Rank: Newbie

Joined: 7/13/2016
Posts: 5
Location: UK
Hi,
I have some relatlivly complex XML data (several GB without schema). The generated SQL Server DDL us varchar(255) for most fields, which unfortunalty is insufficient for many, which is consequently followed by data truncation errors.

There are two workarounds I am familer with (both are time consuming).
1. Define a schema
2. manually fix the DDL and try again.

Is there another method of telling XMLSpy that default datatype for SQL Server varchar should be varchar(max) and not varchar(255)?

Any comments would be highly appreciated.
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.