ÎÒÓÐÒ»ÕűíÓиö×Ö¶ÎÃû³ÆÊÇstarttime ÀàÐÍÊÇDATE ,ÆäÖÐÓÐÒ»ÐеÄÖµÊÇ"11:00:00",ÎÒÏë°ÑÕâÒ»ÁÐÑ¡³öÀ´,Óï¾äÈçÏÂ: select * from routebanci where starttime='11:00:00' and routename='***',¿ÉÊÇ×ÜÊÇ˵:ORA-01843: not a valid month,ÍøÉÏ¿´ÁËÒ²¸Ä¶¯ÁËһϲÎÊý NLS_DATE_LANGUAGE=AMERICAN ºÍ NLS_DATE_FORMAT=YYYY-MM-DD,¿ÉÊÇ»¹ÊDz»ÐÐ Çë½ÌÒ»ÏÂʲôÔÒò,ÎÒÕâÀïûÓÐÄêÔÂÈÕµÄ,Ö»ÒªÒ»¸öʱ¼ä¾Í¿ÉÒÔÁË,±íÔÀ´ÊÇSQL½¨Á¢µÄ,Êǵ¼¹ýÀ´µÄ,²»ÖªµÀÓÐʲôºÃµÄ½â¾ö°ì·¨ ...starttimeÄã²»ÊÇ˵ÁËÊÇdateÀàÐÍÂð '11:00:00'ÊÇ×Ö·û´®£¬µ±È»²»Æ¥ÅäÁË select * from routebanci where to_char(starttime,'hh24:mi:ss')='11:00:00' and routename='***' ÊÔÊÔ SQL code: select * from routebanci where substr(to_char(starttime,'yyyy-mm-dd hh24:mi:ss'),11,8) = '11:00:00'
ʹÓÃt-sqlÓï¾ä½«sqlserver2kÊý¾Ýµ¼ÈëparadoxµÄ¹¦ÄÜÎÒÒÑʵÏÖ£¬ÓõÄÊÇinsert into ... from table in [ODBC][ODBC;Driver=SQL Server...]µÄ°ì·¨£¬µ±ÎÒ×¼±¸Èç·¨ÅÚÖÆÍê³Éparadoxµ¼Èëoracleʱȴ²»ÐУ¬²»±¨´íµ«ÊÇÖ´ÐкóÃ»Ó ......