I want to run 3 update queries in a row over the same table on the same field.
ie
update Trial set Prob = 'D' where Condition1 = true
update Trial set Prob = 'E' where Condition2 = true
update Trial set Prob = 'F' where Condition3 = true
If a record has both Condition1 and Condition2 true I want Prob to end up as 'DE'
I've got it set as a 4 Char.
and I tried
update Trial set Prob = Prob + 'E' where Condition2 = true
update Trial set Prob = Prob + 'F' where Condition3 = true
but it spat a fit bout truncation...
can you append a char string in SQL?
If so... how?
Thanks

ie
update Trial set Prob = 'D' where Condition1 = true
update Trial set Prob = 'E' where Condition2 = true
update Trial set Prob = 'F' where Condition3 = true
If a record has both Condition1 and Condition2 true I want Prob to end up as 'DE'
I've got it set as a 4 Char.
and I tried
update Trial set Prob = Prob + 'E' where Condition2 = true
update Trial set Prob = Prob + 'F' where Condition3 = true
but it spat a fit bout truncation...
can you append a char string in SQL?
If so... how?
Thanks