You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a temporal table where both table and history table are in non-default (dbo) schema:
CREATE SCHEMA [TableSchema] AUTHORIZATION [dbo];
GO
CREATE SCHEMA [HistorySchema] AUTHORIZATION [dbo];
GO
create table TableSchema.Foo (
Value [int] not null primary key clustered,
ValidFrom datetime2 generated always as row start,
ValidTo datetime2 generated always as row end,
period for system_time(ValidFrom, ValidTo)
) with (system_versioning = on (history_table = HistorySchema.FooHistory))
GO
If I try to reset the database:
var checkpoint = new Checkpoint();
checkpoint.CheckTemporalTables = true;
await checkpoint.Reset(_connection);
I get a SQL exception:
Cannot find the object "Foo" because it does not exist or you do not have permissions.
The text was updated successfully, but these errors were encountered:
I have a temporal table where both table and history table are in non-default (
dbo
) schema:If I try to reset the database:
I get a SQL exception:
The text was updated successfully, but these errors were encountered: