Quantcast
Browsing all 85 articles
Browse latest View live

MySQL Create User and Grant Permissions: How To

If you work with MySQL, there will be a point when you’ll need to create a new user. This could be for another part of the system or another developer on your team. Or perhaps you want to use a user...

View Article


SQL Rename Table: How To with Examples

Once you create a table in SQL, you may want to rename it. This might happen if you are creating a new table to replace it, or have come up with a better name for it. In this article, you’ll learn the...

View Article


How to Reset IDENTITY Column Values in SQL Server

Do you want to reset an identity column in your table in SQL Server so the numbers are in order? And you want to do it without recreating the table? In this article, I’ll show you how you can do this,...

View Article

MySQL Drop All Tables: How-To With Examples

There may come a time when you need to drop all tables in a MySQL database. In this article, you’ll learn how to do that easily, both using an SQL command an inside an IDE such as MySQL Workbench....

View Article

Dynamic SQL: A Guide for SQL Server, Oracle, MySQL, and PostgreSQL

Dynamic SQL is a handy feature of a database that lets you construct SQL statements in a different way. In this guide, you’ll learn: what dynamic SQL is see several examples in SQL Server, Oracle,...

View Article


SQL Server ROW_NUMBER SQL Function

In this guide, you’ll learn all about the ROW_NUMBER function in SQL Server.   What is the SQL ROW_NUMBER Function? The ROW_NUMBER function in SQL Server is a function that adds a unique incrementing...

View Article

81 Best Books for Programmers

View Article

17 Sites for SQL Practice

Are you looking for places to practice SQL online? This list contains many different websites that have SQL practice functionality.   SQL Practice Websites Each of these websites allow you to practice...

View Article


How to Import a CSV using MySQL Workbench

Are you working on a MySQL database and need to import CSV data? I’ll show you how to do this in MySQL Workbench in this guide.   Prerequisites To use the MySQL Workbench import CSV process, you’ll...

View Article


How to Save MySQL Query Output to a File

Do you need to save your results from a MySQL query to a CSV or text file? It’s easy to do in MySQL. You can do this using an IDE or the command line, using a built-in MySQL command. Let’s take a look....

View Article

27 Software Developers Share Database Advice

Software developers are one of the main groups of people who work with databases. Recently, I asked a range of software developer blog owners to share their advice for working with databases. I asked...

View Article

Hierarchical Data in SQL: The Ultimate Guide

View Article

How to Fix Slow SQL Queries

Do you have a slow SQL query? If so, you’re in the right place. In this article, you’ll learn a range of reasons why a SQL query may be slow and how to fix them. There may be a few things you can...

View Article


Ultimate Guide to the SQL Execution Plan

If you’ve looked into SQL performance at all online, you’ve probably heard of something called an “SQL execution plan”. Or maybe you’ve heard it called a “query plan” or “explain plan”. What is it, why...

View Article

SQL Best Practices and Style Guide

SQL is a common language to learn when working with software. But once you learn the basics, you’ve probably got a lot of questions about different ways to do things. How should I format my code? Which...

View Article


JSON in MySQL: The Ultimate Guide

MySQL has quite a few features for storing and working with JSON data. In this guide, you’ll learn: What JSON is and why you might want to use it Creating a table with a JSON field How to add, read,...

View Article

The Complete Guide to Asynchronous Communication for Improving and Replacing...

View Article


SQL Show Tables: List All Tables in a Database

Do you need to get a list of all the tables in your SQL database? Learn how to do this in several different database vendors in this guide.   SQL Show Tables Sometimes you need to get a list of tables...

View Article

JSON in PostgreSQL: The Ultimate Guide

PostgreSQL has quite a lot of features for storing and working with JSON data. In this guide, you’ll learn: What JSON is and why you might want to use it Creating a table to store JSON data How to add,...

View Article

SQL Drop Database Command

Sometimes you’ll need to delete a database or drop a database in SQL. There’s a command to do this in SQL. Let’s see how you can do this in different databases.   Dropping a Database Deleting a...

View Article
Browsing all 85 articles
Browse latest View live