Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 200
  1. As a DBA, how do I offload some of my work?

    I don’t have time for this “I am a DBA, I am busy, too busy.

  2. In my blog post here https://the.agilesql.club/2019/06/what-steps-are-there-to-move-to-safe-automated-database-deployments/ I described the steps you need to go through so you can build up your confidence that you are capable of deploying databases using…

  3. Database deployments are scary, you have all this data and if you drop the wrong table, run the wrong delete statement or have an error in a stored procedure that forgets to write that critical piece of data then you may never truly recover from that.

  4. Database Engineering: Database Modelling: Do I need to have an incrementing identity int/bigint as my clustered index in a SQL Server database?

  5. If you have a PIVOT query and it isn’t returning the data you expect, what can you do to troubleshoot it?

  6. How to delete data efficiently When we delete data from a table in SQL Server, we can often find that the delete is slower than even the original insert, especially if the insert was made using the bulk insert API.

  7. How to load test a SQL database

    How do you know whether a database code change is going to be great, okay or awful?

  8. Reading Time: 5 minutes (just do it!)

  9. Reading Time: 15 minutes (it is quite hard going, but you need to know this if you need to work with the DacFx) DacFx - Getting the data type of a column on a table, a rehash of an old blog post This post has been years in the making, I did a version of it

  10. How can we merge multiple dacpacs into one

    Reading Time: 4 minutes (not a minute longer) TLDR; You probably don’t want to actually merge dacpac’s you probably want to deploy multiple and use /p:IncludeCompositeObjects=true.

  11. SSDT: Build in VSCode

    Over the last couple of years I have been using VSCode more and more and Visual Studio less and less, this is great but there isn’t first class support for SSDT in VSCode, it would be great if there was but there isn’t today.

  12. Sometimes you don’t have the perfect development environment for SQL Server, sometimes you deploy to things like SQL Azure and want to test locally, for various reasons it is possible that you want to deploy to one version of SQL Server but set the project

  13. Reading Time 1 Minute I have been getting kubernetes setup on my laptop via minikube and I followed all the examples to the T, especially the part about creating a new external network and referencing that when you create the minikube (go search for a tut…

  14. I have been asked a few times now for course completion certificates so I have decided to give out certificates to anyone who pays for a plan and sends me a screen shot of a unit test they have written and answer a question on unit testing.

  15. TLDR: There is a new exciting community slack channel where you can find a mentor, a mentee or both if that floats your boat.

  16. Reading Time: 6 minutes (not a minute longer) TLDR; ARM templates are a great way to deploy to Azure, setting up a template that can deploy an entire environment from databases to web servers and load balancers to firewalls (damn you azure, ok, I’ll call…

  17. Running MySQL on a VSTS build agent

    I had a requirement to run MySQL on a VSTS hosted build agent and then to be able to run commands from outside of the container and this gave me the chance to have a play around with VSTS support for containers and builds as YAML (YAML builds / builds as…

  18. Database testing and ETL processes

    Unit testing using tSQLt is really great, you call FakeTable on any tables your code touches and then insert the columns and rows your test actually need, nothing more, nothing less but what happens when you have more complicated processes like an ETL pro…

  19. Interesting Azure ARM "Make it So" behaviour

    I had a template that deployed a premium managed disk and a virtual machine.

  20. Why didnt my Azure ARM deploy work?

    I have been using Octopus to deploy ARM templates for a while now and the default task that comes with Octopus to deploy doesn’t have any debugging information enabled and when you run this powershell: New-AzureRMResourceGroupDeployment If you don’t have…

  21. I have been starting to write more and more typescript lately and quite enjoying it.

  22. gdpr - panic part 4

    In the first part of this series, we looked at where to find out more information about GDPR in the UK (hint: The ICO.gov website has everything you need).

  23. tSQLt Course

    In the last half of 2017, I decided to run a tSQLt course and went down the route of putting together a free 12-week email course.

  24. Re-Imagining an SSIS IDE

    Re-Imagining the SSIS development environment. oooh: ahhh: SSIS is a powerful and versatile tool for extracting, transforming and loading data into or out of SQL Server.

  25. gdpr - panic part 3

    In part three of this short series Part one is: https://the.agilesql.club/blogs/Ed-Elliott/2018-02-01/GDPR-Panic-Part-1 Part two is: https://the.agilesql.club/blogs/Ed-Elliott/2018-02-01/GDPR-Panic-Part-2 This is part three: https://the.agilesql.club/blog…

  26. gdpr - panic part 2

    Welcome GDPR friends :) Part one is: https://the.agilesql.club/blogs/Ed-Elliott/2018-02-01/GDPR-Panic-Part-1 This is part two: https://the.agilesql.club/blogs/Ed-Elliott/2018-02-01/GDPR-Panic-Part-2 Part three is: https://the.agilesql.club/blogs/Ed-Elliot…

  27. gdpr - panic part 1

    GDPR is coming (or if you are reading this in a few weeks then gdpr is here, what do you need to know and where do you start?

  28. Azure ARM template function internals

    I have been working with azure arm functions for quite a while and they are exceptionally useful but also quite a pain to work with, visualizing what it is that the functions will resolve to is often hard.

  29. xSQLServer is dead long live SqlServerDsc

    I have had a problem with DSC in Azure Automation for a few months now, there was a change made to the xSqlServer DSC resource which meant that the paths internally were too long to be compiled on Azure Automation, I don’t even really want to think why be…

  30. There are a few different choices for tools to use when it comes to SQL Server, while the “experienced” amongst us have used query analyzer, enterprise manager and probably ssms it isn’t always clear what tool you should use.

  31. My Azure ARM template development workflow

    Writing infrastructure as code is pretty nice and I enjoy the declarative approach of defining what you want and letting the tooling take care of the how.

  32. ARMED - Where is the source?

    ARMED, where is the source?

  33. I think the title sums it up, I have published a new version of ARMED the arm helper extension for VSCode.

  34. ARMED - Azure ARM VS Code extension

    I have been working with ARM templates for a little while and have found it really annoying to test functions inside the templates, you see if you have an ARM template it is a JSON document made up of lots of key/values like: {"name": "a_name"} but it is…

  35. UPDATE: I haven’t been keeping it up to date so deprecated it - if you find something like this useful moan at microsoft and get them to implement it!

  36. I was setting up an availability group listener recently and when I tried to connect to the listener I got an error message to say “The host cannot be found” after the usual 15 seconds connection delay.

  37. I have been playing around with including all my build dependencies in docker for windows lately and had a build that kept giving me this error in the build log: “the input device is not a TTY.

  38. Hey, VSTS YAML builds are my new favorite thing, by like a million miles.

  39. This post is for a specific type of person if you are: New to source control Are getting started on your path to the continuous delivery nirvana Have been able to get your database into some sort of source control system Have more than one person checking…

  40. Every AzureRM command I was running I would get an error message telling me to login, I then did a login, checked that I had the right subscription and I was still getting the error message - after logging in 7 times I figured that maybe there was somethi…

  41. It seems like more and more recently I have been writing powershell and typescript rather than c# and t-sql and there are quite a few things to like about the tools for both of these (typescript and powershell).

  42. SSDT How To Fix Error SQL17502

    TLDR: If you build an SSDT project you can get an error which says: “SQL71502: Function: [XXX].

  43. I worked one particular contract where I was forced to take my lunch at 11:35 every day, and it was all virtualisations fault!

  44. Where do you install tSQLt?

    The question of where to install tSQLt is probably the most common question I get when I talk about unit testing T-SQL, so much so that I thought that it would be a good topic for a blog.

  45. tSQLt Test Adapter for Visual Studio 2017

    So Visual Studio 2017 has been released a while and I had created a version of the test adapter (which lets you run tSQLt tests from within Visual Studio with SSDT, ReadyRoll or just plan sql scripts using the test window but I held off on pushing it to t…

  46. Learn how to unit test SQL Server T-SQL code

    A free email course on how to use tSQLt including the technical aspects of writing unit tests AND the art of writing repeatable, using unit tests for even the most complicated T-SQL code UPDATE: I thought that if I got a certain number by October 1st I wo…

  47. SSIS ForEach Enumerator File Order

    I saw on slack recently a question about how the ssis file enumeraror orders (or more specifically doesn’t order) files.

  48. SSDT-Dev-Pack

    What is the SSDT Dev Pack It is basically a collection of tools that I find make developing in for SQL Server in SSDT better or easier.

  49. SQLCover

    SQL Cover is a tool to measure code coverage in T-SQL.

  50. K-SSIS-ed

    K-SSIS-ed - View any property or script in SSIS with a single click A cross platform re-imagined IDE and SSIS package viewer with one goal to allow a developer to get to any property, including a c# or vb.net script within a single click and one second.