I haven't tried (I'm not a big fan of too much CREATE TABLE inside an
app [except for @ or #]), but \you could try wrapping the whole thing
in a TransactionScope... alternatively, use raw SQL to create the
table insead of SMO?
Marc
Paker Liu - 12 Mar 2008 13:03 GMT
Thanks for your reply.
I will test the case with TransactionScope and send a report about the
results later.
thank you again.
Paker Liu
>I haven't tried (I'm not a big fan of too much CREATE TABLE inside an
> app [except for @ or #]), but \you could try wrapping the whole thing
> in a TransactionScope... alternatively, use raw SQL to create the
> table insead of SMO?
>
> Marc