Search
 
SCRIPT & CODE EXAMPLE
 

SQL

postgresql how to show table names

SELECT table_name
  FROM information_schema.tables
 WHERE table_schema='public'
   AND table_type='BASE TABLE';
Comment

show table postgres command

PostgreSQL show tables command
	
dt
Comment

postgresql show tables

c database_name -> to select the database
dt -> to show the tables in the current database
Comment

show table details postgresql

d table
Comment

show details of table postgres

postgres=# d tablename;
Comment

how to check table in postgresql from terminal

SELECT *
FROM pg_catalog.pg_tables
WHERE schemaname != 'pg_catalog' AND 
    schemaname != 'information_schema';Code language: SQL (Structured Query Language) (sql)
Comment

postgresql show tables

SELECT *
FROM pg_catalog.pg_tables
WHERE schemaname != 'pg_catalog' AND 
    schemaname != 'information_schema';
Code language: SQL (Structured Query Language) (sql)
Comment

how to check table in postgresql from terminal

postgres=# dtCode language: PHP (php)
Comment

how to check table in postgresql from terminal

postgres=# dt+Code language: PHP (php)
Comment

PREVIOUS NEXT
Code Example
Sql :: SQL column name Oracle 
Sql :: create table mysql integer NOT null 
Sql :: create empty table from existing table 
Sql :: declare value in sql 
Sql :: SQLSTATE[01000]: Warning: 1265 Data truncated for column 
Sql :: Using GROUP BY in MySQL Join Table 
Sql :: oracle dynamic select into 
Sql :: how to declare a variable in sql 
Sql :: import data from csv to sql server 
Sql :: postgres how to add field created at 
Sql :: postgres create database if not exists 
Sql :: SQLITE_BUSY: database is locked 
Sql :: select into 
Sql :: pl sql case 
Sql :: postgresql concat string with separator 
Sql :: between vs in sql 
Sql :: alter column to not null with default value sql server 
Sql :: oracle show errors compilation 
Sql :: postgresql could not start server mac 
Sql :: how to import mysql database command line 
Sql :: oracle pl/sql package 
Sql :: bigquery current time 
Sql :: sql date function 
Sql :: postgresql select case insensitive 
Sql :: mysql server not running 
Sql :: alter table query in mysql 
Sql :: unique element in sql 
Sql :: mysql like 
Sql :: partition-by 
Sql :: create-table 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =