Blog

Page 677 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Reset identity seed after deleting records in SQL Server

Reset identity seed after deleting records in SQL Server

Published on September 2, 2023

# How to Reset the Identity Seed After Deleting Records in SQL Server šŸ”„ Hey there fellow tech enthusiasts! Today, we're tackling a common issue faced by SQL Server users - resetting the identity seed after deleting records. šŸ—„ļø So, picture this: you've

Cover Image for SQL SELECT WHERE field contains words
contains

SQL SELECT WHERE field contains words

Published on September 2, 2023

# SQL SELECT WHERE field contains words: Easy Solution for All Your Queries šŸ˜ŽšŸ’” Are you struggling to find the perfect SQL query to search for specific words in a field? Look no further! We've got you covered with a simple solution to address this common

Cover Image for How can I do "insert if not exists" in MySQL?
mysql

How can I do "insert if not exists" in MySQL?

Published on September 2, 2023

# How to Do 'INSERT IF NOT EXISTS' in MySQL Are you struggling with inserting data into your MySQL table without duplicating existing records? Don't worry, I've got you covered! In this guide, I'll walk you through the process of performing an 'INSERT IF

Cover Image for INNER JOIN ON vs WHERE clause
joinmysql

INNER JOIN ON vs WHERE clause

Published on September 2, 2023

# INNER JOIN ON vs WHERE clause: Which one should you use in MySQL? šŸ¤” When it comes to combining data from multiple tables in MySQL, two commonly used methods are the `INNER JOIN ON` clause and the `WHERE` clause. But do they work the same way? Let's fin

Cover Image for Search text in stored procedure in SQL Server

Search text in stored procedure in SQL Server

Published on September 2, 2023

# šŸ“ Blog Post: How to Search Text in Stored Procedures in SQL Server Are you struggling to search for a specific text in your SQL Server stored procedures? šŸ¤” Don't worry, we've got you covered! In this guide, we'll address the common issue users face wh

Cover Image for How can I get column names from a table in SQL Server?

How can I get column names from a table in SQL Server?

Published on September 2, 2023

# How to Get Column Names from a Table in SQL Server? So, you want to know how to get the column names from a table in Microsoft SQL Server. Don't worry, I got you covered! šŸ™Œ ## The Query Journey Begins Let's start our SQL adventure by querying the nam

Cover Image for Join vs. sub-query
joinmysql

Join vs. sub-query

Published on September 2, 2023

\# Join vs. Sub-query: Choosing the Right SQL Technique šŸ”„ Are you confused about whether to use a `JOIN` or a sub-query in your SQL statements? Don't worry, you're not alone! Many developers face this dilemma when writing SQL queries. In this blog post,

Cover Image for Save PL/pgSQL output from PostgreSQL to a CSV file
csv

Save PL/pgSQL output from PostgreSQL to a CSV file

Published on September 2, 2023

# Saving PL/pgSQL Output from PostgreSQL to a CSV File: A Handy Guide šŸ˜ŽšŸ’¾ So, you're looking for a way to save your PL/pgSQL output from a PostgreSQL database to a CSV file? Look no further! We've got you covered with some easy solutions to this common c

Cover Image for Exclude a column using SELECT * [except columnA] FROM tableA?

Exclude a column using SELECT * [except columnA] FROM tableA?

Published on September 2, 2023

#### How to Exclude a Column from a SELECT Query in SQL <p>Have you ever found yourself in a situation where you needed to exclude a specific column from a SELECT query in SQL, but didn't want to manually specify all the other columns? You're not alone! I

Blog | Matheus Mello