forked from s26450/hurtownia
spojna nazwa claim_status_sk
This commit is contained in:
parent
6c2a4b668f
commit
1d3bcc6efe
@ -40,7 +40,7 @@ CREATE TABLE dim_countries (
|
|||||||
|
|
||||||
DROP TABLE IF EXISTS dim_claim_statuses;
|
DROP TABLE IF EXISTS dim_claim_statuses;
|
||||||
CREATE TABLE 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_code VARCHAR(1) NOT NULL, -- A for Accepted, D for Declined, W for Waiting
|
||||||
status_description NVARCHAR(50)
|
status_description NVARCHAR(50)
|
||||||
);
|
);
|
||||||
@ -103,6 +103,5 @@ CREATE TABLE FT2_Registartion (
|
|||||||
reimbursement_amountPercent smallint,
|
reimbursement_amountPercent smallint,
|
||||||
--tu obliczymy jako iloczyn price * reimbursement_amountPercent
|
--tu obliczymy jako iloczyn price * reimbursement_amountPercent
|
||||||
reimbursement_amount decimal(9,2),
|
reimbursement_amount decimal(9,2),
|
||||||
|
|
||||||
);
|
);
|
||||||
GO
|
GO
|
Loading…
Reference in New Issue
Block a user