I forgot semi-colons on the past part. Is the semi-colon understand by
most (all?) databases as the statement termination character?

<delete id="FooDelete" parameterClass="Foo">
        DELETE FROM Baz WHERE FooId = #Id#;
        DELETE FROM Bar WHERE FooId = #Id#;
        DELETE FROM Foo WHERE Id = #Id#;
</delete>

--- Ron Grabowski <[EMAIL PROTECTED]> wrote:

> I didn't see any examples or test cases of deleting rows in child
> tables before the parent row is deleted. Suppose I have a stored
> procedure with this code inside that I want to take out of the stored
> procedure and convert into a SQL Map.

...

Reply via email to