Question about a syntax error
Corinne
Posts: 16 New member
In SSMS, this statement runs and executes fine. In VS 2017 and SQL Change Automation, I receive an error. Can you explain what is going on? Thank you!
ALTER TABLE dbo.[User]
SET (SYSTEM_VERSIONING = ON (HISTORY_RETENTION_PERIOD = 7 YEAR));
GO
Tagged:
Best Answer
-
Diogo Posts: 67 Silver 5Can you please double check which Target platform your project is using as per this other question? https://forum.red-gate.com/discussion/83165/support-for-temporal-tables
I think you might need to change to either SQL 2017 or one of the Microsoft Azule SQL Database.
Answers