spojna nazwa claim_status_sk

This commit is contained in:
Mariusz Sielski 2018-12-02 09:09:37 +01:00
parent 6c2a4b668f
commit 1d3bcc6efe

View File

@ -40,7 +40,7 @@ CREATE TABLE dim_countries (
DROP TABLE IF EXISTS dim_claim_statuses;
CREATE TABLE dim_claim_statuses (
status_sk INTEGER identity(1, 1) PRIMARY KEY,
claim_status_sk INTEGER identity(1, 1) PRIMARY KEY,
status_code VARCHAR(1) NOT NULL, -- A for Accepted, D for Declined, W for Waiting
status_description NVARCHAR(50)
);
@ -103,6 +103,5 @@ CREATE TABLE FT2_Registartion (
reimbursement_amountPercent smallint,
--tu obliczymy jako iloczyn price * reimbursement_amountPercent
reimbursement_amount decimal(9,2),
);
GO