Old mac laptop with some code on it

Select a Range in MS SQL

Selecting a range from a table is easy in MYSQL. Say you want to bring back results that you are paginating. Bringing back thousands of results is inefficient and needless. MS SQL there isn’t a simple way of doing this. The best way I have found, or...View Article

Leave your thoughts
Old mac laptop with some code on it

Quick SQL Copy Table

Just a quick SQL tip that I have been using recently, and is aimed mainly at MS SQL, but I cant see any reason why this wouldn’t work on MY SQL, except for the fact the MY SQL has easier Backup facilities. The background for this is that I was makin...View Article

Leave your thoughts
Black Samsung Laptop sat on a window sill overlooking a street

SQL Custom Order

I recently had a problem while creating a list of players for a project. I needed to list them in a certain order based on their position. I knew there were only 4 possible positions, but wanted them returned in the order of GK, DEF, MID and STK. I...View Article

Leave your thoughts