Blog

Page 673 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How to get a list of column names on Sqlite3 database?

How to get a list of column names on Sqlite3 database?

Published on September 2, 2023

# How to Get a List of Column Names in Sqlite3 Database? šŸ“Š Are you planning to migrate your iPhone app to a new database version? Worried about not having certain column names saved? We've got you covered! In this blog post, we'll walk you through the co

Cover Image for How to delete duplicate rows in SQL Server?
duplicates

How to delete duplicate rows in SQL Server?

Published on September 2, 2023

# How to Delete Duplicate Rows in SQL Server? šŸ’„ Have you ever encountered a situation where your SQL Server table has duplicate rows and you're scratching your head trying to figure out how to remove them? 😫 Don't worry, we've got you covered! ## The P

Cover Image for Selecting COUNT(*) with DISTINCT

Selecting COUNT(*) with DISTINCT

Published on September 2, 2023

# Selecting COUNT(*) with DISTINCT: A Guide to Counting Distinct Program Names in SQL Server šŸ‘‹ Hey everyone! Welcome back to our tech blog. Today, we're going to dive into the common issue of counting distinct program names in SQL Server using `COUNT(*)`

Cover Image for What is the best way to paginate results in SQL Server
performance

What is the best way to paginate results in SQL Server

Published on September 2, 2023

šŸ“ **Blog Post: The Ultimate Guide to Paginate Results in SQL Server** šŸ‘‹ Hey there tech enthusiasts! Are you tired of searching for the best way to paginate results in SQL Server while also getting the total number of results? Look no further! In this bl

Cover Image for Best approach to remove time part of datetime in SQL Server
datedatetime

Best approach to remove time part of datetime in SQL Server

Published on September 2, 2023

# šŸ“ The Best Approach to Remove the Time Part of DateTime in SQL Server Are you tired of dealing with datetime fields in SQL Server that contain both a date and a time component? Do you need to remove the time portion and only work with the date? If so,

Cover Image for How to request a random row in SQL?
random

How to request a random row in SQL?

Published on September 2, 2023

# How to Request a Random Row in SQL: Unleash the Power of Chaos! šŸŽ² Have you ever found yourself in need of a truly random row from a database? Maybe you're building a game and need to pick a random player for a special event, or perhaps you just want to

Cover Image for UPDATE and REPLACE part of a string
replacestring

UPDATE and REPLACE part of a string

Published on September 2, 2023

# Updating and Replacing Part of a String: Easy Solutions šŸ“ Hey there, tech enthusiasts! šŸ‘‹ Are you struggling to update and replace part of a string in your database table? šŸ¤” Don't worry, we've got your back! In this blog post, we'll explore a common i

Cover Image for How to turn IDENTITY_INSERT on and off using SQL Server 2008?

How to turn IDENTITY_INSERT on and off using SQL Server 2008?

Published on September 2, 2023

# How to Turn IDENTITY_INSERT On and Off in SQL Server 2008 So, you're facing an error while trying to do an insert in SQL Server 2008, even when you have set `IDENTITY_INSERT` to `ON`. Frustrating, right? Don't worry, I've got your back! In this blog pos

Cover Image for OR is not supported with CASE Statement in SQL Server

OR is not supported with CASE Statement in SQL Server

Published on September 2, 2023

## šŸŽ‰šŸ”„ Breaking News: OR is Not Supported with CASE Statement in SQL Server! Here's What You Can Do šŸ”„šŸŽ‰ So you've stumbled upon the mysterious case of the unsupported OR operator in the WHEN clause of a CASE statement in SQL Server. Fear not, dear reade

Blog | Matheus Mello