INFORMATICS

The Best

Przełącznik języka

Zaproś mnie na KAWE

Jeżeli podoba Ci się strona i chcesz wspomóc projekt!

Postaw mi kawę na buycoffee.to

This Site

Płatnik

CMS

Hardware

Uncategorised

Emulators

Powershell

Storage Array

DNS

Antivirus program

Licznik

3.png5.png1.png7.png7.png3.png3.png
Today121
Yesterday988
This week10456
This month16323
Total3517733

Visitor Info

  • IP: 10.1.241.191
  • Browser: Unknown
  • Browser Version:
  • Operating System: Unknown

Who Is Online

16
Online

niedziela, 15 marzec 2026 03:23

Database SQL Prompt

Gwiazdka nieaktywnaGwiazdka nieaktywnaGwiazdka nieaktywnaGwiazdka nieaktywnaGwiazdka nieaktywna
 

Database SQL Prompt

Assume you have already launched your PostgreSQL client and you have landed at the following SQL prompt −

postgres=#

You can check the available database list using \l, i.e., backslash el command as follows −

postgres-# \l

OS Command Prompt

You can select your database from the command prompt itself at the time when you login to your database. Following is a simple example −

psql -h localhost -p 5432 -U postgress testdb

Search