centre of excellence for DBA's.Official website www.dbacentre.com
Pages
Home
CONTACT US
ABOUT US
MSSQL DBA
ORACLE DBA
Thursday, 7 September 2017
Retrives the data from INFORMATION_SCHEMA in MYSQL Database
Example of a statement that retrieves information from
INFORMATION_SCHEMA
:
MYSQL> SELECT TABLE_NAME, TABLE_TYPE, ENGINE
FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'DBACENTRE'
ORDER BY TABLE_NAME DESC;
Output:-
Older Posts
Home
Subscribe to:
Comments (Atom)
Popular Posts