Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


When you use memory-optimized table variables outside the natively compiled stored procedures, a LCK_M_SCH_M (schema modify lock) is taken on the corresponding memory-optimized table type during destructing the table variable. In this situation, the concurrent declaration of memory-optimized table variables outside natively compiled stored procedures is blocked.

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!