| Start |
|---|
| Declare Memory-Optimized Table Variables For faster performance you can memory-optimize your table variable. Here is the T-SQL for a traditional table variable: To define memory-optimized variables, you must first create a memory-optimized table type and then declare a variable from it: Then we can use the table type like this: Result: |
Create Memory Optimized Table |
Show created .dll files and tables for Memory Optimized Tables Show all Memory Optimized Tables: |
Create Memory Optimized System-Versioned Temporal Table |
| Memory-Optimized Table Types and Temp tables For example, this is traditional tempdb-based table type: To memory-optimize this table type simply add the option Global temporary table is like this: Memory-optimized global temporary table: To memory-optimize global temp tables (##temp):
|
Read Article
https://develop.horje.com/learn/1434/reference