Varchar field length
Posted: Tue Dec 17, 2013 4:01 pm
Hi All,
I'm trying to read a xml message into a varchar field. The length of the xml message could vary and I'm reading it into a single nvarchar field. As of now I have not defined any length for the nvarchar field as the length of the message could vary.
I have 2 approaches in mind:
1. Define a very high length so that the message does not cross that length
2. Dont define length for the nvarchar field and leave it as it is.
Please let me know which of the above 2 approaches would work well with DataStage v8.5
Thanks.
I'm trying to read a xml message into a varchar field. The length of the xml message could vary and I'm reading it into a single nvarchar field. As of now I have not defined any length for the nvarchar field as the length of the message could vary.
I have 2 approaches in mind:
1. Define a very high length so that the message does not cross that length
2. Dont define length for the nvarchar field and leave it as it is.
Please let me know which of the above 2 approaches would work well with DataStage v8.5
Thanks.