Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有一个 SQL 查询可以从 Teradata 数据库中获取所有时态表的列表?
临时表是否有任何特殊列来标识它们属于哪种类型的临时表?
dbc.tablesv 中有一个 TemporalProperty 列。
SELECT * FROM dbc.TablesV WHERE TemporalProperty <> 'N'
TemporalProperty 值(感谢@Dnoeth):
V: ValidTime T: TransactionTime B: BiTemporal N: Not Temporal