📜  如何在 sql 代码示例中查看与模式关联的表

📅  最后修改于: 2022-03-11 15:05:20.136000             🧑  作者: Mango

代码示例2
select schema_name(t.schema_id) as schema_name,
       t.name as table_name,
       t.create_date,
       t.modify_date
from sys.tables t
where schema_name(t.schema_id) = 'Production' -- put schema name here
order by table_name;