Quantcast
Channel: programming – Refactoring Self
Browsing all 15 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

SQL Server Null Values ~ Into the Void (pun intended)

Null values can get some people rather confused writing queries. I hope I can shed some light on that. By default, SQL Server uses ANSI Nulls. This behavior says that any value compared to null is not...

View Article



Image may be NSFW.
Clik here to view.

SQL Server Reporting Services ~ Cascading/Dependant Parameters

This is my first screencast, enjoy!

View Article

Image may be NSFW.
Clik here to view.

Mozilla is Alienating Businesses and Education with Firefox

Downside of Firefox Firefox has been really destroying its chances of being deployed to organizations. Why is that you might ask? Well Firefox was used widely back in the version 3.xx but now, they are...

View Article

Image may be NSFW.
Clik here to view.

Powershell Retrieving Remote System Time

Compare Local Date and Time to a Remote Computer This is a rather interesting problem. I was doing a comparison between an audit table and a trace for SQL Server, which was proving to be dificult as I...

View Article

Image may be NSFW.
Clik here to view.

Visual Basic 2010 Object and List Initialization

I just found this out and I am really excited about it! The With & From are cooler than ever! Check this out: Module Module1 Private Class TestClass Public Property Subject As String Public...

View Article


Image may be NSFW.
Clik here to view.

Powershell ~ Shorten Shortcut Names

Renaming Files Here is something I just came up with. It is a really short Powershell one-liner to remove the annoying ‘- Shortcut’ from your shortcuts. dir “*- Shortcut*” | foreach{ren -Path $_.Name...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Delete From vs. Truncate Table

There are some very important distinctions between these that I feel I need to explain. Delete From First and foremost delete is used for deleting a limited number of rows from a table. This is not to...

View Article

Image may be NSFW.
Clik here to view.

SQL Server – Searching for Non-Alphanumeric characters Using Like

All I can say is I have never really needed to search for a percent sign or square brackets or a caret in a query until today. GooBling (Googling and Binging) didn’t return any useful results. Of...

View Article


Image may be NSFW.
Clik here to view.

Finding All The Logins Not Associated to Database Users

Today I ran into a particular issue, consolidating user accounts. In this particular exercise, I needed to remove old user accounts that were not tied to any databases. Here is a neat trick I did to...

View Article


Image may be NSFW.
Clik here to view.

Powershell – Copyrighting made easy

I recently needed to submit a program I’m working on for a copyright. One of the criteria is the first and last 25 pages of the program need to be submitted. I really didn’t want to go into every...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Delete From vs. Truncate Table

There are some very important distinctions between these that I feel I need to explain. Delete From First and foremost delete is used for deleting a limited number of rows from a table. This is not to...

View Article

Image may be NSFW.
Clik here to view.

Mocking in Python

An Introduction to Mocking in Python by Naftuli Tzvi Kay This article is very insightful for covering mocking in Python.  In case you don’t know mocking is a technique for testing where you don’t want...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Performance Tuning For Developers

Chances are if you are reading this, you are a software developer.  Relax, I am one too, as well as a database administrator.  I spend a lot of time helping people to write code that is efficient or...

View Article


Image may be NSFW.
Clik here to view.

Great Primer for Threading Basics in .Net

I stumbled across this article from one of my LinkedIn friends,  Threads in C# It answered one of my questions about thread pooling in a very concise, easy to understand fashion.  It is a short...

View Article

Image may be NSFW.
Clik here to view.

I’m writing again! Where have I been?

Written By: John Glasgow For those of you following my blog, I have not written in some time.  This is because, like many things, time has significantly changed my priorities. I find it fitting that...

View Article

Browsing all 15 articles
Browse latest View live


Latest Images