I would like to know how the concurrency works in SQL Server Express database.
The reason I am asking this is because testing my database to be used to create an email server which can send multiple email campaigns at the same time, I noticed that when inserting into the Log
table the results of the emails, one campaign is sent before the other starts (I tested with 5 emails on each), resulting in the log being: c1-1, c1-2, c1-3, c1-4, c1-5, c2-1, c2-2, c2-3, c2-4, c2-5.
Besides that, I noticed that simply running 2 queries, to insert 1000 rows on a table, the queries will wait for the previous one to finish.
I googled and also searched StackOverflow for the reason this happens, but couldn't find a clear answer, everywhere it's said what I am trying to do can be done, but I can't seem to do it.
Thanks.