Home Forums SQL Server 2008 SQL Server Newbies Replace RE: Replace
mahmad_khoja
SSCommitted
Points: 1511
More actions
October 2, 2013 at 11:55 pm
#1655392
Instead of using replace use CASE WHEN ... THEN END syntex
like
and $filter = CASE WHEN CONDITION THEN 'VALUE' ELSE 'VALUE' END