IF NOT EXISTS (SELECT name FROM sys.databases WHERE name = 'test')
CREATE DATABASE test;
GO
USE test;
GO
CREATE TABLE accounts (id INTEGER PRIMARY KEY,name VARCHAR(20), amount INTEGER);
GO
CREATE TABLE users (id INTEGER PRIMARY KEY, email VARCHAR(50), status VARCHAR(10));
GO
ALTER DATABASE [test] SET CHANGE_TRACKING = ON;
GO
ALTER TABLE [dbo].[accounts] ENABLE CHANGE_TRACKING;
GO
ALTER TABLE [dbo].[users] ENABLE CHANGE_TRACKING;
GO
INSERT INTO accounts VALUES (1,'John',100);
GO
INSERT INTO users VALUES (1,'john@example.com','active');
GO