On the Lambda

Programming, Technology, and Systems Administration

On the Lambda

Entries Tagged as 'networking'

Improving Readability of Complex Nested SQL

March 8th, 2023 · No Comments · development, sql, Sql Server, stackoverflow

Can you believe SQL is nearly 50 years old? Not many programming languages have that kind of longevity. For much of that time, common convention for the language has been to list the keywords in ALL CAPS: SELECT column FROM table WHERE predicate This convention dates back a long way, and is not followed as […]

[Read more →]

Tags:

What you need to know about (nolock)

February 7th, 2023 · No Comments · development, sql, Sql Server

I sometimes see SQL posted online using a (nolock) query hint. If you’re inclined to use this hint, you should know it probably doesn’t accomplishing the benefit you hope for. It’s not an automatic “go faster” option. In fact, if such an option existed you can be sure it would be already enabled. Yes, (nolock) […]

[Read more →]

Tags:

Let’s Make a Single Statement Mode for ADO.NET

September 5th, 2022 · No Comments · .net, security, sql, Sql Server, stackoverflow

One of the issues I see often in code on Stack Overflow is SQL injection. I still typically answer multiple questions per week that include, along with the rest of answer, some form of the text, “This is scary-vulnerable to SQL injection issues.” This is a “Really Big Deal”™. It’s one of about three things […]

[Read more →]

Tags:

SQL and Dates

July 13th, 2022 · No Comments · development, sql, Sql Server

I want to clear up a few common issues I often see related to date values in SQL. Column Types The first of these is storing dates in a string column type, like varchar or nvarchar. Schemas that do this need to be fixed, because they really are broken. When you do this, you don’t […]

[Read more →]

Tags:·

What’s up with MySql

May 4th, 2022 · No Comments · development, servers, sql

Historically, when one considers database server platforms there are four major players: Oracle, MySql, Sql Server, and Postgresql. (One could argue for Sqlite and even Access, but those are in-process engines and really belong in a different category.) Unfortunately, I question whether MySql still belongs with this group. It’s come to the point where I […]

[Read more →]

Tags:

SQL vs NoSql

April 29th, 2022 · No Comments · development, sql, Sql Server

If you’ve heard of NoSql, maybe you wonder what it is and how it compares to a traditional SQL database. Let’s take a look. SQL databases store well-structured data using known schemas. They require rigid adherence to a set of design principles, but provide amazing power if you can learn those principles and the associated […]

[Read more →]

Tags:

Using Flash in the Browser post-2021

January 21st, 2021 · No Comments · IT News, networking, security, Windows

Think Flash is dead? Think again. I present you a method to run Flash in a variant of Google Chrome in 2021.

[Read more →]

Tags:

Certificate Authentication in SQL Server

November 23rd, 2020 · No Comments · development, networking, security, sql, Sql Server

I sometimes see questions asking how to do certificate authentication in SQL Server. Contrary to what you may have heard, SQL Server does indeed have support for certificate authentication. It just looks a little different from how some other database products do it. Instead, SQL Server’s equivalent option is the Integrated Security feature. It works like this…

[Read more →]

Tags:

Tracking through Lightspeed: Complexity vs Reliability

December 18th, 2017 · No Comments · networking, non-computer, servers

If you haven’t yet seen “The Last Jedi” and don’t want part of it spoiled, you may want to give this one a pass. I’m going to focus on how a scene from the movie relates to current technology. In the “The Last Jedi”, part of the plot revolves around trying to shut down a […]

[Read more →]

Tags:

Supporting Outlook with G Suite

May 4th, 2017 · No Comments · IT News, networking, security

Where I’m at, we use Google Apps (G Suite) for e-mail, but still rely on Active Directory for individual accounts and use MS Office rather than Google Docs most of the time. One situation to come up in the last few years is Google no longer supports MS Outlook out of the box. If you […]

[Read more →]

Tags: