How to Show a List of Databases in SQL
If you want to see a list of databases on your server, you can run commands to do this. Let’s see how you can do this in several different SQL vendors. Summary To show a list of databases in SQL you...
View ArticleSQL Cross Apply and Outer Apply: The Complete Guide
Have you heard of the SQL Cross Apply feature but have no idea what it does? Or are you familiar with how both Cross Apply and Outer Apply work but don’t know how they can work in the real world? Learn...
View ArticleHow to Set Up an Oracle Database on Docker
Docker can be used to run an Oracle database, which is a good way to run Oracle on a Mac or as an alternative on Windows. Learn how to set it up in this guide.
View ArticleHow to Set Up an SQL Server Database on Docker
Using Docker for an SQL Server database is one way to run the database. Learn how to set up an SQL Server Docker instance in this guide.
View Article116 Software Development Tools
As a software developer you'll use a range of tools to do your job. Here's a list of software development tools you may consider using.
View ArticleHow to Set Up the Sample Bookstore Database
In this post, you'll learn how to set up a sample database so you can practice your SQL queries. This database works on Oracle, SQL Server, MySQL, and PostgreSQL.
View ArticleComplex SQL Query Example – Daily Order Analysis
If you want to see how to write a complex query on an SQL database, this example will show you.
View ArticleSQL Developer Import CSV: How To
If you’re using SQL Developer, there may be a time where you want to import a CSV file into your Oracle database. SQL Developer includes a wizard that lets you import a file. Let’s see how to use it in...
View ArticleHow to Perform Bulk Insert in Oracle PL/SQL
If you’re working with PL/SQL code and processing multiple rows, there are two techniques you can use to improve the performance of your code. These techniques are BULK COLLECT and FORALL. In this...
View ArticleGitHub Tutorial for SQL Files
Do you want to, or need to, learn how to use GitHub for your SQL files? GitHub is a commonly-used service for application development. But it can also be used for your SQL scripts and other files used...
View ArticleFlyway DB Tutorial: How to Set Up Flyway
If you want to set up Flyway DB on your database, you’ve come to the right place. In this guide, you’ll learn: What Flyway is A step-by-step guide to setting it up on your database Create a couple of...
View ArticleSQL Server PIVOT and UNPIVOT Explained with Examples
In this article, you’ll learn: what the PIVOT feature is in SQL Server a few examples of using PIVOT how to use the UNPIVOT feature Sometimes you’ll need to pivot your data if it’s stored in a...
View ArticleMySQL Pivot: How To Generate a Pivot Table
Do you want to learn how to generate pivoted data or pivot tables in MySQL? In this article, you’ll learn: what the pivot concept is how to generate a pivot table in MySQL how to generate the column...
View ArticleUse mysqldump to Backup and Restore a MySQL Database
If you’re interested in the process to backup and restore a MySQL database, then mysqldump is the tool to use. In this guide, you’ll learn: what mysqldump is how to use it to backup your database in...
View ArticleHow to Change User Password in MySQL
Do you want to change a user’s password on a MySQL database? If so, then this guide is what you need. You’ll learn: a brief summary of the command how to use the command to change the user’s password...
View ArticleMySQL ENUM: The Ultimate Guide
The ENUM data type in MySQL is a helpful data type for specifying a valid range of values. In this guide, you’ll learn all about the MySQL ENUM feature, including: what the ENUM feature is how to use...
View ArticleA Guide to Oracle PDB (Pluggable Database) and CDB (Container Database)
If you’ve worked with Oracle databases recently, you may have heard of the terms “pluggable database” and “container database”. In this guide, you’ll learn: what these terms mean the benefits of this...
View ArticleHow to Handle Database Timezones
Working with timezones can be one of the hardest things in a database. In this guide, you’ll learn: Why timezones are hard to work with A rule that covers almost all situations An exception to this...
View ArticleMySQL Privileges The Ultimate Guide
Privileges in MySQL are an important part of the database. In this guide, you’ll learn: what privileges are and what they do the privileges that are available how to give and take privileges from...
View ArticleSolution for Homebrew PostgreSQL Service Not Starting
If you’re on a Mac and trying to run Postgres using Homebrew, you might have problems starting the service. In this post, I’ll explain the issue and the solution. Starting Postgres So you’ve installed...
View Article