mysql日期和字符相互转换方法,
date_format(date,'%Y-%m-%d') -------------->oracle中的to_char();
str_to_date(date,'%Y-%m-%d') -------------->oracle中的to_date();
sql = "SELECT * FROM emp WHERE empno LIKE ? OR ename LIKE ? OR job LIKE ? OR date_format(hiredate,'yyyy-mm-dd') LIKE ? OR sal LIKE ? OR comm LIKE ? limit ?,?" ;