Blog

Page 387 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How do I test if optional arguments are supplied or not?
argumentsfunction

How do I test if optional arguments are supplied or not?

Published on September 2, 2023

# Testing Optional Arguments in VB6 / VBA ๐Ÿงช Have you ever encountered the dreaded run-time error 424 "object required" when testing if optional arguments were supplied in VB6 / VBA? Fear not! In this guide, we'll explore solutions to this common issue an

Cover Image for How do I see active SQL Server connections?

How do I see active SQL Server connections?

Published on September 2, 2023

# How to Spy on Active SQL Server Connections ๐Ÿ‘€ So, you want to dive into the world of detective work and find out who's lurking around your SQL Server? ๐Ÿค” Fear not, my tech-savvy friend, for I have just the guide for you! In this blog post, we will addr

Cover Image for SQL Server - stop or break execution of a SQL script
exit

SQL Server - stop or break execution of a SQL script

Published on September 2, 2023

# How to Immediately Stop Execution of a SQL Script in SQL Server ๐Ÿšซ Have you ever found yourself in a situation where you need to stop the execution of a SQL script in SQL Server? ๐Ÿค” Whether it's due to validations or lookups failing, sometimes you just

Cover Image for How can I make SQL case sensitive string comparison on MySQL?
mysql

How can I make SQL case sensitive string comparison on MySQL?

Published on September 2, 2023

# Making SQL Case Sensitive String Comparison on MySQL ๐Ÿ˜Ž Hey there, tech enthusiasts! Welcome back to my tech blog ๐Ÿ“, where we tackle tough problems and find easy solutions! Today we have a juicy question from one of our readers: "How can I make MySQL s

Cover Image for Combining "LIKE" and "IN" for SQL Server

Combining "LIKE" and "IN" for SQL Server

Published on September 2, 2023

๐Ÿ”๐Ÿ’ป Combining "LIKE" and "IN" for SQL Server ๐ŸŽฏโ“ Are you looking to level up your SQL Server querying skills? ๐Ÿš€๐Ÿ“Š Well, we've got an interesting question for you today! ๐Ÿ˜ฎ๐Ÿค” Is it possible to combine the powerful "LIKE" operator with the versatile "IN"

Cover Image for Find records from one table which don"t exist in another
mysql

Find records from one table which don"t exist in another

Published on September 2, 2023

๐Ÿ“๐Ÿ“ฑโœจHow to Find Records from One Table that Don't Exist in Anotherโœจ๐Ÿ“ฑ๐Ÿ“ Have you ever struggled with finding records in one table that don't exist in another? ๐Ÿ˜ซ It can be a common issue, especially when dealing with database queries. But worry not! In t

Cover Image for Reset auto increment counter in postgres

Reset auto increment counter in postgres

Published on September 2, 2023

# ๐Ÿ”„ Resetting the Auto Increment Counter in Postgres If you're working with a table in Postgres and need to reset the auto increment counter, you might have encountered errors or confusion when trying to accomplish this. In this post, we'll address commo

Cover Image for Convert INT to VARCHAR SQL
type-conversion

Convert INT to VARCHAR SQL

Published on September 2, 2023

๐Ÿ“ **Title: How to Convert INT to VARCHAR in SQL - A Simple Solution** โœจ**Introduction:** Have you encountered a situation where you needed to convert an integer (INT) to a string (VARCHAR) in SQL? Fear not, as we have all the answers you need! In this bl

Cover Image for What datatype to use when storing latitude and longitude data in SQL databases?

What datatype to use when storing latitude and longitude data in SQL databases?

Published on September 2, 2023

๐ŸŒ๐Ÿ—บ๏ธ๐Ÿ“Š What Datatype Should You Use to Store Latitude and Longitude Data in SQL Databases? ๐ŸŒ๐Ÿ“ˆ ๐Ÿ” Are you working with geolocation data and scratching your head on which datatype to use for storing latitude and longitude in your SQL database? ๐Ÿค” Fear no

Blog | Matheus Mello