テーブルのリストがあります:
select tableList
from information_schema.tables
これらの各テーブルには挿入日があります。これらの各テーブルの max(insertdate) を取得し、そのすぐ隣に挿入日を配置します。
Column1 Column2
table1 MaxInsertDateTable1
table2 MaxInsertDateTable2
table3 MaxInsertDateTable3
table4 MaxInsertDateTable4
これを行う方法はありますか?MPP データベースを使用しています。