bebblebrox
IS-IT--Management
Hi,
I have the following snippit:
when i run it i get:
what gives? addr2 is a varchar(100)
I have the following snippit:
Code:
select case addr2
when charindex(addr,'@') > 0 then null
else addr2
end as addr2 from members
when i run it i get:
Code:
Server: Msg 170, Level 15, State 1, Line 2
Line 2: Incorrect syntax near '>'.
what gives? addr2 is a varchar(100)