# -*- mode: snippet -*-
# name: List tables
# key: sqlListTablesAndViews
# --
-- Get a list of tables and views in the current database
SELECT table_catalog [database], table_schema [schema], table_name name, table_type type
FROM INFORMATION_SCHEMA.TABLES
GO
