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

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{lowercase}}
+
 
 +
 
 +
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>SELECT * FROM [[pg_catalog]].[[pg_tables]];</code>
 
  
 
== Related terms ==
 
== Related terms ==
 
* <code>[[create table]]</code>
 
* <code>[[create table]]</code>
 
* <code>[[create database]]</code>
 
* <code>[[create database]]</code>
* {{TOC operation databases}}
+
* [[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: