Sql或Access数据库中的并发 [英] Concurrency in Sql or Access Database
本文介绍了Sql或Access数据库中的并发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
两个用户想同时更新/选择一个表;
我应该如何处理这样的情况,多个用户撞到一张桌子,
我该如何在sql中访问db ?,
不考虑数据库类型(sql或access),是否可以使用c#语言进行任何操作?
谢谢.
Two users want to update/select a table concurrently;
How should I manage situations like this , multiple users hit one table,
what can I do in sql and access db ?,
Is there any way in c# language without considering the database type(sql or access) ?
Please help clearly ,Thanks .
推荐答案
嘿!尼玛看看这个链接- [什么是在数据库访问应用程序中管理并发的最佳方法] [ TransactionScope类[ SQL Server连接池[
hey! Nima have a look at this link-[What''s the best way to manage concurrency in a database access application][^] having same question with solutions.
Prefer Links
TransactionScope Class[^]
SQL Server Connection Pooling[^]
这篇关于Sql或Access数据库中的并发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文