Hi,
I have a field called Quarter_Key. If the values in this field are like 200601, 200602, 200603, 200604, 200701, 200702, 200703, 200704 and so on....
Then I want to insert a new fields based on the values. For instance, if the values that are found in the Quarter_Key are 200601, 200602, 200603, 200604 then I want to insert a new field and name the field COY. Also do another check again, if there are other values that are f in the Quarter_Key are like 200701, 200702, 200703, 200704 then I want to insert a new field and name the field CY07. So probably after I run the query I will end up having some new fields like COY, CY07, CY08 and etc. Thanks for your help.
I have a field called Quarter_Key. If the values in this field are like 200601, 200602, 200603, 200604, 200701, 200702, 200703, 200704 and so on....
Then I want to insert a new fields based on the values. For instance, if the values that are found in the Quarter_Key are 200601, 200602, 200603, 200604 then I want to insert a new field and name the field COY. Also do another check again, if there are other values that are f in the Quarter_Key are like 200701, 200702, 200703, 200704 then I want to insert a new field and name the field CY07. So probably after I run the query I will end up having some new fields like COY, CY07, CY08 and etc. Thanks for your help.