Quote:
But it's not work
That's not pretty informative. You should detail.
Your code is not robust, possibly you need to handle
null
values, possibly you have to trim the retrieved string, possibly you have to handle both
"Y"
,
"N"
and
everything else.