Try
INSERT INTO NEWTABLE ( SUBSTRFLD) SELECT CASE WHEN SUBSTR(WHOLEFLD,4,1) = 'S' THEN 'S' WHEN SUBSTR(WHOLEFLD,4,1) = 'N' THEN 'N' ELSE NULL END FROM OLDTABLE;
Attachments
Library
Quick Reference
Archives
Sample Index
2002 Indexes