if(isnull(sql("cs", "select remark from ckh where no = '" + B10 + "' and seq = '" + E2 + "' and number = '" + E7 + "'", 1)), "", sql("msdb05_wldb", "select remark from ckh where no = '" + B10 + "' and seq = '" + E2 + "' and number = '" + E7 + "'", 1)) 我这样写sql("cs", "select remark from ckh where no = '" + B10 + "' and seq = '" + E2 + "' and number = '" + E7 + "'", 1) 可能会重复使用,这样直接就是一大串,影响观感 |