I have a character field, UNIT.
It could have any value from 000 to 999.
I want to update the field, GROUP, to be "WBU" when UNIT begins with '3'. Do I use the substr() function within the decode? Something like this?
group=decode(substr
new.UNIT,1,1),3,'WBU')
Thanks
It could have any value from 000 to 999.
I want to update the field, GROUP, to be "WBU" when UNIT begins with '3'. Do I use the substr() function within the decode? Something like this?
group=decode(substr
Thanks