Administrative MySQL Commands

 0    6 fiszek    sir
ściągnij mp3 drukuj graj sprawdź się
 
Pytanie Odpowiedź
This will be used to select a database in the MySQL workarea.
rozpocznij naukę
USE Databasename
Lists out the databases that are accessible by the MySQL DBMS.
rozpocznij naukę
SHOW DATABASES
Shows the tables in the database once a database has been selected with the use command.
rozpocznij naukę
SHOW TABLES
Shows the attributes, types of attributes, key information, whether NULL is permitted, defaults, and other information for a table.
rozpocznij naukę
SHOW COLUMNS FROM tablename
Presents the details of all indexes on the table, including the PRIMARY KEY.
rozpocznij naukę
SHOW INDEX FROM tablename
Reports details of the MySQL DBMS performance and statistics.
rozpocznij naukę
Reports details of the MySQL DBMS perfor po angielsku
SHOW TABLE STATUS LIKE tablename\G

Musisz się zalogować, by móc napisać komentarz.