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.png1.png3.png0.png4.png5.png6.png
Today707
Yesterday890
This week7805
This month27669
Total3130456

Visitor Info

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

Who Is Online

9
Online

piątek, 28 luty 2025 12:45

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