how to check all the tables in sql code example Example: how to get all tables in sql SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE='BASE TABLE'