How can we help you today? How can we help you today?
tryggviFME

Activity overview

Latest activity by tryggviFME

Prevent deletion of certain procedures and functions when using SQLCompare
I'm using SQLCompare thought cmd line with /project and /filter to sync a DB. the source is a script folder.The filter is used to update only schema:tSQLt, i.e. unit tests. What I want to do is pre...
2 followers 2 comments 0 votes
I just figured this out. My fault. I had unchecked the missing tables from the table list in the project file, so the program was working as expected. / comments
I just figured this out. My fault. I had unchecked the missing tables from the table list in the project file, so the program was working as expected.
0 votes
I'm using the switch /project and I'm getting exit code 0. Here is the output. C:\RedGateSQLCompareProjects\Dev>sqlcompare /project:XXXXX.scp /filter:testfilter.scpf /assertidentical /v SQL Compare Command Line V13.7.13.10771 ============================================================================================================================================================== Copyright Copyright © Red Gate Software Ltd 2019 Argument /project has value 'XXXXX.scp' Argument /filter has value 'testfilter.scpf' Argument /assertidentical has value 'True' Argument /verbose has value 'True' Redgate Client capability version: 2 SQL Compare: activated, edition professional, serial number: 512-001-140195-498A Loading synchronization parameters from project file: XXXXX.scp OK Comparing database Scripts.XXXXX with database DEV-SQL2016.S_XXXXX... Registering data sources Creating mappings Comparing Summarizing Project Selections Retrieving migration scripts Checking for identical databases Summary Information ============================================================================================================================================================== DB1 = XXXXX DB2 = DEV-SQL2016.S_XXXXX Object type             Name                                                                                                                           DB1 DB2 -------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------------------- Details - comparing XXXXX with DEV-SQL2016.S_XXXXX ============================================================================================================================================================== C:\RedGateSQLCompareProjects\Dev>echo %errorlevel% 0 If I use /scripts1 with /s2 and db2 I get an error code 79 with a list of tables that need syncing or are missing. That works fine. The project switch is not returning the exit code I would have expected. / comments
I'm using the switch /project and I'm getting exit code 0.Here is the output.C:\RedGateSQLCompareProjects\Dev>sqlcompare /project:XXXXX.scp /filter:testfilter.scpf /assertidentical /vSQL Compare Co...
0 votes
sql compare command line exit code 0, missing tables
I'm running the following command : sqlcompare.exe /project:[Project name] /filter:testfilter.scpf /AssertIdentical  and I'm trying to to get an non zero exit code.  i.e. 79.The filter does include...
2 followers 4 comments 0 votes