Comments
Sort by recent activity
I'm assuming your migration script uses the procedure to do some work? I'd that right? What is say here is you can really only do one thing and thats include the proc crrate in the migration script . It will also be in the programmable object and that should just ovewrite with the version stored there. I'd do this in an idempotent way so that in future deployments if the proc exists, we don't try to recreate it .Not create it alter but an if exists(check sysobjects). Toss isn't great but it does solve the issue here. In the future, this also ensures builds work from scratch . Even if the proc changes, the valid version of the proc that works with this migration script works. I think if you deoy the proc first, to both shadow sha downstream environments, then add the script this may work, but if have to test. However, any deployments to a new system, like a new developer setup, would fail so I'd rather just inline the proc in the migration script, knowing that all future changes are handled as a part of the programmable object / comments
I'm assuming your migration script uses the procedure to do some work? I'd that right?What is say here is you can really only do one thing and thats include the proc crrate in the migration script ...
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...