Tag Archives: Microsoft SQL Server
-
SQL Homework – September 2019 – Getting the data in
Leave a commentSeptember 2, 2019 by Kenneth Fisher
Everything else aside two of the most important tasks of a database are to get data in, and get data …
Continue reading -
Setting Trigger Order
Leave a commentAugust 26, 2019 by Kenneth Fisher
If you can help it you probably shouldn’t be using triggers. But if you have to use a trigger you …
Continue reading -
Why do DBAs dislike loops?
5August 22, 2019 by Kenneth Fisher
If you started out as a developer you were probably taught how important loops are. They are one of the …
Continue reading -
Constructing a datetime from an integer date and an integer time.
6August 15, 2019 by Kenneth Fisher
Occasionally I’ve seen date and time stored separately as integers. This had some practical applications back before we had date …
Continue reading -
Temporary stored procedures
Leave a commentAugust 7, 2019 by Kenneth Fisher
tl;dr; Temporary stored procedures are excellent for testing pieces of code that are going to go into (or come from) …
Continue reading -
SQL Homework – August 2019 – Getting the data out
Leave a commentAugust 5, 2019 by Kenneth Fisher
Everything else aside two of the most important tasks of a database are to get data in, and get data …
Continue reading -
Header Query Crossword
Leave a commentJuly 31, 2019 by Kenneth Fisher
I did an interesting form of crossword recently and since I haven’t done one in a while I figured this …
Continue reading -
Optional vs Required parameters in Stored Procedures
13July 29, 2019 by Kenneth Fisher
If you are executing a stored procedure with a bunch of parameters it can be a bit of a pain …
Continue reading -
Custom error messages
1July 24, 2019 by Kenneth Fisher
I’m sure lots of you have used the function RAISERROR to handle an error caused by your code. The problem …
Continue reading -
Current database vs database locks
2July 22, 2019 by Kenneth Fisher
I have a lot of co-workers who use sp_who and sp_who2 to see who’s in a given database. This is …
Continue reading





