update bdc_regn_dy a set a.djsj=to_date(substr(a.slid,1,8),'yyyymmdd') where a.djsj is null and a.slid not like 'BL%'
to_date(substr(a.slid,1,8),'yyyymmdd')to_date里面的内容是什么,用select输出看看,是否是合法的日期