connect by
を使用できます prior + sys_guid()
を使用したクエリ トリック
select id,start_date + level - 1 as "date", field1 from t
connect by level <= end_date - start_date + 1
and prior id = id
and prior sys_guid() is not null;
デモ
connect by
を使用できます prior + sys_guid()
を使用したクエリ トリック
select id,start_date + level - 1 as "date", field1 from t
connect by level <= end_date - start_date + 1
and prior id = id
and prior sys_guid() is not null;
デモ