select name from renyuaninfo where birth="2002-12-12"

解决方案 »

  1.   

    <pre>
    我的sql如下:selectpr_cntr_no,pol_name_chn,psn_name,ac_rev_amnt,rec_pre
    _date from rev_reciev where rec_prem_date="2002-10-19"
    浏览器中显示为:Parse error: parse error, unexpected T_LNUMBER in /www/htdocs/info.php on line 13
    请赐教!!!
      

  2.   

    改为单引号后返回1204错误,及无效的年,去掉中线却报1205错误,及无效的月,环境变量DBDATE已设置为Y4MD,请帮忙!多谢!!!