Comments
Sort by recent activity
Try a -Force here. I think that will help, but not in a place to test, and everyone in the UK is gone for the weekend. Can you check the version of SCA on your build server? / comments
Try a -Force here. I think that will help, but not in a place to test, and everyone in the UK is gone for the weekend. Can you check the version of SCA on your build server?
There is a need to create and destroy databases for sure. The "Build" actually wants to run the pre, which does contain a create db, and run all the code to ensure it compiles correctly, as that's the only SQL Server compiler we have. In terms of using a test instance, we usually go with SA, but I suspect that you could get by with: dbcreator, which hopefully would give you db_owner in the build db and the shadow db. For the release part, you need rights to read the target db. Note that builds are not usually to a specific name, unless you are sure there aren't collisions with other developers. Since we may want concurrent builds from checkins at similar times, the build task will generate a random name. / comments
There is a need to create and destroy databases for sure. The "Build" actually wants to run the pre, which does contain a create db, and run all the code to ensure it compiles correctly, as that's ...
You can also use a repo for the snippets folder. I have mine as a git repo, so that if I change things, I can commit and store in VCS, pulling down on other machines. / comments
You can also use a repo for the snippets folder. I have mine as a git repo, so that if I change things, I can commit and store in VCS, pulling down on other machines.
Yes, the hosted agent needs to install the plugins. The hosted agent is rebuilt each time from scratch and doesn't include the SCA cmdlets. / comments
Yes, the hosted agent needs to install the plugins. The hosted agent is rebuilt each time from scratch and doesn't include the SCA cmdlets.
confirmed in Prompt v.9.2.1.5713. This is a valid query hint https://docs.microsoft.com/en-us/sql/t-sql/queries/hints-transact-sql-query?view=sql-server-2017 / comments
confirmed in Prompt v.9.2.1.5713. This is a valid query hinthttps://docs.microsoft.com/en-us/sql/t-sql/queries/hints-transact-sql-query?view=sql-server-2017
No, the SCA projects really use the migration scripts. The set of schema items is really for you to view, but the changes are in the migrations. If you make simple schema changes, this might work, but I think there are some missing items that preclude this.
I'll ask the question, but I think the idea is that this won't quite work.
/ comments
No, the SCA projects really use the migration scripts. The set of schema items is really for you to view, but the changes are in the migrations. If you make simple schema changes, this might work, ...
Whoa, that's cool. And also, #$%##@ developers. I didn't see an update for when this was going live. I'll have to give it a go as well. Let me know if this helps or you have more questions. If they're related, post here. If not, start a new thread. / comments
Whoa, that's cool. And also, #$%##@ developers. I didn't see an update for when this was going live.I'll have to give it a go as well. Let me know if this helps or you have more questions. If they'...
Smo will allow you to do this. I assume you're doing some looping and following a pattern in C#. There are classes to connect to tables and alter them as needed. You can start with the Table.Alter method: https://docs.microsoft.com/en-us/dotnet/api/microsoft.sqlserver.management.smo.table.alter?view=sqlserver-2016 / comments
Smo will allow you to do this. I assume you're doing some looping and following a pattern in C#. There are classes to connect to tables and alter them as needed. You can start with the Table.Alter ...
The same conflict of the image you posted above with Prompt or something else? / comments
The same conflict of the image you posted above with Prompt or something else?