Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我了解到 Oracle & sql server 数据库不允许嵌套事务。那么c#是如何让我们使用transactionscopeoption来执行嵌套事务的呢?
SQL Server 确实支持嵌套事务。
如果它不支持嵌套事务,在嵌套事务中使用 SQL Server 时,您(可能)会遇到异常。