# Customer Contract and Status Dimension Table
CREATE TABLE Dim_Cust_Contract_Status AS (
SELECT
ROW_NUMBER() OVER (ORDER BY K.Customer_ID) AS Customer_Contract_Status_SK,
K.Customer_ID,
K.Contract_GUID,
K.Contract_Start_Date,
NewerOlder