TDS supports handling of null values within messages. You can use the message set property Boolean Null Representation to specify the value to be used for Boolean Null representation. You can use the object properties Encoding Null and Encoding Null Value to control how null handling is represented for individual objects.
You can select the Encoding Null property from the three enumerated values NULLPadFill, NULLLogicalValue, and NULLLiteralValue:
tag1:,is written out, where tag1 is the tag for the variable length element with NULLPadFill set, ":" is the tag data separator, and "," is the delimiter.
If the literal value is shorter, the Encoding Null Value is padded (using Padding Character) on output. On input, if the NULLLiteralValue's length does not match the Length field, you should set the message set level Trim Fix Len String property so that padded nulls are correctly parsed.
The use of the Encoding Null Value property is dependent on the value that you select for the Encoding Null property described above. Null values are not defined for binary types. The properties Encoding Null and Encoding Null Value are therefore not set for binary types.
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
ad06830_ |