Search
 
SCRIPT & CODE EXAMPLE
 

SQL

get all tables postgres

SELECT * FROM pg_catalog.pg_tables;
Comment

show all public tables postgres

SELECT *
FROM INFORMATION_SCHEMA.tables
where table_schema = 'public';
Comment

list all tables in postgres schema

dt schema_name.*
Comment

show all tables postgres

dt
# show list of tables in postgres
Comment

show table postgres command

PostgreSQL show tables command
	
dt
Comment

list all tables in postgres

c database_name

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

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

PREVIOUS NEXT
Code Example
Sql :: drop df constraint sql server 
Sql :: How to check event scheduler status mysql 
Sql :: login to mysql database 
Sql :: concat using laravel 
Sql :: renombrar tabla mysql 
Sql :: How do I modify a MySQL column to allow NULL? 
Sql :: apex set debug level 
Sql :: oracle nextval 
Sql :: How to convert DateTime to VarChar SQL 
Sql :: phpmyadmin change password 
Sql :: update query in sql server 
Sql :: spring where to put the data sql 
Sql :: select into temp table 
Sql :: create or replace view postgress 
Sql :: Postgresql get diff between two dates in Months 
Sql :: how to insert ip address in mysql using php 
Sql :: oracle case 
Sql :: change mysql version to 5.7 in ubuntu 
Sql :: mysql copy table to another table 
Sql :: SQL Server lock table example 
Sql :: sql sum by column 
Sql :: sql server case sensitive search 
Sql :: full sql mode 
Sql :: docker create postgresql database 
Sql :: how to check if a column is null in sql 
Sql :: version and edition of SQL Server Database Engine 
Sql :: import sql dump into postgresql database 
Sql :: json with root element in sql server 
Sql :: mysql delete database 
Sql :: division by zero postgres 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =