Category Archives: SQLServerPedia Syndication
-
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 -
When Have You Used MOT Tables? T-SQL Tuesday #117
6August 13, 2019 by Kenneth Fisher
Steve Jones (b/t) is our host for T-SQL Tuesday and in case you didn’t know has taken over running T-SQL …
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 -
Is it just me or does msdb feel a lot like a user database?
Leave a commentJuly 17, 2019 by Kenneth Fisher
When you think of system databases, tables, etc there are a number of things you might think of. Necessary to …
Continue reading





