The binary data type is used to represent binary data in an ASCII-encoded format (note that this is the hexadecimal notation of the ASCII characters). This data is prefaced with the characters '0x'. The number of digits following the '0x' is expected to be an even number; an odd number of digits is a mis-formed binary data type and will not be allowed.
There is currently no operator support for binary data types (such as: >,<,=for comparison(assignment is supported)). If binary values need to be compared, they can be compared for equality only by using the toHexString() method which will perform a string comparison.
Copyright © 2002. Sybase Inc. All rights reserved. |
![]() |