Drop Database PSQL

drop database psql list database using \l command

A developer on a client’s team opened two terminal tabs, one for staging and one for production. He meant to clean up an old test copy, typed the command in the wrong tab, and pressed Enter. Within a second, a production database with eight months of order history was gone. The team had backups, but … Read more >>

How to Set a User Password in PostgreSQL (Create, Change, Reset)

PostgreSQL set user password with ALTER ROLE and a psql login test

A new analyst needs a PostgreSQL login, an app password is due for rotation, or nobody remembers the postgres password. Each case comes down to how you set a user password, and it’s one statement. Quick answer: run ALTER ROLE user_name WITH PASSWORD ‘new_password’; as a superuser or a CREATEROLE role. To create the user … Read more >>

PostgreSQL installation on Linux step by step

PostgreSQL Installation on Linux Install PostgreSQL

In this PostgreSQL tutorial, we will learn about “PostgreSQL Installation on Linux” with how to solve the error when installing PostgreSQL. Additionally, we will delve into the steps to create a new user, and database, and grant privileges within PostgreSQL. Step 1: Update the System Packages Before installing any new software, it’s essential to update … Read more >>

How to Download and Install PostgreSQL on Windows

PostgreSQL Installation on Windows Download Installing

In this PostgreSQL tutorial, we are diving into the realm of database management by demonstrating how to install PostgreSQL on a Windows operating system. Download and Install PostgreSQL on Windows To download and install PostgreSQL on Windows, follow the below steps. Step 1: Download PostgreSQL From the official PostgreSQL website, first download the Windows installer. … Read more >>

PostgreSQL Subquery with Examples

PostgreSQL Subquery

In this PostgreSQL tutorial, we will study the usage of the PostgreSQL subquery that will allow us to create queries within the query. And we are going to discuss the following list of topics. PostgreSQL subquery In PostgreSQL, A query is a question or a request for information expressed. A subquery is a query within … Read more >>

What is MariaDB Used For

what is mariadb used for

MariaDB has evolved from a simple “alternative” into a powerhouse of modern data management. In this guide, I’m going to walk you through exactly what MariaDB is used for, why it’s outperforming its predecessors, etc. What is MariaDB Used For What is MariaDB? MariaDB is an open-source Relational Database Management System (RDBMS). It was created … Read more >>

How to use Maria DB

How to use Maria DB

Choosing the right relational database management system (RDBMS) is a critical decision for any tech-driven enterprise. MariaDB has emerged as the high-performance, community-driven alternative that many of us in the industry now prefer. In this article, I’m going to guide you through the essentials of using MariaDB, from installation to advanced administration. How to use … Read more >>

How to Install SQL Server Management Studio [SSMS]

SQL Server Express Edition

In this tutorial, I will explain how to install SQL Server Management Studio. As a beginner, you must have knowledge about what are the procedures to install SQL Server Management Studio. After completing this tutorial, you will be ready to install the SQL Server Management Studio on any platform. SQL Server Management Studio Before getting … Read more >>