Before you create a SQL Server workspace
Enabling SQL Auth login
Creating the source database user
USE [<Database being masked>];
GO
CREATE LOGIN tonic
WITH PASSWORD = '<Password Goes Here>';
GO
CREATE USER tonic FOR LOGIN tonic;
GO
GRANT SELECT TO tonic;
GO
GRANT VIEW DATABASE STATE TO tonic;
USE [master]
GO
GRANT VIEW ANY DEFINITION TO tonic;
--On Azure SQL Server
GRANT VIEW DEFINITION TO tonic;
GOCreating the destination database
Creating the database
Creating a database user with the required permissions
Using a Simple recovery model
Configuring whether Structural creates the destination database schema
Integrating with CLR
Managing access to linked servers
Blocking access to all linked servers
Blocking access to specific linked servers
Required permissions for connected linked servers
Last updated
Was this helpful?