Comments
Sort by recent activity
the order of when you do things sometimes becomes an issue. The idea with SOC is that it's always linked between your branch and the db. If you unlink, relink, you'll get into strange places. The goal here is to get changes from your VCS into the db first, since those can be made by other users, and then try to get your changes in there. In this case, I think you confused this by linking after doing work. The idea with a live database is that you are pulling to a blank VCS system, not using this to get changes to/from the VCS. That's a model that is fraught with issues. / comments
the order of when you do things sometimes becomes an issue. The idea with SOC is that it's always linked between your branch and the db. If you unlink, relink, you'll get into strange places. The g...
With my style, I get this: <div>IF @CalculateHeld = 'Yes'</div><div>BEGIN</div><div> SELECT *</div><div> FROM [#HeldFunds]</div><div> WHERE [HeldAmount] > 0;</div><div> DROP TABLE [#HeldFunds];</div><div>END;</div><div>ELSE</div><div>BEGIN</div><div> SELECT *</div><div> FROM [#HeldFunds2]</div><div> WHERE [HeldAmount] > 0;</div><div> DROP TABLE [#HeldFunds2];</div><div>END;<br></div>
What I'd suggest is look at the whitespace and the control flow sections. Watch out for checking the "wrap if longer than" items. I've had some strange behavior here when these are applied with certain values. / comments
With my style, I get this:<div>IF @CalculateHeld = 'Yes'</div><div>BEGIN</div><div> SELECT *</div><div> FROM [#HeldFunds]</div><div> WHERE [HeldAmount] > 0;</...
Honestly, what to do here is actually fix this as a part of build and fail the build if the constraint isn't named with doso standard. This for a couple things. Developers actively consider the constraint more and you also ensure no duplicate constraints get generated by using a standard That being said, it would be nice for SCA to generate these according to some pattern and offer to fix your dev db / comments
Honestly, what to do here is actually fix this as a part of build and fail the build if the constraint isn't named with doso standard. This for a couple things. Developers actively consider the con...
There is no workaround here. The solution is to name your constraints. They should be consistently named in all environments to ensure you can alter/drop them easily. / comments
There is no workaround here. The solution is to name your constraints. They should be consistently named in all environments to ensure you can alter/drop them easily.
I would definitely investigate with whoever handles the networking and verify that things are setup correctly between the system, DNS, and AD. / comments
I would definitely investigate with whoever handles the networking and verify that things are setup correctly between the system, DNS, and AD.
Are you adding the virtual server or the node itself? Can you disclose some of the names/setup? / comments
Are you adding the virtual server or the node itself? Can you disclose some of the names/setup?
We don't have an option to do this, though that's interesting. If you post this on UserVoice, perhaps some others would vote for this. I'm not sure this is a high priority, but maybe if there is enough interest, it would get on the enhancement list. / comments
We don't have an option to do this, though that's interesting. If you post this on UserVoice, perhaps some others would vote for this. I'm not sure this is a high priority, but maybe if there is en...
That makes sense, as I wasn't sure how often the schema in those tables changes. Synonyms are a hack, and I understand here this being an issue. Exclude might work, but in talking with the team, they said this sometimes still pulls in dependencies, so you might need to see if this works for you. If it doesn't, maybe the really hacky way to do this is import the migration script and then comment it out completely. This would allow the migration to get deployed with zero effect. You could even include a comment inside the comment that this was an external change from a third party upgrade/patch. It's not the best, but for now, we don't have a good way to ensuring we can walk a dependency tree while also supporting just partial project changes. There is some work being done on dependencies, but no idea what this will go through the Compare engine, which is what is used here in the SCA process. / comments
That makes sense, as I wasn't sure how often the schema in those tables changes. Synonyms are a hack, and I understand here this being an issue.Exclude might work, but in talking with the team, the...
I just found this in the docs as well. I haven't tried this, but will attempt to get to it. This might help you: https://documentation.red-gate.com/sca3/developing-databases-using-sql-change-automation/advanced-project-manipulation/partial-projects / comments
I just found this in the docs as well. I haven't tried this, but will attempt to get to it. This might help you: https://documentation.red-gate.com/sca3/developing-databases-using-sql-change-automa...