How do you create a data base with postgreSQL?

Answer Posted / madhub

Creating a database is the primary step in creating a database. A command

$createdb newdatabasedb

CREATE DATABASE

This creates a new database and a message displays CREATE DATABASE which indicates that the creation of the database was successful.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does edb stand for?

749


Why foreign key constraint is important?

579


Is postgresql better than mongodb?

614


Is postgresql faster than mysql?

602


How to get current date in postgresql?

644


Is postgresql secure?

616


What is postgresql dba?

609


What does truncate table do?

553


How to view tables in a database in postgresql?

578


What is the port 5432?

620


How do I start postgresql?

606


How do you run a query in pgadmin 3?

532


What is use of postgresql?

549


What command do you type to exit the postgresql console application?

575


PostgreSql Disadvantages

1627