For When You Can't Have The Real Thing
[ start | index | login ]
start > MySQL > Database Information

Database Information

Created by dave. Last edited by dave, 20 days ago. Viewed 54 times. #1
[edit] [rdf]
labels
attachments
(2019-02-28)

List tables in a database

SHOW TABLES

List columns in a table

SHOW COLUMNS FROM mytable FROM mydb;
SHOW COLUMNS FROM mydb.mytable;
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt