Hi NG,
I'm going crazy. Since two days I tried to insert a xml-String
(XMLNode.outerxml) into a SQL Table (column type=text).
myCommand.Parameters.Add("@ImportID", SqlDbType.UniqueIdentifier)
myCommand.Parameters.Add("@SourceXML", SqlDbType.Text)
myCommand.Parameters.Add("@DestXML", SqlDbType.Text)
myCommand.Parameters.Add("@ImportDate", SqlDbType.DateTime)
myCommand.Parameters("@SourceXML").value = MyXmlNode.outerXML
and so on...
My XML is at the moment 209225 Characters big (can be greater or
smaller)
If I'm executing a SELECT into the query analyser on my table, I can
view the SourceXML column with a truncated content. I can do what I
want there are always just a fraction in the column instead of the
whole XML.
Please, if anybody knows a answer to the problem post it for me.
Thanks
Xaver
PS: Project written in VB.Net with ADO.NET and SQL 2000