Sql server how get tables in database code example Example: get tables in database sql SELECT * FROM INFORMATION_SCHEMA.TABLES;