Is the SQL Server synchronized to be compatible with many processes? Do i have to make synchronization to be possible to work with DataBases so that more than 1 process be used at the same time?
A:
Sql Server is designed to handle multiple processes working on the same data simultaneously (via various lock mechanisms etc). You can also control the level of synchronization / isolation via SET TRANSACTION ISOLATION
statement. ( http://msdn.microsoft.com/en-us/library/ms173763.aspx )
Tomas
2009-12-08 09:22:22
A:
SQL Server will manage the synchronization for you. See database transactions and isolation levels for more details.
Greg Beech
2009-12-08 09:23:28
A:
I depends on what you need. If all your processes are reading from the database - than you can ignore the concurrency altogether. If you have complex write operations, which need to execute multiple queries, and you wish them to be atomic - look into transactions (or if your application allows it try to execute them from a single process).
RA
2009-12-08 09:24:15