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

Removing IncludeDependencies option does not work

We are using Octopus Deploy Redgate agent for our deploys to SQL Server that uses SQL Compare. I have a schema that we excluded in our filters. However when deploying the database, i am getting error for excluded schemas/views as they are getting included as Dependencies. Specifically, they are all sp_refreshview procs. How could I run my script without including the excluded views.
lifeiscode
0

Comments

3 comments

  • lifeiscode
    I specifically removed the option for IncludeDependencies - but it doesnt seem to work
    lifeiscode
    0
  • lifeiscode
    Never mind. Found the solution myself. It was a default option that could be removed by adding a "-" symbol. So it was -IncludeDependencies
    lifeiscode
    0
  • Pete_Ruiz
    Hello @lifeiscode

    Thanks for posting to the forum. Glad you were able to resolve the issue by adding "-" to disable to comparison option.

    Cheers,

    Pete Ruiz
    Redgate Product Support

    Pete_Ruiz
    0

Add comment

Please sign in to leave a comment.