Ok so what i want to do is break up a string after the lenght of the string is = to 160, then i want to add a line break..but all this needs to be done in the Select...can anyone help me with this
thankx in advance
select case len(COD_P2_Q1)
when 160
then COD_P2_Q1 + char(13) + COD_P2_Q1
end as COD_P2_Q1L1
from Applications
this is what i have sofar and return a null and yes i know this is not correct, im new to sql