Blog

Page 395 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for What are DDL and DML?

What are DDL and DML?

Published on September 2, 2023

# DDL and DML: Unraveling the Secrets of Databases and SQL ๐Ÿ˜Ž๐Ÿ’ป If you've ever delved into the realm of databases and SQL, you may have come across the terms DDL and DML. ๐Ÿค” These two acronyms serve as the foundations of database management systems, and u

Cover Image for how can I Update top 100 records in sql server

how can I Update top 100 records in sql server

Published on September 2, 2023

## ๐Ÿš€ How to Update the Top 100 Records in SQL Server Updating a specific number of records in SQL Server can be a bit tricky, especially when you want to update a specific number of rows based on a criteria, such as the top 100 records. Don't worry thoug

Cover Image for How to print a query string with parameter values when using Hibernate
hibernatejava

How to print a query string with parameter values when using Hibernate

Published on September 2, 2023

# ๐Ÿ–จ๏ธ How to Print a Query String with Parameter Values When Using Hibernate So, you're working with Hibernate and you want to print the SQL queries with real values instead of question marks? ๐Ÿค” Don't worry, we've got you covered! In this post, we'll exp

Cover Image for Test if string begins with a string?

Test if string begins with a string?

Published on September 2, 2023

๐Ÿ“ Test if string begins with a string? - VBA Edition! ๐Ÿงชโœจ Hey there tech-savvy readers! ๐Ÿ‘‹ Are you on a coding journey in VBA? ๐Ÿค“ Well, we've got a handy solution for you today! ๐ŸŽ‰ In this blog post, we'll dive into the world of testing if a string begin

Cover Image for updating table rows in postgres using subquery

updating table rows in postgres using subquery

Published on September 2, 2023

๐Ÿ“ Updating Table Rows in Postgres Using Subquery: A Complete Guide ๐Ÿ”„ Hey there! ๐Ÿ‘‹ Are you struggling to update table rows in Postgres using a subquery? Don't worry, we've got your back! In this blog post, we'll walk you through common issues and provid

Cover Image for When to use "ON UPDATE CASCADE"

When to use "ON UPDATE CASCADE"

Published on September 2, 2023

# When to Use "ON UPDATE CASCADE" ๐Ÿ”„ ๐Ÿ‘‹ Hey there, tech enthusiasts and database aficionados! Today, let's dive into one of the lesser-known features of database design: the `ON UPDATE CASCADE` option. ๐ŸŒŠ ๐Ÿ’ก Before we get started, let's quickly recap wha

Cover Image for How to convert java.util.Date to java.sql.Date?
datedatetimejava

How to convert java.util.Date to java.sql.Date?

Published on September 2, 2023

# How to Convert java.util.Date to java.sql.Date? ๐Ÿ’ป๐Ÿ“… So, you want to convert a `java.util.Date` to a `java.sql.Date`, huh? Don't worry, my friend, I got you covered! ๐Ÿ˜Ž ## The Problem ๐Ÿ˜ฉ You may have encountered a situation where you have a `java.util

Cover Image for SQL MAX of multiple columns?

SQL MAX of multiple columns?

Published on September 2, 2023

# ๐Ÿ“œ SQL MAX of multiple columns: Easy solutions for returning the most recent values ๐Ÿ“Š So you've come across a problem where you need to return the maximum value from multiple columns in a SQL query. It seems tricky at first, but fear not! We have some

Cover Image for What is an index in SQL?
indexing

What is an index in SQL?

Published on September 2, 2023

## What is an index in SQL? ๐Ÿค” ๐Ÿ‘‹ Hey there, tech enthusiasts! Today, we're diving into the fascinating world of SQL and demystifying the concept of indexes. Have you ever wondered what indexes are and when it's appropriate to use them? Well, you've come

Blog | Matheus Mello