exp1 LIKE exp2 in sybase is changed to
-
exp1 like exp2
-
exp1 like ltrim(exp2)
-
exp1 like rtrim(exp2)
-
ltrim(exp1) like exp2
C
Correct answer
Explanation
Sybase behaves differently with trailing spaces in char fields. In migrations or compatibility adjustments, right-trimming the pattern (exp2) using rtrim ensures matching behavior matches expected standard patterns without trailing space mismatches.