This site is a test bed for everything I learn and is mostly for my own benefit. As such it may be down from time to time and is subject to frequent changes.
Thought of the day: Work smarter, not harder.
Recent Blog Entries
Published: Oct 18, 2022
We can implement a SQL Server equivalent of MySQL/MariaDB's "INSERT IGNORE" using MERGE INTO as follows... ...more
Published: Oct 11, 2022
Using the INSERT IGNORE statement you can easily manage reference table's data using re-runnable sql scripts. ...more
Published: Apr 12, 2022
Whenever I switch to ubuntu from windows on my dual boot system I get an error that the superblock is corrupt and I cannot load ubuntu until I fix the corruption using the command line. The issue appears to be windows messing from the ext4 partition. ...more
Published: Apr 6, 2021
Restoring a SQL Server database to a new server with a different file system structure can result in a Directory Lookup error since SQL Server makes assumptions about file locations. Fortunately there is a simple solution by using 'WITH MOVE' ...more