There is no difference in the engine by edition.
Using SQL Express I am seeing certain insert commands not executing in real time.
They are executed after the main process, which has its own set of select/insert statements, is done and closes its connection. All of the operations work against the same database and tables using the same connection global in VB.NET. No data is lost. The 'cached' commands execute from subroutines of the main process, with their own connection object. Transactions are used but committed and the connection closed after each insert in the subroutine. Does SQL Express not support this simultaneously?
Developer technologies VB
SQL Server Other
2 additional answers
Sort by: Most helpful
-
Bob Fischer 71 Reputation points
2021-12-14T22:20:59.18+00:00 The behavior is being observed in SQL Express and I cannot duplicate this in SQL Server in development mode. The problem is that I do not understand why this delayed execution of certain commands occurs, which I tried to explain as simply as possible. You can ignore my musing about some possible inadequacy in SQLExpress, but it occurred to me that the Express version may have different behaviors.
-
Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
2021-12-14T22:52:34.46+00:00 It is still not clear how you make these observations.
It could be that some joker has implemented the application to behave differently depending on the edition of SQL Server. Or the edition has nothing do with it, and the differences you see are due to something else.