Hello friends I am trying to use % for all in my SQL statement
in where caluse I have
AND B.County_Id in {?County} or {?County} = '%'
B.County_Id is numeric and {?County} is string. Any ideas?.
I also tried
cast(B.COUNTY_ID as varchar(32)) in {?County} or {?County} = '%'
and cast(B.COUNTY_ID as varchar(32)) like {?County}
But I get errors
in where caluse I have
AND B.County_Id in {?County} or {?County} = '%'
B.County_Id is numeric and {?County} is string. Any ideas?.
I also tried
cast(B.COUNTY_ID as varchar(32)) in {?County} or {?County} = '%'
and cast(B.COUNTY_ID as varchar(32)) like {?County}
But I get errors