I have two tables: table 1 is disk based storage and table 2 is in memory storage. I create a DML trigger on table 2 and in that trigger, I insert a record into table 1. Will it be possible?
DML triggers in memory optimized table in SQL Server 2016
500 Views Asked by Balamurugan.Santhanaraj At
1
There are 1 best solutions below
Related Questions in SQL-SERVER-2016
- SSRS 2016 List View Search
- Query fast, but when in a VIEW, it's slow - due to ROW_NUMBER
- Can not install SQL Server 2016 Basic
- R services in SQL Server 2016
- Stored Procedure - Search Parameter across multiple columns
- SQL Server edition for desktop application with no network
- Bottle neck on SORT operation
- Identify input file from PolyBase query in SQL Server 2016
- Calculating Percentage the best way alongside a count
- Merge Statement giving error once last name gets changed in Source Table
- Incorrect Syntax Near GO, T-SQL EXEC()
- Color the datagridview there where it found a difference with SQL
- Automatically submit an "OK" button press to SQL Server when brought up
- How to get end of month date from a "YearMonth" varchar column?
- SQL Server 2016 with Azure Blob Container , nvarchar(max) is not supported for external tables?
Related Questions in IN-MEMORY-TABLES
- How to Find Whether SQL Server 2016 Db is set to be Memory Optimized or not?
- Out of Process in memory database table that supports queries for high speed caching
- Querying into a memory table
- Run SQL query on MySQL service startup
- How to change Delphi FireDAC tFDMemTable field name in design-time
- SQL Server In memory tables using tempdb
- mariadb galera cluster could support in memory table
- How to set Foreign Key constraint for 2 tables?
- DML triggers in memory optimized table in SQL Server 2016
- how to shrink a very big log file in SQL server 2016
- Issue with memory optimized tables transaction commit dependencies
- Best Table Engine for massively updated MySQL table. MyISAM or HEAP?
- Query returns wrong data with in-memory table and/or clustered column store index
- Using Web API TransactionScope and SQL Server in-memory table Issue
- Choose Mysql engine for processing a big "type-value" table
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can't, it's not possible in the same in-memory transaction using mvcc isolation access a disk-based table through the trigger.
For workaround this you could saving to a stage table memory-based inside the trigger and insert or update to table 1 from stage table using update-join between a memory-based-disk and table-based-disk although it cames with some admin to manage and control but works.
DDL Tiggers still doesn't work even SQL 2017.