To improve the performance of my ETL, I decided to use temporal table instead of a slowly changing dimension.
For my Employee dimension, I created a temporal table.Now I want to split data into partitions based on periods.
I already declared StartTimeV and EndTimeV (the created columns for my temporal tables) as system period start time and end time periods. I want to create a partition for my temporal table based on the period (StartTimeV and EndTimeV). Is it possible to make it with applying the DATE_DIFF function between the two columns to get partitions for each month of the year?