Skip to main content
Version: 0.7 (Latest)

SQL Server as Target

SQL Server is a migration target for every supported source (Oracle, PostgreSQL, SQL Server, Netezza). MigratorXpress translates source column types to SQL Server types, creates the target schema, streams data via FastTransfer, and can apply Clustered Columnstore Index (CCI) or archive compression based on row-count thresholds.

For the complete connection reference and troubleshooting, see the canonical SQL Server page.

Target-specific Permissions​

-- Grant permissions for schema creation and data loading
GRANT CREATE TABLE TO migratorxpress_user;
GRANT ALTER ON SCHEMA::dbo TO migratorxpress_user;
GRANT INSERT ON SCHEMA::dbo TO migratorxpress_user;
GRANT UPDATE ON SCHEMA::dbo TO migratorxpress_user;
GRANT DELETE ON SCHEMA::dbo TO migratorxpress_user;

Target-specific CLI Options​

OptionPurpose
--cci_threshold NCreate a Clustered Columnstore Index when a table has at least N rows (default 1,000,000)
--aci_threshold NApply archive compression when a table has at least N rows (default 100,000,000)
--fk_mode {disabled,untrusted,trusted}Foreign-key enforcement strategy for copy_fk (Oracle, PostgreSQL and SQL Server sources)

Example Auth Entry​

{
"mssql_target": {
"ds_type": "mssql",
"auth_mode": "classic",
"info": {
"username": "migrator",
"password": "********",
"server": "sql-target.company.com",
"port": 1433,
"database": "TargetDB"
}
}
}

Reference it on the command line with --target_db_auth_id mssql_target. A target entry can also use auth_mode connection_string or trusted, but not odbc (see Authentication modes).

See Also​

Copyright © 2026 Architecture & Performance.