Hi
I have searched far and wide for this, and either I don't use the correct search phrase or it is really uncommon to do...
Anyway, what I need help to accomplish is to store a incoming XML directly to ONE field in a database.
My database table have this structure:
| ID | ReceivedFrom | ReceivedDateTime | FinnishedProcessedDateTime | Message |
and I want to put the complete XML into the Message column.
Is it enough to map the top node of the incoming schema to the Message field in the schema that maps to the table?
The rest of the fields is populated in the mapping and should not be a problem.
And what would the correct datatype in the table column be? VARBINARY(MAX)? nvarchar(MAX)? Xml?
I hope someone have done something similar before and can point me in the right direction.


