len(SQL("ZNDC_DC", "select csdt_str from dc_policy_d where city_id = B3",1,1)) = 0
where条件是city_id = B3单元格内的值,
我的B3单元格中是主表传过来的参数:$city_id
len(SQL("ZNDC_DC", "select csdt_str from dc_policy_d where city_id = '" + B3 + "'",1,1)) == 0
单元格要这样写。++
len(SQL("ZNDC_DC", "select csdt_str from dc_policy_d where city_id ="+ B3,1,1)) = 0