pCmd->CommandText="insert into userftprequest(filename,telnoid,telno,indatetime,productid,dealdatetime,activedatetime,canceldatetime,doflag) values( '"+file_name+"','"+telnoid+"','"+telno+"',todate('"+indatetime+"','YYYY-MM-DD HH24:MI:SS'),'"+productid+"',todate('"+dealdatetime+"','YYYY-MM-DD HH24:MI:SS'),todate('"+activedatetime+"','YYYY-MM-DD HH24:MI:SS'), todate('"+canceldatetime+"','YYYY-MM-DD HH24:MI:SS'),'"+doflag+"')";
ÕâÀﱨ´í
error C2678: ¶þ½øÖÆ¡°+¡± : ûÓÐÕÒµ½½ÓÊÜ¡°std::basic_string<_Elem,_Traits,_Ax>¡±ÀàÐ͵Ä×ó²Ù×÷ÊýµÄÔËËã·û(»òûÓпɽÓÊܵÄת»»
-- ºÜÂÒ£¬Ã»·¨¿´!
´òÓ¡ÏÂÕâ¸ö×Ö·û´®pCmd->CommandText £¬ÔÚPLSQLÖпÉÒÔÖ´ÐÐÂð£¿
±¨´í ²»ÄÜÖ´ÐдòÓ¡
insert into userftprequest(filename,telnoid,telno,indatetime,productid,dealdatetime,activedatetime,canceldatetime,doflag£©
values( '"+file_name+"','"+telnoid+"','"+telno+"',
todate('"+indatetime+"','YYYY-MM-DD HH24:MI:SS'),
'"+productid+"',todate('"+dealdatetime+"','YYYY-MM-DD HH24:MI:SS'),
todate('"+activedatetime+"','YYYY-MM-DD HH24:MI:SS'),
todate('"+canceldatetime+"','YYYY-MM-DD HH24:MI:SS'),'"+doflag+"')";
Õâ²»»áºÜÂÒ°É
°ïæ¿´ÏÂÁË Ð»Ð»
todate('"+canceldatetime+"','YYYY-MM-DD HH24:MI:SS'),'"
¿ÉÄÜÒòΪ¹¤×÷µÄÔÒò ½Ó´¥Êý¾Ý¿âÕâ¿é±È½ÏÉÙ£¬Ö®Ç°¶¼ÊÇ×ö³ÌÐòÕâ¿é£¬Êý¾Ý¿âÕâ¿é¶¼ÓÐרÃŵÄÈËÀ´×ö ·Ö¹¤¶¼ºÜÃ÷ϸ ËùÒÔ¶ÔÊý¾Ý¿âÕâÒ»¿éÍêÈ«²»Á˽⡣ǰ¶Îʱ¼ä È¥ÃæÊÔÁ˼¸¼Ò¹«Ë¾ ¼¸ºõ¶¼ÊÇÔÚÊý¾Ý¿âÕâ¿é¹ÒµôµÄ Á¬¸ö¼òµ¥µÄSQ ......
ÏÖÔÚ ÎÒÓÐ Êý¾Ý¿â oracle_A £¬ÀïÃæÓÐÕűí Ϊ table_A, È»ºóÎÒÒª¶¨Ê±µÄ °Ñ ÁíÒ»¸öÊý¾Ý¿â oracle_B,ÀïÃæµÄÒ»Õűí table_BµÄÊý¾Ý£¬ÐÂÔö·ÅÈëtable_AÀȻºóÔÙÇå¿Õtable_B£¬ÇëÎÊÓ¦¸ÃÔõô×ö£¿
ÓÃд¸ö´æ´¢¹ý³Ì£¬È»ºóÓ ......