I am running the following snippet of code:
ACCOUNT = case
when left(m.gldebitacct, 6) = '700048' then '40700-497-00'
when left(m.gldebitacct, 6) = '011195' then '60700-470-05'
when left(m.glcreditacct, 6) = '700048' then '40700-497-00'
when left(m.glcreditacct, 6) = '011195' then '60700-470-05'
else 'error'
end,
If there is an error, I would like to save the rows with 'error' to an excel spreadsheet, ot to a .csv file. Is that possible?
Thanks,
Dave