The MSDN docs weren't entirely clear on this one. or perhaps I'm not reading them well enough.
If I do an insert (which may insert zero rows), followed by
;SELECT SCOPE_IDENTITY()
And then call the command by ExecuteScalar()...
What will the result be if the Insert doesn't insert any rows?
I want to stop if it fails so that I don't continue on inserting child records to a bad, or wrong parent ID.