Difference between revisions of "Maria DB: show tables;"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
  
 +
 +
MariaDB [(none)]> show tables;
 +
ERROR 1046 (3D000): [[No database selected]]
  
 
== [[MariaDB]] ==
 
== [[MariaDB]] ==
Line 7: Line 10:
 
* <code>[[show table]] status where name = "YOUR_TABLE_NAME"</code> (Includes [[engine]] type)
 
* <code>[[show table]] status where name = "YOUR_TABLE_NAME"</code> (Includes [[engine]] type)
  
Size of MariaDB tables:
+
=== Size of MariaDB tables ===
  
 
  [[SELECT]]  
 
  [[SELECT]]  
Line 17: Line 20:
  
 
Ref: https://stackoverflow.com/questions/9620198/how-to-get-the-sizes-of-the-tables-of-a-mysql-database
 
Ref: https://stackoverflow.com/questions/9620198/how-to-get-the-sizes-of-the-tables-of-a-mysql-database
 
== [[MongoDB]] ==
 
* <code>show tables</code>
 
Related: <code>[[show collections]]</code>
 
 
== [[PostgreSQL]] ==
 
* <code>[[\dt]]</code>
 
* <code>[[\dt *.*]]</code>
 
* <code>SELECT * FROM [[pg_catalog]].[[pg_tables]];</code>
 
  
 
== Related terms ==
 
== Related terms ==
Line 31: Line 25:
 
* <code>[[create database]]</code>
 
* <code>[[create database]]</code>
 
* [[Databases: list tables]]
 
* [[Databases: list tables]]
 +
* [[List databases]]
  
 
== See also ==
 
== See also ==
 
* {{SQL}}
 
* {{SQL}}
 
* {{MariaDB}}
 
* {{MariaDB}}
* {{MongoDB}}
 
 
  
 
[[Category:MariaDB]]
 
[[Category:MariaDB]]

Latest revision as of 10:13, 16 December 2022

Advertising: