SQL Server Count DuplicatesYou may have a need to count the number of duplicates in a column. Perhaps you want to […] November 12, 2021 in SQL Server tagged count / duplicate / duplicates / SQL Count by Mike
Multiple Genres in Genres ColumnThis post discusses the code for a movie database that has a table with a list of genres […] November 10, 2021 in SQL Server tagged key / parse / foreign / movie / genre / genres / parsing / SQL Server Parsing by Mike
Atomicity of First Normal FormEdgar F. Codd’s definition of First Normal Form (1NF) makes reference to the concept of ‘atomicity’. Codd states […] November 10, 2021 in SQL Server tagged Atomicity by Mike
T-SQL Parse a String in a ColumnDo you have a column in your SQL Server database that contains a list of things separated by […] November 10, 2021 in SQL Server tagged replace / string / parse / split / normalize / parsename / reverse / Atomicity by Mike
Text to SQL ServerWhile this is part 5 of this series, this will be the most simple example. I will be […] November 8, 2021 in SQL Server tagged import / csv / insert / bulk / tab / delimited / tsv / SQL Server Import by Mike
SQL Server Set a Database Offline and OnlineDo you need to run a command in SSMS that sets a database to offline or online. You […] January 11, 2020 in SQL Server tagged off / on by Mike
Move SQL Server Database FilesDo you need to move one or more of your SQL Server database files? For example, are the […] January 11, 2020 in SQL Server tagged database / files / move / mdf / ldf by Mike
SQL Server Error 5123Are you trying to attach a database to SQL Server Management Studio and getting Error 5123? Are you […] February 17, 2019 in SQL Server tagged 5123 / attach / denied / database / error / security / access / SSMS / administrator / run by Mike
SQL Server InstallationAs of February 2019, the time of this writing, the current version of SQL Server is 2017. There […] February 16, 2019 in SQL Server tagged installation / 2017 / server / sql by Mike
SQL Server Access MethodsAs Microsoft says: “Generally, there are different methods for accessing the data in each table. If only a […] April 1, 2018 in SQL Server tagged engine / access / query / index / optimizer / scan / SQL Server Data Structures by Mike
SQL Server GapsWhat are gaps? Gaps and islands are classic challenges in T-SQL that involves a sequence of values. The […] April 1, 2018 in SQL Server tagged sequence / gap / gaps / lead by Mike
SQL Server HeapPreliminary Information A table can be organized one of two ways: heap or B-tree. If a table has […] April 1, 2018 in SQL Server tagged table / heap / b-tree / SQL Server Data Structures by Mike