DROPSCHEMA 过程在事务控制下执行,它自己不执行提交或回退。
The DROPSCHEMA procedure is under transaction control and does not perform commit or rollback on its own.
循环和事件处理程序通常意味着控制流回退,这表明状态机是一种更合适的实现方法。
Loops and event handlers usually imply that the control flow is going back, which suggests that state machine is a more suitable implementation.
最重要的区别在于,你要做的只是修改一下控制台参数去运行不同的版本,而不是回退代码重新编译。
The difference between changing a console variable to get a different behavior versus running an old exe, let alone reverting code changes and rebuilding, is significant.
应用推荐