Skip to content

Commit

Permalink
0002595 - MSSQL stored procs to be referred to with catalog and schema
Browse files Browse the repository at this point in the history
  • Loading branch information
jumpmind-josh committed May 11, 2016
1 parent 4a21001 commit a3bfebf
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -342,9 +342,8 @@ public void enableSyncTriggers(ISqlTransaction transaction) {
}

public String getSyncTriggersExpression() {
//return "$(defaultCatalog)dbo." + parameterService.getTablePrefix()
// + "_triggers_disabled() = 0";
return "dbo." + parameterService.getTablePrefix()
String catalog = parameterService.is(ParameterConstants.MSSQL_INCLUDE_CATALOG_IN_TRIGGERS, true) ? "$(defaultCatalog)" : "";
return catalog + "dbo." + parameterService.getTablePrefix()
+ "_triggers_disabled() = 0";
}

Expand Down

0 comments on commit a3bfebf

Please sign in to comment.