• What's wrong with this:

    EXEC sp_MSforeachtable @command1 = 'alter table ? nocheck constraint all'

    EXEC sp_MSforeachtable @command1 = 'delete from ?'

    EXEC sp_MSforeachtable @command1 = 'alter table ? check constraint all'