About 430,000 results
Open links in new tab
  1. PostgreSQL: Documentation: 17: CREATE DATABASE

    Feb 20, 2025 · To create a database, you must be a superuser or have the special CREATEDB privilege. See CREATE ROLE. By default, the new database will be created by cloning the standard system database template1. A different template …

  2. Create database from command line in PostgreSQL

    Mar 19, 2019 · To create a database from psql, use the create database statement like so: create database [databasename]; Note: be sure to always end your SQL statements with ;

  3. How to Create a Database in PostgreSQL: Your Simple Step-by …

    Sep 22, 2023 · Discover the step-by-step guide to creating a database in PostgreSQL. This comprehensive article dives into the essentials of PostgreSQL database creation, equipping you with the knowledge and tools needed for successful implementation.

  4. PostgreSQL - Create Database - GeeksforGeeks

    Oct 17, 2024 · In this article, we will explain various methods of creating a database in PostgreSQL, including using the psql shell and pgAdmin. This article will also cover important points about database settings, encoding, collation, and connection limits.

  5. Create Database in PostgreSQL using psql and pgAdmin

    PostgreSQL database can be created using psql (SQL Shell) and pgAdmin. Use the CREATE DATABASE command in psql to create a new database in PostgreSQL. Let's create the 'HR' database in psql. Now, we can check whether the database is created or not by using \l command which will display the list of databases on the server.

  6. PostgreSQL: Documentation: 17: 22.2. Creating a Database

    Feb 20, 2025 · In order to create a database, the PostgreSQL server must be up and running (see Section 18.3). Databases are created with the SQL command CREATE DATABASE: where name follows the usual rules for SQL identifiers. The current role automatically becomes the owner of the new database.

  7. PostgreSQL CREATE DATABASE Statement - PostgreSQL Tutorial

    Feb 16, 2024 · This tutorial shows you how to use the PostgreSQL CREATE DATABASE statement to create new databases with various options.

  8. Create a Database in PostgreSQL (Step-By-Step Guide)

    Jan 7, 2025 · PostgreSQL is one solution to create an efficient data management system. Known for its advanced and rich features, scalability, reliability, and performance, PostgreSQL stands out as one of the best database systems. There are several requirements: Have a basic understanding of SQL queries and database structures.

  9. PostgreSQL Create Database: A Beginner's Tutorial - SOS-Admins

    Feb 17, 2025 · One of the first steps you’ll take is to learn how to PostgreSQL create database. Think of a database as a meticulously organized digital filing cabinet where you can store and manage all your valuable information.

  10. PostgreSQL/Postgres Create Database: How to Create Example

    Sep 26, 2024 · Step 1) In the Object Tree, right click and select create a database to Postgres create database. Step 2) In the pop-up, Step 3) DB is created and shown in the Object tree. Step 4) The right pane gives you the SQL used to create the Database. Here is complete Syntax to create a DB in PostgreSQL.

  11. Some results have been removed
Refresh