temporal-tables Questions
2
Why does a merge into a temporal table with a nonclustered index in the history table throw an error
I get the following error when I try to merge under a few conditions. Is someone able to explain why? Seems like it's a problem with SQL Server itself, but I wanted to post it here to confirm.
Att...
Blurb asked 16/1, 2022 at 20:48
2
I've been tasked with figuring out the impact of enabling temporal tables in our database. So I've been looking for a feature to enabling it to the entire database, and not just with:
protected ove...
Spindling asked 25/8, 2022 at 13:48
3
Solved
When temporal table is created, we need to defined start and end date time columns
which can be hidden - not visible in SELECT * or INSERT without columns. I want to add one more column, which wil...
Interlink asked 8/3, 2018 at 7:46
3
Solved
I have a table that has system versioning (temporal table), but I can not see a design environment visually. I do it because I can see the SYSTEM_VERSIONING clause has been used. I would like to ha...
Sandeesandeep asked 4/5, 2017 at 10:28
1
Solved
We have recently upgraded our project to Microsoft.EntityFrameworkCore 6.0.0. This release enables SQL Server temporal tables out of the box.
https://devblogs.microsoft.com/dotnet/prime-your-flux-c...
Brandenbrandenburg asked 10/12, 2021 at 11:35
5
Solved
We are using EF Core and SQL Server 2016 for our .NET Core Web API. I am evaluating use of temporal tables and its impact on EF Core code. When I generate the EF model using cmdline then it generat...
Penult asked 6/3, 2017 at 14:2
3
Solved
I'm using SQL Server and system-versioned (temporal) tables. In my main table, I have an INT column that's currently allowing NULLs. I want to update this to not allow nulls, but the system/history...
Balf asked 31/7, 2018 at 12:1
2
I understand that temporal tables are intended to give you a point in time view of the data. I am using temporal tables for auditing purpose. I have the following Temporal table.
Lets assume this ...
Prophylactic asked 24/2, 2020 at 21:27
7
Solved
I have a SQL Azure table and I have turned on the new Temporal Table feature (New to SQL Server 2016 and SQL Azure v12). This feature creates another table to track all changes to the primary table...
Polygraph asked 24/6, 2017 at 16:1
4
Solved
I'm looking for a procedure to drop system-versioned temporal tables, ideally without using dynamic SQL. I've looked through the Microsoft documentation and figured out how to get the autogenerated...
Influential asked 4/4, 2019 at 17:56
1
Solved
I have created temporal tables based on Microsoft SQL Docs Creating a temporal table with a default history table.
https://learn.microsoft.com/en-us/sql/relational-databases/tables/creating-a-syste...
Inverter asked 2/11, 2020 at 21:19
3
I am trying to implement basic support for SQL Server 2016 temporal tables in NHibernate 4.x. The idea is to alter SQL statement from
SELECT * FROM Table t0
to
SELECT * FROM Table FOR SYSTEM_...
Fell asked 16/1, 2018 at 12:0
3
Solved
I'm getting the below error when trying to insert into a temporal table using Entity Framework Core 2.1.
Cannot insert an explicit value into a GENERATED ALWAYS column in table 'db_test.dbo.Depa...
Acromion asked 4/10, 2018 at 20:23
2
Solved
What advantages do Temporal Tables have over Change Data Capture or Change Tracking in SQL Server?
Gastric asked 26/8, 2016 at 11:37
1
Since SQL Server 2016 it is possible to automatically create Temporal Tables. I wanted to create a simple query that retrieves the data from a specified date. However, when I try to specify a date ...
Pipit asked 5/3, 2018 at 14:10
4
Solved
I have a temporal table Employee with EmployeeHistory as its history table.
In C#, I am using SqlConnection to query the data from SQL Server for the entire history of an employee.
var data = Con...
Squeaky asked 17/7, 2017 at 12:19
3
Solved
I have many table with data, which I want to convert to Microsoft Temporal table, But when I want to convert temporal table cause lost my data.
My code is:
Alter TABLE dbo.Employee
(
[Employee...
Salot asked 9/11, 2016 at 12:0
1
© 2022 - 2024 — McMap. All rights reserved.