TALLY returns a FIXED BINARY(31,0) result that indicates the number of times string y appears in string x. If y does not appear in x, a value of 0 is returned.
|
Both x and y must have computational type and should be character, bit, graphic or widechar type.
If either x or y are the null string, the result is zero.