SQL Find Nth Occurrence of Char in a String
T-SQL’s CHARINDEX() function is useful for parsing out characters within a string. However, it only returns the first […]
T-SQL’s CHARINDEX() function is useful for parsing out characters within a string. However, it only returns the first […]
This post is about working with one column in a SQL Server table that contains a comma-separated list […]
This post is about combining the data from two tables by adding columns, not rows. Here we think […]
What is a table variable and when would you need to use it? A table variable is a […]
Do you have a table in SQL Server that has a column with a string that has several […]
In this post I’ll discuss how to parse a string in SQL Server so that you can move […]
In SQL Server, do you have a table with a column that has several values in it that […]
Some text files are so large that they become difficult to work with. For example, If you try […]
The Internet Movie Database (IMDB.com) is a large website containing information related to films, television programs, home videos, […]
Sometimes a column in a table has repeating values and you want to know what the list of […]
How many NULLs are there in a column? What would the SQL query be? For small tables you […]
You may have a need to count the number of duplicates in a column. Perhaps you want to […]