Below is a sql string I am attempting to use in a query design. How would I convert this and where would I put it to achieve the munipulated data label for the contents of the field?
decode(assets.owning_center_code,'01','CORP (01,13)','02','CAASD (02)','03','CAFC2S (03,51)','05','CIIS (05)','07','C3 (07)','13','CORP (01,13)','19','CEM (19)','48','DOD (48)','51','CAFC2S (03,51)','Unknown'),
assets is the table
owning_center_code is the field
01
02
03
05
07
13
19
48
51 are the values in the column
decode(assets.owning_center_code,'01','CORP (01,13)','02','CAASD (02)','03','CAFC2S (03,51)','05','CIIS (05)','07','C3 (07)','13','CORP (01,13)','19','CEM (19)','48','DOD (48)','51','CAFC2S (03,51)','Unknown'),
assets is the table
owning_center_code is the field
01
02
03
05
07
13
19
48
51 are the values in the column