to wumeng:
请问如果我有这三条SQL语句放在CLIENTDATASET。commandtext中
如果其中有一条执行错误,事务会回滚?
SQL语句:
cKCZZ_Select='SELECT COUNT(*) INTO ICOUNT FROM KCZZ_TABLE WHERE CKBM=''%s'' AND IMONTH=%d AND SPBM=''%s'';';
cKCZZ_Update='UPDATE KCZZ_TABLE SET QCKCSL=QCKCSL+%s WHERE CKBM=''%s'' AND IMONTH=%d AND SPBM=''%s'';';
cKCZZ_Insert='INSERT INTO KCZZ_TABLE (CKBM,SPBM,IMONTH,QCKCSL,SRSL,FCSL) VALUES(''%s'',''%s'',%d,%s,0,0);';
cUpdate_SFSH='UPDATE RKD_TABLE SET SHR=''%s'' WHERE RKDH=''%s'';';