<statement id="DeleteAccount" parameterClass="Account"> BEGIN DELETE FROM ORDERS WHERE ACCOUNT_ID = #Id#; DELETE FROM ACCOUNTS WHERE ACCOUNT_ID = #Id#; END; </statement>
<statement id="DeleteAccount" parameterClass="Account"> BEGIN DELETE FROM ORDERS WHERE ACCOUNT_ID = #Id#; DELETE FROM ACCOUNTS WHERE ACCOUNT_ID = #Id#; END; </statement>
转载于:https://www.cnblogs.com/hwaggLee/p/4484258.html