Redgate SQL Compare command line
100K+
SQL Compare is the industry standard for comparing and deploying SQL Server database schemas quickly and accurately.
71% of the Fortune 100 use SQL Compare to compare SQL Server databases – because it's relentlessly tested, easy to use, creates flawless deployment scripts, and saves time.
Whether you need to deploy changes or explore the differences between two SQL Server databases, SQL Compare helps you do the job quickly, simply, and with zero errors.
This image contains the SQL Compare command line interface and all the requisite dependencies.
docker run --rm \
redgate/sqlcompare \
/token:"<personal-access-token>" \
/email:"<email>" \
/s1:my-server\\sql2019 \
/db1:database1 \
/u1:sa \
/p1:my-password \
/s2:my-server\\sql2019 \
/db2:database2 \
/u2:sa \
/p2:my-password
Replace the following:
<personal-access-token> and <email> with your personal access token and associated email address. View our documentation on personal access tokens to get started.The filesystem in a container is isolated from the rest of the system so you should use --mount to pass directories through to SQL Compare, for example when working with scripts folders and project files.
You can find more information at our documentation site and specifically the "Using the command line on Linux" page.
You will need a SQL Compare Professional license to use the command line. If you don't have a license, you can use the command line on a trial license for 14 days.
Content type
Image
Digest
sha256:e12fa49e0…
Size
53 MB
Last updated
1 day ago
docker pull redgate/sqlcompare