SQL and Databases

Database systems such as SQL/Server are getting an immense set of features these days, to the point where its impossible to be an expert in all areas. However a lot of the basics are similar to what they were 20 years ago. These basics are an area where a lot of software companies get it […]

Quite a few years ago stored procedures were very common. With the advent of ORM (object relational mappers) and TDD (test driven design), they are less common. Well what might be termed “misuse” of views and stored procedures is. I have worked on some systems where the majority of the data access logic and business […]

I was speaking with one of the people I am mentoring at the moment, and he turned round and said “You are clever, you always know the answer, even if you have to work it out”, to which I replied “I’m not clever, I’m just old and I know to keep up”. This was in […]

Following on from my recent post on the subject, I was unhappy with the conclusion of that post, because while I was offering many ways to solve the problem, I wasn’t happy with the code. Connecting to a database should be simple? Well to be fair to Sql/Server it is, but there are numerous ways […]

I had a problem with a C# Winforms application recently that uses EF and some ADO.NET code to access SQL/Server. The customer wanted to use Active Directory to set up the users for this system. There are two ways of doing this: Define the AD users in SQL Server Management Studio (SSMS), assigning these to […]

I came across an interesting problem this week. The requirement was to get row counts from two different tables and return these on the same row. The tables had a common column, lets call it category. The first thought was to use GROUP BY in T-SQL, but there is a problem with this:

The […]

Top Posts & Pages

Categories

Recent Posts

Recent Comments

Archives

Blogroll

  • Mike Cohn's Blog
  • Scott Hanselman's Blog
- mike@mountaingoatsoftware.com

Telling a stakeholder you can’t work on their feature is difficult. Here are ways to make that conve [...]

- mike@mountaingoatsoftware.com

There are things leaders can do that will influence how a team self organizes. [...]

- mike@mountaingoatsoftware.com

Want to become an even better Scrum Master? Follow these 10 easy-to-remember practices. [...]

- mike@mountaingoatsoftware.com

Product owners often sacrifice progress toward important goals to put out short-term fires. There’s [...]

- mike@mountaingoatsoftware.com

Agile team leaders often need to gauge or achieve consensus. Learn four of the best ways of doing th [...]

- Scott Hanselman

When I moved my podcast site over to ASP.NET Core 2.1 I also started using HttpClientFactory and wro [...]

- Scott Hanselman

I saw a tweet from a person on Twitter who wanted to know the easiest and cheapest way to get an Web [...]

- Scott Hanselman

Last week I blogged about some new audio features in Windows 10 that make switching your inputs and [...]

- Scott Hanselman

Open source ASP.NET Core 2.1 is out, and Architect David Fowler took to twitter to share some hidden [...]

- Scott Hanselman

What's a Carriage and why is it Returning? Carriage Return Line Feed WHAT DOES IT ALL MEAN!?! T [...]

Meta